IT Knowledge Base

Technical Repository

HowTo: Configure Windows Remote Management Service to allow HTTP and Basic Authentication

Run the following command to set the default WinRM configuration values. winrm quickconfig (Optional) Run the following command to check whether a listener is running, and verify the default ports. winrm e winrm/config/listener Enable basic authentication on the WinRM service. Run the following command to check whether basic authentication is allowed. winrm get winrm/config Run […]

Read More


HowTo: Log into Cisco IOS without a password using SSH/PKI

I needed the ability to automatically log into a Cisco Router and create site to site VPN tunnels through a script running on a web server. In order to do this, I had to setup PKI on the router which would then allow me to log in without having to type in a password. Prerequisites […]

Read More


HowTo: Encrypt SQL Server Connection String for ASP.NET

Encrypt ASP.NET connection strings stored in the web.config file using RSA encryption. This is to ensure that connection strings that use SQL authentication and contain usernames and passwords are not stored in plain text. From the command line type in: “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe” -pef “connectionStrings” “C:\inetpub\wwwroot”

Read More