Install SSL certificate on Windows RDP

1. Certificate thumbprint. Certificate must be installed in personal store at the computer level.

2. Run PowerShell script:

$PATH = (Get-WmiObject -class "Win32_TSGeneralSetting" -Namespace root\cimv2\terminalservices)
Set-WmiInstance -Path $PATH -argument @{SSLCertificateSHA1Hash="thumbprint"}

 

Event ID 10 is logged in the Application log after you install Service Pack 1 for Windows 7 or Windows Server 2008 R2

After you install Windows 7 Service Pack 1 (SP1) or Windows Server 2008 R2 Service Pack 1 (SP1) using integrated media, you may see the following WMI error is logged in the application log after every reboot:

Details - Event filter with query "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetInstance.LoadPercentage > 99" could not be reactivated in namespace "//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected.

Full arcticle: https://support.microsoft.com/ru-ru/help/2545227/event-id-10-is-logged-in-the-application-log-after-you-install-service.

 

Logitech Keybord Media Keys

Отключение двойной обработки нажатий медиа-клавиш при установленной LCDSirReal.

В файле <user profile>\Documents\LCDSirReal\lcdsirreal.txt установить значение параметра "tun_mediakeys" равным "0".

Uninstall SQL Server SSMS 2016 from Windows 7 / Server 2008 R2

  1. Download the SSMS uninstall powershell script

  2. Download the Get-RemoteProgram Powershell script and make sure to place it in the same directory as the Powershell uninstall script above.

  3. Open an admin session of Powershell

  4. In powershell, run the command "Get-ExecutionPolicy". This command will display the current ExecutionPolicy of your machine. You will need to change this value if it is not "Unrestricted".

     
  5. In powershell, run the command "Set-ExecutionPolicy -ExecutionPolicy Unrestricted". This will launch a popup asking you to confirm changing the ExecutionPolicy. Confirm the change.

  6. Navigate to the folder with the SSMS uninstall Powershell script and run ".\UninstallSsms.ps1". This will launch a popup asking you to confirm launching the script. Click run. The script will now uninstall SSMS and all its dependencies.

     
  7. To revert the ExecutionPolicy back to its original state, run the command "Set-ExecutionPolicy -ExecutionPolicy [previous policy value]`". This will launch a popup asking you confirm changing the ExecutionPolicy. Confirm the change.