MSFN Forum: Stupid question regarding - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Stupid question regarding how to set user password to not expire Rate Topic: -----

#1 User is offline   Tokyudo 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 03-August 04

Posted 16 March 2006 - 01:50 PM

I've made many successful unattended DVDs and this is something that's not a big issue but it's starting to bug me.

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



#2 User is offline   Tokyudo 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 03-August 04

Posted 26 March 2006 - 02:02 AM

Bump.

#3 User is offline   Djé 

  • accent artist
  • PipPipPip
  • Group: Members
  • Posts: 359
  • Joined: 10-January 06

Posted 26 March 2006 - 12:40 PM

View PostTokyudo, on Mar 16 2006, 08:50 PM, said:

It's probably something simple that I'm overlooking
Indeed.
ウザーガイドを読みませんでしたか?

Quote

net accounts /maxpwage:unlimited


Also, 'Owner' is the default user (administrator) if you don't create any user (and skip OOBE). So why bothering recreating it ?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy