TechShizz | All posts tagged 'Remote Management'

Can't find the vSphere client downloads?


Download vSphere Client 5.5. Update 3: VMware-viclient-all-5.5.0-3024345.exe

Download vSphere Client 5.5 Update 2: VMware-viclient-all-5.5.0-1993072.exe

Download vSphere Client 5.5 Update 1b: VMware-viclient-all-5.5.0-1880841.exe

Download vSphere Client 5.5 Update 1VMware-viclient-all-5.5.0-1618071.exe

Download vSphere Client 5.5: VMware-viclient-all-5.5.0-1281650.exe

Windows 10 VPN shortcut

Here is a quick way to launch a VPN connection in Windows 10.

Create a folder somewhere tidy then create a batch file for each connection as follows:

@echo off
rasdial "My VPN connection name here"
Give it a nice Icon, and then once you have compiled all of the VPN connections add the folder to your task bar for a nice pop up list of all your VPNs!

LDAP Queries for Users and Computers Snap-in mmc.exe

Find Groups that contains the word admin


Find users who have admin in description field


Find all Universal Groups


Empty Groups with No Members


Find all User with the name Bob


Find user accounts with passwords set to never expire


Find all users that never log in to domain



Find user accounts with no log on script



Find user accounts with no profile path



Finds non disabled accounts that must change their password at next logon



Finds all disabled accounts in active directory



Finds all locked out accounts



Finds Domain Local Groups



Finds all Users with Email Address set



Finds all Users with no Email Address



Find all Users, Groups or Contacts where Company or Description is Contractors



Find all Users with Mobile numbers 712 or 155



Find all Users with Dial-In permissions



Find All printers with Color printing capability

Note: server name must be changed



Find Users Mailboxes Overriding Exchange Size Limit Policies



Find all Users that need to change password on next login.



Find all Users that are almost Locked-Out

Notice the “>=” that means “Greater than or equal to”.



Find all Computers that do not have a Description



Find all users with Hidden Mailboxes



Find all Windows 2000 SP4 computers

(&(&(&(objectCategory=Computer)(operatingSystem=Windows 2000 Professional)(operatingSystemServicePack=Service Pack 4))))


Find all Windows XP SP2 computers

(&(&(&(&(&(&(&(objectCategory=Computer)(operatingSystem=Windows XP Professional)(operatingSystemServicePack=Service Pack 2))))))))


Find all Windows XP SP3 computers

(&(&(&(&(&(&(&(objectCategory=Computer)(operatingSystem=Windows XP Professional)(operatingSystemServicePack=Service Pack 3))))))))


Find all Vista SP1 computers

(&(&(&(&(sAMAccountType=805306369)(objectCategory=computer)(operatingSystem=Windows Vista*)(operatingSystemServicePack=Service Pack 1)))))


Find All Workstations



Find all 2003 Servers Non-DCs

(&(&(&(samAccountType=805306369)(!(primaryGroupId=516)))(objectCategory=computer)(operatingSystem=Windows Server 2003*)))


Find all 2003 Servers – DCs

(&(&(&(samAccountType=805306369)(primaryGroupID=516)(objectCategory=computer)(operatingSystem=Windows Server 2003*))))


Find all Server 2008

(&(&(&(&(samAccountType=805306369)(!(primaryGroupId=516)))(objectCategory=computer)(operatingSystem=Windows Server 2008*))))

Useful Commands

Kill a process on a remote computer

taskkill /s {hostname} /f /im winword.exe

See a list of processes on a remote computer

Tasklist /s {hostname} | sort

Cd \program files\microsoft\office14\       >       Outlook /clearviews  /safe


Resets all network adapters

netsh int reset all

Repair and applicaion via CLI - (MSI required)

Repair from CLI:  <path>\<exe/msifile> /q REINSTALL=ALL REINSTALLMODE=secum REBOOT=R


Install a driver via CLI

Install driver/App: msiexec /I "c:\%MSI%" /quiet /promptrestart /l* C:\installlog.txt


Windows Services

Query services

Sc query

Stop & start the spooler

Sc spooler stop

Sc spooler start

If you get operating system errors, run system file checker to try to repair critical OS files

System File Checker: SFC /Scannow


Show free disc space

fsutil volume diskfree c


Clean Disk  -   c:\windows\cleanmgr.exe /d c:



Change RDP listening Port

To change the RDP listening port, go to this location in the registry:


Change the value to the port you want.