Guest User

Untitled

a guest
Apr 25th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. HKLMSoftwareMicrosoftWindows NTCurrentVersionwinlogon
  2.  
  3. (DWORD) AutoAdminLogon = 1
  4. (String) DefaultUserName = Your user name
  5. (String) DefaultPassword = Your password
  6.  
  7. PS:> $RegPath = "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon"
  8.  
  9. PS:> Set-ItemProperty $RegPath "AutoAdminLogon" -Value "1" -type String
  10.  
  11. PS:> Set-ItemProperty $RegPath "DefaultUsername" -Value "YOURDOMAINNAMEAdministrator" -type String
  12.  
  13. PS:> Set-ItemProperty $RegPath "DefaultPassword" -Value "YOURPASSWORD" -type String
Add Comment
Please, Sign In to add comment