Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Logon Scripts

Status
Not open for further replies.

gsz11

IS-IT--Management
Jun 20, 2001
82
US
I'm looking for a script that would copy the user's profile to a share point and change the profile to a roaming profile. Can anyone point me in the right direction?
 
If this is a one time shot, you should be able to use wsh or a .bat to copy the profile to a P:\profiles\%username% and then rename the ntuser.dat to ntuser.man using ren or rn. If you are using Win2k/XP %username% works, but not on Win9x and I don't know about NT4. I haven't tested it yet. After doing this, have the script emit a .tag file to mark the operation as being completed. Use a "If exist
%username%.tag goto end" and this will stop the script from running again. Hope this helps. [PC3]
 
Create a profile folder in their home directory that is a sharepoint. In UMD, set the profile folder as their home folder/profile and set their home directory and map it to H or something.

Then have them log in somewhere that the profile has been set up and then have them log off. It will copy the profile to the sharepoint and set it to roaming.

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top