Unable to execute VB Script on Remote System

If you’re facing problem while executing VB Script on Remote System, few of possible errors1. Memory Unavailable – DCOM Ports are not available on the host where the script is scheduled to execute

2. RPC Unavailable – Windows Firewall or any other firewall might be running on remote system. Enable RPC ports in Firewall.

WBEMTEST can be used to check if WMI is working on remote system. WBEMTest.exe is included on every computer that has WMI installed. You can use it to quickly explore or confirm WMI details. However, WBEMTest.exe is only designed to be a support tool and has little support for browsing classes or instances.

*** Ensure that the account you’re using has Administrator Privileges on remote system and Remote Registry is enabled
A quick tutorial on WBEMTEST:

http://www.computerperformance.co.uk/vbscript/wmi_wbemtest.htm

Enable Disk Counters

How to enable disk counters in perfmon.?

If you are unable to load/see disk related performance counters in your system, you can use the command below.

DISKPERF [-Y[DV] -N[DV]] [\\computername]
-Y Sets the system to start all disk performance counters when the system is restarted.
-YD Enables the disk performance counters for physical drives when the system is restarted.
-YV Enables the disk performance counters for logical drives or storage volumes when the system is restarted.
-N Sets the system to disable all disk performance counters when the system is restarted.
-ND Disables the disk performance counters for physical drives.
-NV Disables the disk performance counters for logical drives.
file://computername/ Is the name of the computer you want to see or set disk performance counter use.
The computer must be a Windows 2000 system. NOTE: Disk performance counters are permanently enabled on systems beyond Windows 2000.

To Enable Disk Counters From Registry

1.Open a registry editor.

2.Navigate to: HKLM\SYSTEM\CurrentControlSet\Services\Perfdisk\Performance

3.In the right pane, double-click Disable Performance Counters and set it to a value of 0. Alternatively, you can delete the Disable Performance Counters entry to re-enable the counters.

4.Exit the registry editor and restart any application that collects performance data for the change to take effect.