Jump to content

Featured Replies

Posted

Dear guys,

Working problem, below is the logon.bat in for a domain user when he or she log on XP:

-------------------------------------------------------------------------------------------------------------------------

@echo off

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Favorites /t reg_sz /d "d:\%username%\my documents\favorites" /f >nul

md "d:\my documents\%username%\favorites"

xcopy "C:\Documents and Settings\Default User\Favorites" "d:\%username%\my documents\favorites" /s/e /y >nul

Cacls "%userprofile%\Desktop" /t /c /p everyone:r

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...