We use cookies to ensure you get the best experience on our website.
## Run always as admin
Write-Host "Setting autologin - Start"
$Login = "TEST" // User Login
$Password_clear ="TEST" // User Password
$Password = ConvertTo-SecureString $Password_clear -AsPlainText -Force
# Ustaw automatyczne logowanie
$RegPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
Set-ItemProperty -Path $RegPath "AutoAdminLogon" -Value "1" -type String
Set-ItemProperty -Path $RegPath "DefaultUsername" -Value $Login -type String
Set-ItemProperty -Path $RegPath "DefaultPassword" -Value $Password_clear -type String
Write-Host "Setting autologin - end "
Cześć Podróżniku!
Ta strona ma nie być typowym poradnikiem w IT, Głównym jej cel to zapisanie krótkich notatek, które mogą się przydać w codziennym życiu podczas korzystania/konfiguracji różnych urządzeń np. Ustawienia DHCP na Routerze Cisco, Ustawieniu Karty sieciowej na Linuxie itp.
Wszelkie prawa zastrzeżone
Dodaj komentarz