Solved

PSExec - Disable Auto Logon

Posted on 2013-01-31
5
1,158 Views
Last Modified: 2013-02-06
I need to disable Auto Logon on a user's machine and am doing through PSEXEC.  What is the correct registry path to do this on?  Thanks.
0
Comment
Question by:itsmevic
5 Comments
 
LVL 12

Assisted Solution

by:Sandeep
Sandeep earned 250 total points
ID: 38840833
Have a look at this one.

http://answers.microsoft.com/en-us/windows/forum/windows_7-security/disabling-auto-login-for-windows-7-with-only-1/87e682b2-e038-4f23-927b-58bb9fe6f8ab

You can try using that registry or add that command in a batch file and using PSExec copy over that batch from your PC to remote PC and then execute the same.

PSExec commands are as below

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
0
 
LVL 6

Expert Comment

by:atsvirginia
ID: 38840843
1. Start > then type netplwiz
2. Select the user account that's logging on automatically and check the “Users must enter a user name and password to use this computer"
3. click on the Apply button
0
 
LVL 12

Expert Comment

by:Sandeep
ID: 38840867
atsvirginia - Its required to change on remote PC not Local PC
0
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 250 total points
ID: 38841612
Try this first:
psexec \\computername -u username -p password rundll32 netplwiz.dll,ClearAutoLogon

If this doesn't work then it is set in the registry

psexec \\computername -u username -p password reg delete HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ -v DefaultPassword
psexec \\computername -u username -p password reg add HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\  /v AutoAdminLogon /t REG_BINARY /d 0 

Open in new window

0
 

Author Closing Comment

by:itsmevic
ID: 38860640
Thank you!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
OfficeMate Freezes on login or does not load after login credentials are input.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now