Category Archives: Microsoft

Running disk cleanup Remotely as a scheduled task

I was dealing with a server that was running out of disk space on the C: drive. I was not able to log into it due to some other issue. In order to clean up some system files from C:\Windows\ … Continue reading →...

Posted in Microsoft, Scripting | Tagged , | Leave a comment

How can I see Time-To-Live (TTL) for a DNS record?

There are two ways that you can query a TTL value for a DNS record. You can use nslookup with the the -q=wks option. You can also view the TTL value in the local “DNS Resolver Cache” on the local … Continue reading →...

Posted in Microsoft, Networking | Tagged , , , | Leave a comment

Microsoft Network Monitor 3.4 Network capture filters

I’m a big fan of WireShark but recently found myself using Microsoft Network Monitor more as we have it installed on a lot of Web servers. Here is a list of filters that i found useful. Some of these filters … Continue reading →...

Posted in Microsoft, Networking | Tagged , , | Leave a comment

Disabling TripleDES ciphers on Windows Server 2003 breaks SSL connectivity

As companies start to re-mediate vulnerabilities they start to disable certain ciphers. One thing to be aware of is that Windows 2003 does not support AES 128 or 256 ciphers by default. When you disable TripleDES ciphers on Windwos 2003 … Cont...

Posted in Microsoft | Tagged , | Leave a comment

Troubleshoot a Windows server that randomly hangs

Here is a batch script that I found useful to identify which service or process was highly active just before a server froze up. On the server that I was troubleshooting the CPU would spike to a 100% and the … Continue reading →...

Posted in Microsoft, Scripting | Tagged , , , | Leave a comment

Windows server 2012 configure a KMS server

We were building a new environment and I was tasked in setting up and configuring a KMS server. The task seemed daunting at the beginning but the process is very simple and easy to set up. Here are the steps … Continue reading →...

Posted in Microsoft | Tagged | Leave a comment

Blocking an IP without a Windows firewall route NULL

Blocking an Outbound connection I have ran into a situation where a server was sending malformed requests to another server. The Windows firewall was turned off on this server, I did not want to turn it on as there is … Continue reading →...

Posted in Microsoft, Networking | Tagged , , | Leave a comment

Changing the DNS suffix search list in Active Directory

Here are different ways that you can configure a DNS suffix search list in Active Directory. I was tasked with removing a DNS suffix for a certain domain and spent a little bit of time trying to figure out where … Continue reading →...

Posted in Microsoft | Tagged , | Leave a comment

Stuck in Ctrl+Alt+End console loop Remote Desktop RDP

I usually connect to different servers through multiple VMware console and remote desktop sessions. There have been a few times where i was not able to send a Ctrl+Alt+Del or Ctrl+Alt+End to a console window. I’s almost like Ctrl+Alt+End did &h...

Posted in Microsoft | Tagged | Leave a comment

PowerShell script to list mount points in Windows

Here is a PowerShell script that will list the mount points in Windows along with Capacity in GB, Free space in GB, Free space in %. gwmi win32_volume|where-object {$_.filesystem -match “ntfs”}|ft name,@{Name=”Capacity(GB)”;expression...

Posted in Microsoft, Scripting | Tagged , , , , | Leave a comment