August 18, 200422 yr Hey everyone. I've ran into a small issue that I can't seem to figure out. I have a reg tweak and some commands that I need to run *after* the user is fully logged in. RunOnceEx is running too early for these and so is GuiRunOnce. MOVE /Y "%UserProfile%\Start Menu\Programs\Accessories\Entertainment" "%AllUsersProfile%\Start Menu\Programs\Accessories"MOVE /Y "%UserProfile%\Start Menu\Programs\*.lnk" "%AllUsersProfile%\Start Menu\Programs\"RD /S /Q "%UserProfile%\My Documents\My Pictures"RD /S /Q "%UserProfile%\My Documents\My Music"DEL /Q "%UserProfile%\SendTo\My Doc*.*"DEL /Q "%UserProfile%\Favorites\*.*"RD /S /Q "%UserProfile%\Favorites\Favorites"RD /S /Q "%UserProfile%\Favorites\Links"RD /S /Q %systemdrive%\Drivers\RD /S /Q %systemdrive%\Install\EXITWindows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]"LinksFolderName"=""These can't be ran before the user logs in because the files aren't created until the UI is loaded fully.LinksFolderName is empty in the "Default User" profile but once the current user's (Administrator) gui loads, it's set to LinksFolderName = "Favorites". So, it needs to be set back to "". Any suggestions on getting these taken care of?
Create an account or sign in to comment