I would look at using Cusrmgr.exe from the Windows 2000 resource kit, if
you want to do a quick en-masse home directory update
But if the home directories was mapped via DFS, and you didn't lose the
DFS root, then \\domainname\dfsroot\users
<file:///\\domainname\dfsroot\users> would probably still work for you.
( Sorry don't use DFS here)
Z
Here is the context of the command.
cusrmgr
CUsrMgr Ver 1.0 Jan98 by G.Zanzen (c) MCS Central Europe
Sets a random password to a user
usage: -u UserName [-m \\MachineName] \\ default LocalMachine
Resetting Password Function
-p Set to a random password
-P xxx Sets password to xxx
User Functions
-r xxx Renames user to xxx
-d xxx deletes user xxx
Group Functions
-rlg xxx yyy Renames local group xxx to yyy
-rgg xxx yyy Renames global group xxx to yyy
-alg xxx Add user (-u UserName) to local group xxx
-agg xxx Add user (-u UserName) to global group xxx
-dlg xxx deletes user (-u UserName) from local group xxx
-dgg xxx deletes user (-u UserName) from global group xxx
SetProperties Functions
-c xxx sets Comment to xxx
-f xxx sets Full Name to xxx
-U xxx sets UserProfile to xxx
-n xxx sets LogonScript to xxx
-h xxx sets HomeDir to xxx
-H x sets HomeDirDrive to x
+s xxxx sets property xxxx
-s xxxx resets property xxxx
where xxxx can be any of the following properties:
MustChangePassword
CanNotChangePassword
PasswordNeverExpires
AccountDisabled
AccountLockout
RASUser
returns 0 on success
Edward E. Ziots
CISSP, Network +, Security +
Security Engineer
Lifespan Organization
Email:[email protected]
Cell:401-639-3505
From: Tom Miller [mailto:[email protected]]
Sent: Monday, May 16, 2011 6:27 AM
To: NT System Admin Issues
Subject: Server failure and restore procedures
Hello Folks,
I had a server failure over the weekend (2008): a hard drive failed and
that somehow killed the server. It was raid 5, but somehow the raid
config insisted it was raid 0. Weird. Server was old anyway. Off to
pasture...
I use DFS to copy user files onto a large storage server so I can copy
those files elsewhere and create new shares in a pinch like this. That
worked fine.
Anyone have a powershell script to update the users' home folder en
masse? I'm not up to speed on powershell, and that could have saved me
some time.
Anyone have a method to quickly update GPOs with path information? For
example, change server1\share to server2\share ?
As for my drive maps that point to DFS shares, I suppose those will go
to the next server in another site? I have a few DSF name spaces with
one server at HQ a member, the one that failed, and other members are
servers in other Sites.
Server was not a DC/DNS/DHCP server so removing from AD will be easy
enough.
Thanks for your suggestions.
Tom
Confidentiality Notice: This e-mail message, including attachments, is
for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure, or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin