Skip to main content

252 posts tagged with "Windows"

View All Tags

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 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.

Reset Windows 7/8 Firewall to its default state

· One min read

Note: You need the rights to be able to run an elevated Command Prompt.

Windows 7

  1. Click Start
  2. Click All Programs
  3. Click Accessories
  4. Right click Command Prompt
  5. Select Run as Administrator
  6. In the command prompt type: netsh advfirewall reset
  7. Press Enter to reset your firewall rules to their default state

Windows 8

  1. Press the Windows key to open the charm interface
  2. Type in: command
  3. Right click Command Prompt
  4. Select Run as Administrator
  5. In the command prompt type: netsh advfirewall reset
  6. Press Enter to reset your firewall rules to their default state

How to create an SSH tunnel with PuTTY

· One min read

Open PuTTY

Create a new PuTTY session to the remote server

Enter in the server details

Save session

Click on Connection

Click on SSH and select Tunnels

In the source field enter the port you would like to forward. In the section below, select Dynamic and Auto.

Click Add

Go to the main PuTTY session dialog, and save the changes you have made.

Press Open to open your Putty session and login if it asks for the details.

Now you need to configure the application you are trying to tunnel

For example, in Internet Explorer, click Tools, Internet Options, click Connections, Choose LAN Settings and change the proxy to localhost

(SOCKS5 as Proxy type if asked) and enter the port that you were forwarding into the port information.

Save and you should now be routing your traffic through the tunnel

Unix You can use the following command to enable an SSH Tunnel on a Linux machine: ssh -D localhost:PORT [email protected]