Block IP trough Firewall

I had recent attacks on my server and so I was searching on how to add an IP drop with my firewall. On my Sites I have a security system that blocks already many things but unfortunately not all. And so here I show you an example on how to do it (at least how I did it).

Data Recovery with ddrescue

We once had an issue to recover data from a broken disk. Under Windows the disk was directly “attacked” and so directly the control over it was lost. Same was with Windows PE Boot Sticks to recover data. So the only option left was Linux and here is how we did. First you need some tools you can download from […]

Export Files List (PowerShell) into Excel

Sometimes it is useful to get the files list of a folder into an Excel Sheet. This is very simple to realize thanks to Powershell. You just need to import a module and enter the following: Of course, you can name your file how you want 🙂

Windows User Profile (corrupt/deleted)

Sometimes Windows Profiles gets corrupt especially roaming profiles or if different users are working on the same machine someone is deleting files from another profile just for fun or what ever. Than it often happens that you get a temporary profile (a small popup appears on the bottom right when login in. Depending on what Windows version and theme it […]

Reverse DNS

If you ever needed a Machine Name for an IP Address you can simply try this PowerShell command (always run as administrator). There is an alternative to get more information while connection to the Active Directory (if asailable).

How To Batch Delete All Empty Folders In Outlook?

Press Alt + F11 keys to open the Microsoft Visual Basic for Applications window. Click Insert > Module, and paste below VBA code into the new module window. Press F5 Key or Run button to run this VBA code. In the popping out Select Folder dialog box, please select the specific folder whose empty subfolders you will delete in bulk, and click the OK button. Now a Kutools for Outlook dialog box comes […]

JNLP files not opening

If you have the issue that JNLP files don’t open correctly anymore with Java simply copy the code below in a .reg file and import it to your registry. Pay attention that this example here is for the Java 8 Update 201 (last free version) version and you may need to update the path to your jp2launcher.exe file.

Remote Desktop (RDP) to AzureAD connected PC

Sometimes you need to connect to an AzureAD connected device but with the normal login credentials AzureAD\userid this isn’t possible. For these cases you have to modify the RDP file corresponding to this article. So open mstsc.exe and save the connection details to a place where you can find and open it. Open the RDP file with notepad!! Now check […]

Activate RDP over Remote Registry

Sometimes you are admin and have access to a remote machine by Windows Explorer etc but you need RDP to be enabled. For that you need to connect with regedit.exe remotly to the other machine (maybe the Remote Registry is not running and you need to run it manually) and change a value within the registry: With that key you Enable […]

Windows 10 Fast Startup Mode

Maybe not so good for companies! Windows 10 includes a feature called “Fast Startup”, which is enabled by default. The whole idea behind this feature is to make it so computers don’t take as long to boot up after being shut down (rather than going into hibernation or sleep). It achieves this by essentially using a cut-down implementation of Windows […]

Install unsigned drivers from advance boot menu

Restart your computer by holding the shift key while clicking on restart In the advanced boot menu choose: Troubleshoot Advanced options Start-Up Settings (may be on a second page!!) Restart Than choose F7 to disable driver signature enforcement After the reboot  you can install unsigned drivers. When you have installed the needed driver reboot again to enable driver signing again.

How to change the RDP Port on your server or desktop

To make it hackers not to easy to connect with RDP to our servers or desktops we can change the port for this and I really recommend it to every one. Simply choose a random number and than follow the instructions here. This can be achieved by using regedit to manipulate the registry Enter here for the PortNumber a new […]

Remote management of Windows Firewall

Windows Firewall – Remote Access through MMC Enable rule to let the remote pc in: Enable the rule in a domain environment: Pay attention that this codes needs to be used in an elevated powershell console.

How to install Windows Updates on a core edition

The simplest way to realize that is to create a script for that. On MSDN you can find the following and it’s working like a charm. Save this to a file named WUA_SearchDownloadInstall.vbs as example and than you simply can run cscript WUA_SearchDownloadInstall.vbs and he automatically searches for Updates and than asks to install them. There is also the option trough the […]