My problem is I need to detect if a server is running, I tried using detect if file exists and it worked just fine on my Administrator box, but when I tried it on a computer with less access it isnt working, so Im thinking I have a permisions problem with this method, is there any other way to check if another computer is up and running without detecting a folder or file? Here is what I have.

VB Code:
  1. Dim TheFile2 As String
  2.             Dim Results2 As String
  3.  
  4.             TheFile2 = "\\mga-ts1\C$\Shell\testpacket.txt"
  5.             Results2 = Dir$(TheFile2)
  6.             '============================================
  7.  
  8.             'Change icons to display connectivity =======
  9.  
  10.             If Results2 = "" Then
  11.                 picMGATS1.Image = picDisabled.Image
  12.                 mgats1status = 0
  13.             Else
  14.                 picMGATS1.Image = picEnabled.Image
  15.                 mgats1status = 1
  16.             End If
  17.         End If