• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
spamcram

Customized Profile To Be Applied After Ris Install

2 posts in this topic

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.

Regards

spamcram

------

I hate teletubby land!

0

Share this post


Link to post
Share on other sites

Ok, I found this Post: http://www.msfn.org/board/index.php?showtopic=9801

Now 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 Profile
ECHO 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" /A
ATTRIB +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

0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.