Jump to content

Recommended Posts

Posted (edited)

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..

Edited by denmyos
  • 5 months later...
Posted

Can i bump this.

 

Password expires is working now.

 

But i still have problem with netplwiz, it's working, but only if you wanna log in as a administrator.

I dont wanna do that, I wanna log in as "Naestved Bibliotek".

And I can't get that to work.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...