Today I was noticing that some clients on the network were experiencing errors when users logged out and windows synced for them.

In order to fix this, I had to do the following:

  1. TS to SBS Server
  2. Navigate to \\SBS\netlogon
  3. Edit the SBS_LOGIN_SCRIPT.bat file in this directory. It should look like:
\\SBS\Clients\Setup\setup.exe /s SBS

Change it to this:

@echo off  
rem ==================================================  
rem  
rem Title: Login Script  
rem Author: The Author  
rem Date: April 4 2008  
rem Description: Network Login Script  
rem  
rem ==================================================

:SBS_SETUP  
rem Default sbs2k3 client setup  
\\SBS\Clients\Setup\setup.exe /s SBS

WSCRIPT.EXE \\SBS\logon_scripts\rm_sync_ext.vbs
  1. Now you have to navigate to My Computer

  2. Go to your C:\ Drive

  3. Create a New Folder named “logon_scripts”

  4. Right Click the folder, select properties

  5. Go to the Sharing Tab. Enable Sharing. Call it “logon_scripts”

  6. Click OK to save

  7. Enter the c:\logon_scripts directory

  8. Edit your login script (rm_sync_ext.vbs), which should look like this

       Const sComputer="."
       Const HKEY_Current_User = &H80000001 'HKCU hive
       Const sKeyPath = "Software\Microsoft\Windows\CurrentVersion\NetCache\ExclusionErrorSuppressionList"'73
       Dim oReg
       SetoReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &
       _ sComputer & "\root\default:StdRegProv")
       oReg.CreateKey HKEY_Current_User, sKeyPath
       oReg.SetDWORDValue HKEY_Current_User, sKeyPath, ".mdb", 1
       oReg.SetDWORDValue HKEY_Current_User, sKeyPath, ".pst", 1
    
  9. That’s it. Now you should be able to add more lines to the botton of your script to stop from syncing other file types.

Enjoy!