Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HKLMSoftwareMicrosoftWindows NTCurrentVersionwinlogon
- (DWORD) AutoAdminLogon = 1
- (String) DefaultUserName = Your user name
- (String) DefaultPassword = Your password
- PS:> $RegPath = "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon"
- PS:> Set-ItemProperty $RegPath "AutoAdminLogon" -Value "1" -type String
- PS:> Set-ItemProperty $RegPath "DefaultUsername" -Value "YOURDOMAINNAMEAdministrator" -type String
- PS:> Set-ItemProperty $RegPath "DefaultPassword" -Value "YOURPASSWORD" -type String
Add Comment
Please, Sign In to add comment