+ Post New Thread
Results 1 to 1 of 1
O/S Deployment Thread, MDT Netplwiz command line / password never expires in Technical; I need to deploy my image with two scripts, which I can't get to work.First I need to have a ...
  1. #1

    Join Date
    Jul 2014
    Posts
    74
    Thank Post
    7
    Thanked 1 Time in 1 Post
    Rep Power
    0

    MDT Netplwiz command line / password never expires

    I need to deploy my image with two scripts, which I can't get to work.First I need to have a automatic login for my default user. (netplwiz)
    I'm running this script, with changes thats fits my needs.
    The passwords needs to be blank so the user don't need to login, (it's a library, and a "kiosk" computer)
    But for some reason its not working, nothing is happening, the batch (I made it into a batch file) is executed with no errors, but the is no change in the login.?

    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d 1 /f
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /t REG_SZ /d HB_BIB /f
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t REG_SZ /d "Naestved Bibliotek" /f
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /t REG_SZ /d (needs to be blank) /f

    With my other script I'm trying to get the passwords for my user "Naestved Bibliotek" to never expire
    Net user "Naestved Bibliotek" /add passwordreq:no /active:yes /passwordchg:no /expires:never

    But I don't get a tick in "password never expires"

    any help would be appreciated

    PS: I'm in a workgroup
    PPS: It seems that I can get auto logon to work when i write a password,, BUT I need to get it to work WITHOUT a password..
    Last edited by denmyos; 25th August 2014 at 11:00 AM.



SHARE:
+ Post New Thread

Similar Threads

  1. [MDT] Deplying an App with Command Line
    By garethedmondson in forum O/S Deployment
    Replies: 8
    Last Post: 11th October 2012, 06:19 PM
  2. [MDT] Install command line for dotnet framework 4
    By british_government in forum O/S Deployment
    Replies: 4
    Last Post: 21st March 2012, 10:56 AM
  3. Replies: 7
    Last Post: 13th July 2009, 05:35 PM
  4. command line rar password recovery
    By RabbieBurns in forum *nix
    Replies: 4
    Last Post: 13th January 2009, 09:48 AM
  5. Command line tool for share permissions
    By NetworkGeezer in forum Windows
    Replies: 8
    Last Post: 19th June 2006, 07:32 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •