Notes of Windows Update (wuauclt)
Had to update some of my Windows Server Core servers. Just writing these as a note to my future self. The Windows Update command is wuauclt. I can never get that command name (except that it starts...
View ArticleWindows Update on remote machines
I mentioned yesterday that one can Windows Update a machine via script located at c:\Windows\System32\en-US\WUA_SearchDownloadInstall.vbs. It’s easy, just run via the following command on at machine:...
View ArticleThe dig command
Just a quick post on how to use the dig command. Had to troubleshooting some DNS issues today and nslookup just wasn’t cutting it so I downloaded BIND for Windows and ran dig from there. (For anyone...
View ArticleBrief notes on Windows Time
The w32time service provides time for Windows. Since Windows XP NTP (Network Time Protocol) is supported. Prior to that it was only SNTP (Simple NTP). Non domain joined computers (including servers)...
View ArticleAppV – Empty package map for package content root
Had an interesting problem at work yesterday about which I wish I could write a long and interesting blog post, but truthfully it was such a simple thing once I identified the cause. We use AppV for...
View ArticleWindows DNS server subnet prioritization and round-robin
Consider the following multiple A records for a DNS record proxy.mydomain.com: proxy.mydomain.com IN A 192.168.10.5 proxy.mydomain.com IN A 10.136.53.5 proxy.mydomain.com IN A 10.136.52.5...
View ArticleNotes on NLB, VMware, etc
Just some notes to myself so I am clear about it while reading about it. In the context of this VMware KB article – Microsoft NLB not working properly in Unicast mode. Before I get to the article I...
View ArticleHyper-V between Windows 10 & Windows 8.1 in a workgroup
My laptop’s running Windows 10, desktop’s running Windows 8.1. Since both have client Hyper-V I thought it would be cool to install Hyper-V manager on the laptop and use it to manage Hyper-V running on...
View ArticleHow to undo changes made by winrm quickconfig
Here’s what happens when you do a winrm quickconfig: C:\> winrm quickconfig WinRM is not set up to receive requests on this machine. The following changes must be made: Set the WinRM service type to...
View ArticleHow to get the service name for sc
I need to enable/ disable the Windows Firewall on a Server 2008R2 core box but didn’t know what the Windows Firewall service name was for use with the sc command. Then I learnt it it has a sub-command...
View ArticleGet a list of OUs with inheritance blocked & GPOs not applied
To get a list of OUs and the status of GPO inheritance: Get-ADOrganizationalUnit -SearchBase "OU=Servers,DC=domain,DC=tld" -Filter * | ft...
View ArticleUse SetACL if you want to overcome the 260 character limit when setting ACLs
I had to set folder & file permissions (basically, take ownership and enable inheritance) for a bunch of Windows folders the other day. Thing is the folders had levels and levels of sub-folders so...
View ArticleNotes on DFS referrals
Was brushing up about DFS referrals today as I had a doubt about something at work. Thought I’d put a shout out to this interesting link that I came across. A DFS namespace (e.g. \\contoso\pub) has...
View ArticleNotes on .NET (copy paste from other places)
Yes, just copy paste from other places so I can quickly refer to this post later than all those other posts. I don’t know much about .NET but had to read a bit about it today, so figured I might as...
View ArticleAutomatic Metric and Windows routing
IP routing involves metrics. This is the cost of each route. If there are multiple routes to a destination then the route with lowest metric/ cost is chosen. In the context of Windows OS there are two...
View ArticleNotes on WMI ports & monitoring
Trying to set up monitoring for some of our Windows DMZ servers via SolarWinds and came across a few interesting links. At the same time I noticed that my carefully organized bookmarks folders seem to...
View ArticleWMI Access Denied for remote machine etc
This isn’t going to be a coherent post really (unlike my usual posts which are more coherent, I hope!). I came across a bunch of new stuff as I was troubleshooting this WMI issue and thought I should...
View ArticleQuickly get the last boot up time of a remote Windows machine
PowerShell: Get-WmiObject Win32_OperatingSystem -ComputerName <computer> | fl LastBootUpTime Command Prompt/ WMI: wmic /node:"<computer>" OS get LastBootUpTime Double quotes are important...
View ArticleFind out which DCs in your domain have the DHCP service enabled
Use PowerShell – Get-DomainController | ft Name,@{Name="DHCP Service"; Expression={(Get-Service -ComputerName $_.Name | ?{ $_.Name -eq "DHCPServer" }).Status}} Result is a table of DC names and the...
View ArticleFixing a Windows Server that was stuck on “Preparing to configure Windows”
This is something that I fixed a few months ago at work but didn’t get a chance to blog about then. Coz of the gap I might not post much verbosely about it as I usually may. The situation was that we...
View Article