PowerShell: Bulk Enable / Disable Users
Sep11

PowerShell: Bulk Enable / Disable Users

KB ID 0001469 Problem I needed to work out how to bulk disable some domain users from a .CSV file this week, so I thought I’d write it up. Disable Domain Users in Bulk from CSV Well firstly, you need to have your users in a CSV file. For the live job I just exported all the SamAccountNames to a CSV, but here for testing I just loaded a few in manually; Then execute the following two commands; Import-Module ActiveDirectory ...

Read More
Scheduled Task Error 0x1
Aug10

Scheduled Task Error 0x1

KB ID 0001457 Problem While replacing a server, I copied over some scripts, (batch files) the client was using to back up some data. I scheduled them on the new server, but noticed they were finishing with a status of 0x1. (and not actually backing anything up!) Solution Edit the properties of the job > General Tab > Tick “Run with the highest privileges”. Note: You can also tick “Do not store password. This...

Read More
Windows Server – Fails Installing .Net 3.5
Aug04

Windows Server – Fails Installing .Net 3.5

KB ID 0000924  Problem I needed to add .Net 3.5 to a Windows Server for an application install, but when I added it as a ‘feature’ it failed. Server 2016 The request to add or remove features on the specified server failed. The source files could not be found. Use the “Source” option to specify the location of the files that are required to restore the feature. For more information on specifying a source...

Read More
IIS – Cannot Download File From Website (With Extension .xyz)
Aug02

IIS – Cannot Download File From Website (With Extension .xyz)

KB ID 0001223  Problem I first saw this problem a few months ago, when I wasted to download some .bin and .pkg files from a web server running IIS, into a Cisco firewall. Then again this week I needed to get a large .iso file into a clients network so I put it on a publicly accessible web server running IIS, and had the problem again.   Solution On the IIS server, open administrative tools > Internet Information Services (IIS)...

Read More
VMware Workstation – Deploying Server 2012 and Windows 8 ‘Linked Clones’ from Templates
Nov17

VMware Workstation – Deploying Server 2012 and Windows 8 ‘Linked Clones’ from Templates

KB ID 0000953  Problem VMware Workstation, is a great test tool, if i need to take a look at some new software, or plan how I’m going to do a job, and I don’t have access to the ESX server, or test bench, it’s a great tool to have on my laptop. If you build machines form scratch, every time you need one it can take a while. To address that you can create a template and deploy machines from that. To make things even...

Read More