Q. How do I prevent Internet Explorer from creating personalized settings for each new user?

Jerold Schulman

October 1, 2006

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

When a user first logs on, Internet Explorer creates personalized settings for that user.

This behavior happens for every new user, even if the default user profile has been customized and does not need changing.

Using REG.EXE, built into Windows XP, Windows Server 2003, and later operating systems, or installed from the Windows 2000 Support Tools, I have scripted DelSTUBPATH.bat to prevent this behavior.

The syntax for running DelSTUBPATH.bat is:

DelSTUBPATH

DelSTUBPATH.bat contains:

@echo offsetlocal EnableDelayedExpansionset KEY="HKEY_LOCAL_MACHINESoftwareMicrosoftActive SetupInstalled Components"set FND=find /i %KEY%for /f "Tokens=*" %%a in ('reg query %KEY% /s^|%FND%') do ( set SP=N for /f "tokens=*" %%b in ('reg query "%%a"^|find /i "STUBPATH"^|find "REG_"') do (  set SP=Y ) if "!SP!" EQU "Y" reg delete "%%a" /V STUBPATH /F)endlocal


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