RE: Net user add & password expiration

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Sorry I eat some words...

We are working on a script for Windows 2003 server in standalone. We wanted
to add a user locally with the password expiration to never and no possiblity
to modify its password.
The following command is used:
net user /ADD "user" /expires:never /passwordchg:no

This command works on windows 2000 and NT but not on windows 2003. we did
not find any other options.

can somebody help us ?
Thanks in advance

Guilhem

"Guilhem" wrote:

Hello,

We are working on a script for Windows 2003 server in standalone. We wanted
to add a user locally with the password expiration to never and no possiblity
to modify its password.
The following command is used:
net user /ADD "user" /expires:never /passwordchg:no

This command works on windows 2000 and NT but not on windows 2003. We have

.



Relevant Pages

  • RE: Migrating from Win2k DCs to Win2k3 DCs; ADPrep question
    ... Windows Server 2003 CD, we need to confirm the following things in Q314649 ... Exchange 2000 Schema Changes Are Installed Before You Run the ... Windows Server 2003 adprep /forestprep Command ...
    (microsoft.public.windows.server.migration)
  • Re: Sorry its not a window 2003 server .. its NT 4.0 sever!!!
    ... You should use Windows Explorer and Windows FileMananger for ... >found" obviously coz i am not connected to the server. ... >> For mapping a network share from the command line you have to use the "net ... >> echo. ...
    (microsoft.public.windows.server.scripting)
  • Re: NTVDM hard error on Windows 2003 Server SP1
    ... Windows 2003 Server SP1 platform, there is a pop-up box with the error ... run regedit.exe from a DOS window command prompt. ... The server is not a domain controller, and is on a LAN with a Windows ...
    (microsoft.public.windows.server.general)
  • RE: re-setting boot partition
    ... Description of the Windows 2000 Recovery Console ... For a Microsoft Windows XP version of this article, ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ...
    (microsoft.public.win2000.setup_upgrade)
  • RE: Sorry its not a window 2003 server .. its NT 4.0 sever!!!
    ... Now we have windows servers and some NT servers .. ... found" obviously coz i am not connected to the server. ... > For mapping a network share from the command line you have to use the "net ... > @echo off ...
    (microsoft.public.windows.server.scripting)