Lmhansen
That is on the right track, but unless I can also specify the password, it doesn't really help much.

What I am trying to do is to create a specific user profile on a specific machine using a predefined list of machine names and corresponding user names. This way, I can simply copy their old profile (desktop, "favorites", etc) into the newly created profile.

So, I have a file that looks like this:
ComputerName, OUser, NUser

The VBScript would then match up ComputerName to the name of the computer it is running on, automatically create the profile for NUser, then copy the content of the OUser profile into the NUser profile. When the user then comes in the next morning and logs in with the NUser credentials, everything will be as it was the day before, except for the user name ...



Is the computer part of a Domain or is it a work group?

I've never scripted something you are asking before but, but it sounds tricky.

Essentially summarised you need the script to do several things

1) Retrieve NUSers SID from Active Directory(If it is a domain account)

2) Create Profile registry entry using NUsers SID in HKLM\Software\Microsoft\WindowsNT\ProfileList

3) Copy %systemdrive%\documents and settings\default user directory to %systemdrive%\documents and settings\NUser

4) Locate directory path for OUser and copy the folders you want to NUser

Legacy Forum Name: Scripts Forum,
Legacy Posted By Username: andrewra