Created
January 14, 2025 23:47
-
-
Save FrancescoLuzzi/0d7dd18eceaa119a8b2af9ac6715db1f to your computer and use it in GitHub Desktop.
First login with password on windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this will force a login to your account with password | |
# unlocking the ability to RDP into the machine | |
$email="[email protected]" | |
runas /u:MicrosoftAccount\$email winver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment