Archive for the ‘Microsoft Server 2016’ Category

Disable UAC (User Account Control) in Windows

Wednesday, May 5th, 2021

C:\Windows\System32\UserAccountControlSettings.exe

Powershell

Set-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0 

 

Microsoft® Update-katalog

Saturday, September 12th, 2020

https://www.catalog.update.microsoft.com/home.aspx

How to Fix RDP not Saving Password / Credentials (Windows Remote Desktop Connection)

Tuesday, November 12th, 2019

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:

  1. Click Start and type “GPEDIT.MSC” to search for the shortcut to the Windows Group Policy Editor.
  2. Right-click the gpedit.msc shortcut and click run as Administrator.
    (Ignore any popups about errors if you get any when the Group Policy Editor console opens up).
  3. Browse to Local Computer Policy > Computer Configuration > Administrative Temples > System > Credentials Delegation
  4. Double click the setting called “Allow delegating default credentials with NTLM-only server authentication” to edit it.
  5. Change the setting to “Enabled” and then click the “Show…” button in the “Options:” window where it says “Add servers to the list:”.
  6. Double click the field below “Value” (with the black arrow to the left) and type in “TERMSRV/*” (without the double quotes).
  7. Click Ok and then Ok again to close both popups, so that you only see the list of settings again.
  8. Now just repeat the exact same for these three policies as well:
    Allow delegating default credentials
    Allow delegating saved credentials
    Allow delegating saved credentials with NTLM-only server authentication
  9. Close the Local Group Policy Editor and RDP should now work as expected again!
  10. Restart

https://tommynation.com/fix-rdp-saving-password-credentials-windows-remote-desktop-connection/

CredSSP updates for CVE-2018-0886

Friday, May 11th, 2018

$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