spamcram Posted March 5, 2005 Share Posted March 5, 2005 Hi,I have made my own Customized Default Profile for windows xp, I would like to be able to apply this (copy and replace) At the end of my RIS installation.I want this to be done automatically so no user input is required.Regardsspamcram------I hate teletubby land! Link to comment Share on other sites More sharing options...
spamcram Posted March 6, 2005 Author Share Posted March 6, 2005 Ok, I found this Post: http://www.msfn.org/board/index.php?showtopic=9801Now from the code below, how can I get this working at the end of my RIS installation. If the default profile folder was in $oem$ on the RIS server.ECHO.ECHO Replacing Default ProfileECHO Please wait...RD /S /Q "%systemdrive%\Documents and Settings\Default User"MD "%systemdrive%\Documents and Settings\Default User"XCOPY /E /H /I /K /Q "%systemdrive%\install\Default User" "%systemdrive%\Documents and Settings\Default User"ATTRIB +H "%systemdrive%\Documents and Settings\Default User"ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Application Data"ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Local Settings"ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Local Settings\Application Data"ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\NetHood"ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Printhood"ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Recent"ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\SendTo"ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Templates"DEL "%systemdrive%\Documents and Settings\Default User\Favorites\desktop.ini" /AATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Start Menu\desktop.ini"ATTRIB +H /S /D "%systemdrive%\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch\desktop.ini"ECHO.spamcram Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now