KMS Error 0xC004F056
KB ID 0001502 Problem While checking the KMS licence status of a newly deployed 2016 Datacenter server. I got this; Licence Status: Notification Notification Reason:0xC004F056 Solution While I’m not a fan of any errors, this ones harmless, in fact it’s telling us to perform an activation (slmgr /ato). So let’s do that. Then re-check. Related Articles, References, Credits, or External Links...
Recovering Windows Activation Keys
KB ID 0001115 “Have you got one of those programs that gets the Windows key?”, My colleague asked me the other week. I said “Just download a key finder application?”, “Yeah I’ve tried that and is showing the code as all B’s”. You may also just see ‘Product key was not found’ on some software. I sent him some more links and got back to what I was doing. He was having no joy...
Domain Controller Wont Boot: Stop Code ‘0x00002e2’
KB ID 0001494 Problem I had this problem after a VMware host upgrade last night, this domain controller would not boot, I tried ‘Last Known Good Configuration’, I tried ‘Safe Mode’ it would not boot. More out of desperation than procedure, I tried to boot to ‘Directory Services Restore Mode’ and it booted up (hooray!) I tried all the client’s usual passwords, and could not log in, I messaged...
Getting a Servers Serial Number (Remotely)
KB ID 0001493 Problem If you have an iLO/iDRAC/EMM, then logging into these will give you the servers serial number, but what if they are not setup/connected, or you don’t know username or password? Then you can use WMI to discover the serial number. Solution From PowerShell; Get-Ciminstance -classname win32_bios -computername {Server-Name} | format-list serialnumber Or if you have RDP/Console access , then from an...
How to Tell if Windows is 32 or 64 bit
KB ID 0000153 Problem If you want to know what version (x64 or x86) of Windows you are running, then this is the simplest way to find out. Solution Under accessories run system information; Under System Type: If it says x86 then it’s 32 bit. However if it says x64 then it’s 64 bit. Windows XP and Server 2003 1. Click Start > Run > sysdm.cpl {enter} > General Tab. Windows XP x32 (x86) and Windows XP x64 Windows...
Windows – Lost / Forgotten Password?
KB ID 0000755 Problem There are many reasons why you might want to do this, someone has managed to change a user password and that person is not available, you might simply have forgotten it. Or you might have been given a machine, or bought one from ebay that has come without a password. Also there have been a few times when a user has looked me in the eye and said “I’m typing my password in, but it’s not...
IIS: Move WWWRoot Folder
KB ID 0001487 Problem I migrated an IIS website I use for hosting files this week, and realised I’d forgotten how to relocate the wwwroot directory from it’s default install location on C:\inetpub\wwwroot. Solution Firstly, I’m assuming you have instilled the IIS role and you already have a wwwroot folder on your C: Drive, (in the above location). If so you can simply copy this folder to your new partition/drive (in...
Windows USB Install Error 0x80070026
KB ID 0001485 Problem Now physical servers don’t really come with DVD drives any more, Im forever deploying Windows, ESX, or some other Linux OS via a bootable USB drive. I generally use Unerbootin, and just point it at the .iso file and away we go, which I did this week when trying to deploy Window Server 2016. However when I did that, this happened; Windows cannot open the required file {Drive}:\Sources\install.wim. Make sure...
PowerShell: Bulk Add/Remove Users From Groups
KB ID 0001475 Problem I had to do this a few weeks ago, so I documented it. I had a list of usernames in a CSV file and I needed to bulk-add them to a security group. Bulk Add Group Users Solution Firstly you will need the usernames (sAMAccountNames) in .csv format like so, (Note: As a header Im using User-Name.) I’ve saved the file to C:\Temp on my server. Execute the following commands; Import-Module ActiveDirectory ...
Cisco AnyConnect With Server 2016 NPAS (RADIUS) Different Groups
KB ID 0001474 Problem A few years ago I replaced a firewall that was setup like this, and while it took me a while to work out what was going on, I remember thinking it was an elegant solution. Fast forward to today, and I’m now working with the guy who set it up! (Kudos to Paul White). So when I had a client with a similar requirement, I sat down fired up the lab, and documented it. What was used; Windows 10 Remote Client...