Windows Server – Schedule a Reboot
KB ID 0001321 Problem Back in the day we just used the ‘At’ command to schedule a reboot, but starting with Server 2012 that was stopped! If you try it now you will see the following; The AT command has been depreciated. Please use schtasks.exe instead Solution (The Quick Way) Execute the following command (change time and data accordingly); schtasks /create /tn “Scheduled Reboot” /tr “shutdown /r /t 0” /sc once /st...
Group Policy: Item-Level Targeting
KB ID 0001654 Problem Yesterday I wrote a post about Deploying a ‘Mapped’ Drive to a couple of users using Group Policy. This received a comment that was basically ‘Why not simply use Client Targeting?’ To be fair that’s a good point, I was using a Group Policy Preference and they can be specifically targeted. So here’s how to do that. Solution If you do not already have one, create a group for your...
Apply Group Policy To a Security Group
KB ID 0001653 Problem On EE this morning someone asked how to map a drive to only two users, so that wherever they logged in, they got their mapped drive. Seemed like a good Idea for a post so here you go; Solution If you do not already have one, create a group for your users. Add the users, (as appropriate). On a Domain Controller > Administrative Groups > Locate the OU that contains your users (Note: if your group members are...
DHCP Scope: Full of BAD_ADDRESS Entries
KB ID 0001651 Problem I had a client machine struggling to get an DHCP address, and when I looked in DHCP the scope it was full of this; BAD_ADDRESS This address Is Already in Use Solution A tour of Google and forums is full of posts by people with this problem, and other than, ‘Oh I looked in the logs and fixed it’ (with no mention of what log, or where this log was), or ‘Yeah I used Wireshark and located a problem...
Get Ready for LDAPS Channel Binding
KB ID 0001645 Problem I have written about Enabling LDAPS a long time ago, but it’s a subject that’s about to become important again, so I’ll revisit the subject. Microsoft are about to ‘enforce’ LDAPS authentication against their domain controllers, in the March 2020 round of updates. Now delayed until second half of 2020. What does that mean? Well lookups against LDAP will now need to be secure, (i.e....
Certificate Services 0xc8000202 Error
KB ID 0001639 Problem You will see this error if you are migrating a Certificate Services Server from Server 2008, (NOT Server 2008 R2) to Windows Server 2016, (or newer). Version of log file is not compatible with the Jet version 0xc8000202 (ESE: 514 Jet_errBadLogVersion) You will also see the following events logged; Event ID 17 Log Name: Application Source: Microsoft-Windows-CertificationAuthority Date: xx/xx/xxxx xx:xx:xx Event...
Connections From Machines That Don’t Map to Sites?
KB ID 0001635 Problem I was troubleshooting some replication issues for a client, and carried out a dcdiag on one of their domain controllers, and saw this; Starting test: SystemLog A warning event occurred. EventID: 0x000016AF Time Generated: xx/xx/xxxx xx:xx:xx Event String: During the past 4.21 hours there have been {xxx} connections to this Domain Controller from client machines whose IP addresses don’t map to any of the...
Windows – Find your ‘Uptime’
KB ID 0000552 Problem There are lots of reasons you might want to know your PC/Servers uptime, to make sure a client has rebooted a server (like you asked them to), or to see if a server has had a BSOD and rebooted overnight, etc. Check Uptime with Task Manager You can get your uptime from the Task Manager’s “Performance” tab. To launch Task Manger Start > Run > Taskmgr.exe {enter}. or Press CTRL+SHIFT+ESC, or...
Control Panel ‘Mail Icon Missing’
KB ID 0000237 Problem Problem usually seen on x64 Office versions, to set up some mail profiles; Solution Firstly what happens if you try running; outlook.exe /manageprofiles The file you are looking for is called mlcfg32.cpl Find it and double click it. here’s where I found it C:\Program Files (x86)\Microsoft Office\root\Office{Version} or C:\Program Files (x86)\Common Files\System\MSMAPI\1033 If you get stuck, or are using x64...
The Term ‘Uninstall-WindowsFeature’ is not Recognized
KB ID 0001628 Problem I was removing Windows Defender from a lot of servers that had just been deployed, (while doing and AV rollout). So I had a remote session open to all the servers and issued the command on each one, and moved onto the next one. when I went back, about three or four of them had failed with the following error; PS C:\Users\Administrator> Uninstall-WindowsFeature -Name Windows-Defender Uninstall-WindowsFeature :...