Install MSI File Remotely

I recently asked to find a way to deploy SolarWinds agent to about 200 servers. As I’m familiar with PowerShell, I wrote a short script below to install the agent remotely from my workstation. ‘

CMApps Lockup

While working with SCCM console which has many sub-folders under Applications , we sometimes have problem locating the applications. To make thing easier for our team, I wrote a simple application in PowerShell to do that.    

Create CM Colloction Using PowerShell

I recently had a task to create 20 CM device collections for an application deployment. Instead of creating the collections manually, which would burn my eye, I wrote a PowerShell script to do that for me. Here is an example of how to make and populate a SCCM machine and user collection.   Have fun!

Build a PowerShell CM Application

Today I did some testing with installing an application in SCCM using PowerShell. I found out a few interested things and I want to share it with you guys. In order for an application to be successfully installed, there are few things that we have to setup. 1. Change the PowerShell execution policy From Client …

Suppress Reboot When Updating VMware Tools

Today I found two ways to avoid rebooting a virtual machine when updating its vmware tool. This helps me to save time when I do not have to coordinate time with the owner of the servers. Using Advanced Option After click on the Install/Upgrade Tools, enter the following command to suppress the reboot. /S /v/qn …

Error – Another version of this product is already installed

Today, I got an weird error message when trying to remove/install Adobe Pro XI on a user’s machine. It said that another version of this product is already installed. Here’s the symptom. The app is installed but no icon is shown up in Start Menu No icon in Add/Remove Program The GUID is under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall All …

Restore User Registry

Today I did a bad mistake on a user machine. After loading the user’s HKCU in regedit to check for some settings, I accidentally deleted it. After that, the user cannot login to the machine because her profile was corrupted. I tried to run the system restore but that did not help at all. Ah… I finally …

Remove a printer

In our Microsoft Office 365 v2016 C2R deployment , we have to delete the local “Send To OneNote 2013” printer. This printer was created when we installed Office 2013. After a little bit of searching, I found out 3 ways to delete a printer. Using command line You can use the command to remove a printer. Local printer: rundll32 printui.dll,PrintUIEntry /dl /n “printer-name” /q Network printer: rundll32 …

Fix SCCM Client Installation Error 0x80041002

Today, I had problem installing CM client on a machine. Both manual install and client push methods did not work. I checked the ccm.log file on the SCCM server and found this error. The error code indicates that the WMI repository on the client is broken. In order to fix this error, we have to rebuild …

AWU Lookup

Written in C#, this application scans the Uninstall registry keys under HKLM to find all information about installed applications on a machine. It’s very helpful when we want to look for the UninstallString, which can be used as the uninstall command of a SCCM application. I wrote this application because it takes too long for me to look …