If Omegawulf is willing or wanting to purchase ScriptLogic I suppose it may help.

Otherwise, the current postings and links to other postings allow you to perform this task without spending a dime on other software.

This information may/may not be more confusing to someone unfamiliar with the normal procedures.

But I'm sure Omegawulf appreciates everyones ideas...


Omegawulf,

Open notepad and copy/paste the following entry into notepad.


for /f "Tokens=*" %%i in ('dir /B D:\users') do NET SHARE %%i$=D:\users\%%i /Y


Then save this file as SHARE-D.BAT

Then copy the batch file to the Server where you have the USERS folder and your user folders under USERS.
If this drive is not D: then edit it to match your drive. Then from a DOS Prompt execute this batch file.

It should go through all the users folders and share them out as a hidden share.

Then paste this code into a new file and name it CHANGEHOMEDIR.BAT It must be run from the PDC or a BDC

for /f "Tokens=*" %%i in ('dir /B \\sm-cag-fp03\vol1\users') do NET USER %%i /homedir:\\sm-cag-fp03\%%i$

Edit the file to match the names and shares of your server. Example \\myserver\sys\users

Then execute this batch file from a command prompt on the PDC or a BDC and it will change the logon home directory for all the accounts that it can match from User Manager.

Let me know if you need further explanation before trying this as it will change ALL the accounts that match under the USERS folder.