Clean RDP Sessions

Just found it useful with the garbage of RDP session to clean-

Paste the below lines on a notepad and rename it- rdp_clean.bat. Execute the batch file through cmd line as admin user.

@echo off
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers"
cd %userprofile%\documents\
attrib Default.rdp -s -h
del Default.rdp

Voila!

Share

Reboot Windows 10 using RDP

This article is for sysadmins who know better, wanting to Shut down or Restart (or even enter Sleep) over RDP anyway.

At left, user clicked on Start, Power, then has three choices. Using RDP at right, choices are rather limited.

Using Command Prompt

Open a Command Prompt

a. To initiate a Shut down, type:

shutdown /s /t 0

then press Enter Continue reading “Reboot Windows 10 using RDP” »

Share

Add windows client to zenoss monitoring

Allow ICMP Through Firewall

Firstly you need to allow incoming ICMP ping request since this is the way Zenoss checks if the system is online.

Go to:

Server Manager -> Configuration -> Windows Firewall with Advanced Security -> Inbound Rules

Do the following:

Enable rule “File and Printer Sharing (Echo Request – ICMPv4-In)”. Continue reading “Add windows client to zenoss monitoring” »

Share