Posts

Remote Desktop Connection Internal Error has Occurred Fix

  I recently had this issue when trying to RDP to a Windows 2012 server and here is how I resolved the issue. 1. Console to the server either by connecting a KVM to it if its physical or via the console session if using vMware and or Hyper-V 2. Browse to: C:\ProgramData\Microsoft\Crypto\RSA 3. Rename the following folder Machinekeys to Machinekeys_backup 4. Open services.msc and restart the "Remote desktop services" service

Powershell Unable to find module repositories

  When running: Get-PSRepository in Powershell and you get the error: WARNING: Unable to find module repositories. This is normally because you are behind a poxy and you need to set the proxy settings for Powershell, to do this follow these steps: Run notepad $PROFILE Notepad will open and probably tell you the file is not present and would you like to create it, select yes and enter the following in the file, obviously changing the proxy and port to your proxy and port: [system.net.webrequest]::defaultwebproxy = new-object system.net.webproxy('http://YOURPROXY:8080') [system.net.webrequest]::defaultwebproxy.credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials [system.net.webrequest]::defaultwebproxy.BypassProxyOnLocal = $true Save and exit the file Close and re open Powershell Run Register-PSRepository -Default This should now allow you to register the repos.