JSI Tip 6239. How do I prevent conflicts when a user logs off and their home folder contains the roaming profile?

Jerold Schulman

January 19, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today

If a roaming profile users has a network home folder that contains their profile, and Offline Files caching is enabled, conflicts may arise during logoff as the home folder is synchronized.

NOTE: Offline Files caching is enabled by default on Windows 2000Professional and Windows XP Professional.

If you Disable the Allow or Disallow use of the Offline Files Feature GPO at Computer Configuration / Administrative Templates / Network / Offline Files, the Offline Files feature is disabled.

If Allow or Disallow use of the Offline Files Feature is Not Configured, you can use the following registry entries on your clients:

Set the Enabled Value Name, a REG_DWORD data type, to a data value of 0 at HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionNetCache to uncheck the Enable Offline Files option at My Computer / Tools / Folder Options / Offline Files.

Set the Enabled Value Name, a REG_DWORD data type, to a data value of 0 at HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsNetCache to prevent users from changing the settings on the Offline Files tab.

To make these settings on all computers:

1. Copy / Paste the following to a NoOLF.reg file:

REGEDIT4

[HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionNetCache]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsNetCache]
"Enabled"=dword:00000000

2. Save the NoOLF.reg file in the NetLogon share of domain controller .

3. Copy / Paste the following to a NoOLF.bat file:

@echo off
regedit /s \AnyDCNetLogonNoOLF.reg

4. Save the NoOLF.bat file in the NetLogon share of domain controller .

5. Use tip 4195 to run the NoOLF.bat file from \NetLogonNoOLF.bat.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like