C:\Windows\System32\UserAccountControlSettings.exe
Powershell
Set-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0
C:\Windows\System32\UserAccountControlSettings.exe
Powershell
Set-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0
After upgrading to Windows 10, I have had some issues with a couple of RDP connections that wouldn’t store the username and password (credentials). Despite ticking the box to save the credentials, it would always prompt me to enter the password.
Here’s how to fix the issue with RDP not saving the login information, which should work not just on Windows 10, but also other versions of Windows if you have the same problem:
https://tommynation.com/fix-rdp-saving-password-credentials-windows-remote-desktop-connection/
$Server = remoteHostName Invoke-Command -ComputerName $Server -ScriptBlock {(Get-WmiObject -class Win32_TSGeneralSetting -Namespace root\cimv2\terminalservices -Filter "TerminalName='RDP-tcp'").SetUserAuthenticationRequired(0)} #-Credential (Get-Credential)
https://support.microsoft.com/da-dk/help/4093492/credssp-updates-for-cve-2018-0886-march-13-2018″>https://support.microsoft.com/da-dk/help/4093492/credssp-updates-for-cve-2018-0886-march-13-2018