Fix folders that say My Documents instead of Usernames


set buildDate=%DATE:~4,10%

set dateStr=%buildDate:~6,4%%buildDate:~0,2%%buildDate:~3,2%_%random%.log

SET fTemp=%TEMP%

SET fOutput=%fTemp%\%dateStr%_MyDocsFix.txt

SET fFoldersToProcess="s:\My Files\*desktop.ini"

REM ECHO %dateStr%

REM ECHO %fTemp%

ECHO Processing

ECHO    Search for the tag file

dir /s /b /a:hs %fFoldersToProcess% > %fOutput%

ECHO    Removing problemsome tag files

for /f "tokens=*" %%f in (%fOutput%) DO @DEL /F /a:hs "%%f"


Active Desktop Recovery Fix

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\SafeMode\Components

Change the value of DeskHtmlVersion to zero