Delete Folders older than X days Recursively

Everyone runs into the problem eventually  where they need to delete folders based on age. The script discussed in this post does exactly that. It checks the passed folder, or the default if no folder is specified and if there are any folders under it that are more than X days old, the folder and it's contents are removed.

To understand where a script like this may be useful, see our article, Error 0x00000002 when Adding a printer.

Continue reading Delete Folders older than X days Recursively

WannaCry — Disable SMB1 to Prevent Ransomware

The WannaCry ransomware attack was a May 2017 worldwide cyberattack by the WannaCry ransomware cryptoworm, which targeted computers running the Microsoft Windows operating system by encrypting data and demanding ransom payments in the Bitcoin cryptocurrency.

WannaCry WannaCrypt, and other ransomware sotware takes advantange of the SMB protocol version 1, and probably version2, but that is up for debate.

The script below can be used to;

Continue reading WannaCry — Disable SMB1 to Prevent Ransomware

RDP Connection Errors after TLS/SSL Hardening

A while back, we were tasked with hardening TLSv1 on our server due to security concerns. For the most part this went well, however on some systems we began having issues connecting remotely with RDP.

Depending on the OS version you are running, you may receive any one of several different error in the event viewer, and you cannot even rely on the erro message presented to the user.

The first thing you may notice when this problem occurs, is the speed at which the user receives an error.

Continue reading RDP Connection Errors after TLS/SSL Hardening