Scheduled Tasks are a fantastic tool for Windows admins.  One function that is missing from the snap-in, however, is the ability to move an existing task from one folder to another. In order to move a task, most people will say to export it as XML and then re-import it into the new destination.  I’ve […]

Installing printers from Windows command line can be tricky, especially if you are attempting to keep things silent.  I’ve used several methods to accomplish this. I was previously a fan of the prndrvr.vbs, prnmngr.vbs, and prncnfg.vbs scripts that have existed natively in Windows for years.  My main issue with these is a result of my […]

I’ve occasionally ran into problems where a Windows Update, usually a feature update or cumulative update, fails to install and throws error 0x80242006: Much of the time this error is caused by an update that is already downloaded but is only partial or has become corrupt, and Windows still attempts to install it without re-downloading […]

Since the release of Windows 10, there have been a few new challenges arise when capturing and applying images.  One issue I experienced is images hanging on a “Just a moment…” screen for anywhere from 15 minutes to over an hour: I use SCCM 2012 MDT task sequences for majority of my images, and while […]

I found myself in a situation recently where I was working in a Windows environment and needed to locate the SYSTEM user’s home directory.  When working with SCCM, SYSTEM is the account that is used when installing applications for all users using the “Install for system” option. The home profile for SYSTEM is actually strung […]

I have sometimes found myself in situations where I need to edit the Windows registry of an OS that I am not booted from (maybe the operating system won’t boot/is corrupted/needs to be changed without being booted to).  It is possible to load up OS registry hives from any environment that can run Regedit, such […]

Obtaining the administrators from a remote computer can be tricky, even if you are connected to a large Active Directory domain.  Many solutions I’ve seen end up looping through all the users on the entire domain.  My environment has nearly a quarter million AD users, so that’s just not feasible. Scripting the following four PowerShell […]