Deploy Google Chrome

Google now allows for you to get an MSI of Chrome for deployment to your organization. You can get the MSI by clicking the link below.

http://www.google.com/chrome/eula.html?msi=true

Once you have the MSI you simply have to run it to install Chrome. As of right now there are no parameters needed. Obviously you can get the uninstall string from the registry to perform mass uninstalls of it.

Reading WMI Information

When creating task sequences you’ll find yourself using alot of WMI filters to determine if a certain task needs ran on a machine. I’ve found WMI Reader to be an excellent tool to dig through WMI. It can be downloaded for free from softpedia.

Have your task sequence prompt for a computer name.

In the current environment I manage we name all of our physical PC’s by their serial number, however when it comes to virtual machines, naming the computer using a serial number doesn’t work out so well.

The solution I’ve come up with for this issue is a simple vbscript. The way I have the task sequence configured is that at the beginning the vbscript is ran and prompts for a computer name. It then takes what is entered and replaces the task sequence variable “OSDComputerName” with what was entered. The vbscript task only runs on machines where the model equals something like Virtual Machine or VMware, thus preventing the script from running on a physical machine.

Deploying Server 2008 R2 Std via SCCM

I was asked to create a deployment for Server 2008 R2 today. I figured it would be easy as hell, however that wasn’t the case. The task sequence kept throwing an error on the “Setup Windows and ConfigMgr task. Ends up it was due to the product key. After messing around with the TS over and over again, I found that if I removed the product key the TS would finish successfully. I ended up finding out that the copy of Server 2008 R2 that I got off my companies licensing site doesn’t allow for a MAK key to be entered during setup. After some more searching online however I found a way to input the MAK key another way so that when the OS went to automatically activate itself it wouldn’t throw an error.

What you need to do is add a Run Command Line task to your TS that comes after the OS is already installed. Put in the command line “SLMGR.VBS -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX” and then tell it to start in %system root%system32.

By doing that you’re specifying a product key to be used during automatic activation.

ConfigMgr Console | The RPC Server is unavailable

In the event that you get the error

The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

when trying to launch the ConfigMgr console on a remote machine, the following is probably what’s going on.

You’re probably running Configuration Manager on a Server 2008 host, and you haven’t unblocked Remote Administration in the Windows Firewall. Either unblock that, or disable the Windows Firewall. Whichever you decide to do should fix your problem and allow you to manage ConfigMgr remotely.

Have Windows XP run PnP scan after XP installation

If you ever have the need to have Windows XP do a PnP scan after the Windows XP installation during a task sequence, you can run the following command line.

rundll32.exe Syssetup.dll,UpdatePnpDeviceDrivers

The only thing you should be aware of is if the PnP scan detects hardware and you’re missing all or part of the driver for that hardware, a pop-up asking for the driver location will halt your task sequence until you click Cancel. Or, in the case that the driver in question is your NIC, you task sequence will fail.