Home

Blog, Powershell

Powershell: Script for checking Execution Policy and forcing a change if needed

Here is a Powershell script you can use if you want to check what the Execution Policy on the machine is set to and if it isn’t equal to what you want, it will change it for you. In this example, the script checks if the Execution-Policy is set to RemoteSigned, and if it is not, it will change it to RemoteSigned. Note that running this script won’t work if the Execution Policy is set to Restricted, which is the…

Read more
Blog

Guide: How to delete Windows.old in Windows 8.1

If you have upgraded from Windows 8 to Windows 8.1 you might have noticed that there is a directory under the System Drive called Windows.old. This folder contains the contents from the previously installed Operating System, and can safely be removed if you haven’t placed anything in the Windows directory that you need to retrieve. Here is how you remove it: 1. Open Windows Explorer 2. Right-click C: and select Properties 3. Select Disk Cleanup 4. In order for you…

Read more
Blog, Hyper-V, Windows 10

2 solutions for solving issue with Hyper-V Virtual Machine and Secure Boot on non-supported Operating Systems

INTRODUCTION I ran in to this problem the other day when trying to run Windows Server 2008 R2 in Hyper-V: Boot Failed. EFI SCSI Device. Failed Secure Boot Verification The reason for this was that I had created a Generation 2 Virtual Machines which uses Secure Boot which is supported in Windows 8, Windows Server 2012 and later. SOLUTIONS SOLUTION #1 If you want to run an older operating system as a guest, select Generation 1 when creating the Virtual Machine:…

Read more
Blog, Powershell

Powershell Script to Create a Menu in the Console

INTRODUCTION This is the second blog post about Powershell and there will most likely be a lot more because, frankly, Powershell is awesome 🙂 If you are creating a script and want the user to be able to select between different choices, you can either have a pop up or use a menu selection in the console. I prefer a menu selection in the console. You can add more choices than two if you have the need to. SOLUTION Download:…

Read more
Blog, Powershell

Powershell Script to Add Resources to Local Administrator Group

Here is a simple Powershell script that I created, if you need to add domain computer accounts, users or groups to the local administrator group.The script should be run locally on the computer on which you want the accounts to be added to the local administrator group. Download: add_to_local_administrator.zip

Read more
Blog

Issue with mounting new ISO files from TechNet in Windows 8 and Windows 8.1 Preview

Yesterday, I downloaded Windows 8.1 Enterprise Preview, so I could install it on my Surface Pro. I went to TechNet, downloaded the ISO, everything seemed fine, but then I tried to mount the ISO. This is the error that I received: “Sorry, there was a problem mounting the file.” I thought that it might have been my download that was corrupt, so I downloaded it once again, tried to mount it, but still with the same error. My conclusion was…

Read more
Blog

Guide: How to run Internet Explorer in another version

If you have a website that does not work in the version of Internet Explorer that you are running, or if you want to test a website in another version, there is a simple way to do this. This example is with Internet Explorer 9 Start by pressing F12 to go in to Developer Mode. Next, press Browser Mode: IE9 From here, you can select which version of Internet Explorer you want to run.  

Read more
Blog, Configuration Manager 2007

Issue: Unable to add a Distribution Point to a package in SCCM 2007

  This is just a quick blog post on an issue in SCCM 2007 that I’ve seen a couple of times. You create a new package and then try to add a Distribution Point to it. Nothing happens… In my experience, these are the main two reasons for this happening: 1. The package source is missing or wrong 2. There is a file locked in the source directory

Read more
Blog, Configuration Manager 2007

Guide: How to force clients to re-run an advertisement in SCCM 2007

In SCCM 2007, once a client has run an advertisement, it will not run it again by default. If you want to force the clients to rerun the advertisement automatically, you have to change the date of the schedule for the advertisement. Here’s how you do it: Start by going to Computer Management -> Software Distribution -> Advertisements -> Select the Advertiement -> Right-Click -> Properties Go to the “Schedule” tab. In order to force the clients to re-run an…

Read more