I unattendedly create my default user via a batch file that's run from [GUIRunOnce].
Example of my code:
net user Owner /add /comment:"Administrator" /FullName:"Owner" NET LOCALGROUP /add administrators Owner
Maybe this is a totally stupid question but how do I set Owner to never have the password expire?
When I work with domains, I typically use cusrmgr.exe to set passwords to never expire.
For example:
cusrmgr -u owner +s passwordneverexpires
I tried to incorporate that method into my DVD. I created a batch containing the above code and I made sure cusrmgr.exe was in the right location. I called the batch from the original [GUIRunOnce] batch file. However, it doesn't work.
Am I going about the wrong way? It's probably something simple that I'm overlooking.
Well, any help would be greatly appreciated. Thanks.
This post has been edited by Tokyudo: 16 March 2006 - 01:51 PM



Help
Back to top










