Skip to main content

How to add users to the Remote Computers local Administrators groups

· 2 min read
  1. First you need to download – PSEXEC – a command line tool that will allow you to execute commands on remote workstations.

  2. Once downloaded open My Computer/Computer and navigate to: C:\Windows\System32 on your local machine.

  3. Extract the zip file contents to the System32 folder (this will allow you to run the psexec command from any folder within Command Prompt).

  4. Navigate to your Documents or Desktop and create a new txt file called: computernames.txt

  5. In the computernames.txt document – add (one in each new line) the computer names that you will like to add the user to the Administrators group of.

  6. Once they have been added – save the time with the computer names.

  7. Now we need to create a batch script – open a new Notepad document and in the first line type:

    PSEXEC.EXE @computernames.txt NET LOCALGROUP Administrators DOMAIN**USERID** /ADD

  8. Replace – DOMAIN & USERID with the user you would like to add.

  9. Press File and click Save As and type in: “addusers_multiple.bat”

  10. This will save the file as a batch script

  11. Now – run the script to start importing the users into the remote computers local administrators group.

Note: Proper syntac allows for the group name to be set like ” NET LOCALGROUP “Administrators” – however my test on a Windows XP workstation didn’t like the “” so I got rid of them – if you encounter an error with unable to find local group – re add them around the group name in the script.

Note: Tested on Windows 7 workstations without an issue.

How to setup delegation in VMWare Service Manager

· One min read
  1. Open VMWare Service Manager
  2. Open the managers People record
  3. On the left hand menu select Delegation
  4. Click Add – and add the user that you want to delegate approval to.
  5. Select Notify Delegate to send an email to the delegate so they are aware of the change. Make sure Activate Delegation is ticked.
  6. You have now setup delegation!

Remove unused user profiles on a remote Windows workstation

· 2 min read

Note: The intended guide for this audience is a Help Desk or Service Desk – this is intended for a domain setup with the user having local administration rights on the workstation.

  1. First, you need to download tool called: Delprof2 (this is a remake of the Microsoft Delprof utility that Microsoft had dropped support & updates for)
  2. Once downloaded open My Computer/Computer and navigate to c:\Windows\System32 on your local machine.
  3. Extract the delprof2 zip file & folder and copy DelProf2.exe to the folder you opened earlier – c:\Windows\System32
  4. Now – open command prompt – click Start, Run and type in cmd and press Enter (For Windows 7 workstations – you can type Command in the search field or press the Windows Key + R to open the run dialog box).
  5. REMEMBER to make sure the profiles are backed up first – this will completely remove the local cache – use the syntax: delprof2 /u /r /c:computername and press Enter. This will connect to the remote workstation you specified in the “computername” field and remove all locally cached profiles that are not being used. It will also clear up remote registry entries making this a useful & easy tool for clearing up Roaming Profiles in Windows 7-10.

You can also run: delprof2 /u /d:30 /c:computername

Note: What I have done in the past is create a batch script that will clear up remote profiles from workstations & add this to a scheduled task – in conjunction with SCCM disk reporting this is useful for keeping on top of workstation’s HDD space.

How to install Google Apps onto CyanogenMod

· 2 min read

Note: This is usually – for the nightly builds. The stable builds seem to have Google integration.

Note: Please backup your phone beforehand – I take no responsibility if your phone fails to boot.

  1. First thing is first – download Gapps (
  2. Plug your Android phone into your computer
  3. Open My Computer/Computer & navigate to the Download folder
  4. Create a folder in the Downloads folder called: gapps
  5. Copy the downloaded Gapps zip file (leave as is – do not uncompress) into the folder
  6. Once copied turn your Android phone off.
  7. Now you need to boot into the phones Recovery mode – for the Samsung Galaxy phones & Clockwork Recovery press Power & Volume Up button at the same time to boot the phone and open Recovery mode.
  8. Once in Recovery mode – navigate to: -install zip
  9. Select – install zip from /sdcard
  10. Select the Gapps zip file
  11. Select Yes – Install Gapps
  12. It will go then go the copying process and uncompress the zip & install Gapps.
  13. Once completed – it will say: Install from SD Card Complete.
  14. Navigate back to the root menu of Recovery Mode & select Reboot System Now.
  15. The android device will restart and you will see “Android is upgrading.”
  16. Congratulations you have now installed GApps onto your Android device and should now have access to Google Play & Gmail.

How to repair an App-V application

· One min read
  1. In Windows – click on the notification tray by the time.
  2. Double click on the Microsoft Application Virtualization (App-V) client
  3. You will be greeted with the Virtual Application Management dialog – press VIRTUAL APPS
  4. On the right hand side – under the progress bar select Repair
  5. This will start a Repair-AppvClientPackage script to repair & redeploy; the application back to the user.

Note: The repair will not work if the application process is running. Make sure it is fully closed in the Windows task manager before attempting the repair.