brianh
March 3rd, 2003, 12:25 PM
I am Trying to run the following code in a vbscript file:
Set Locator = CreateObject("WbemScripting.SWbemLocator")
Set Service = Locator.ConnectServer("Dshsdblcy4000b", "" )
I just want to connect to our SQL server and read the HD (size, partition, etc). I keep getting an access denied error. I have a user account on the machine. What kind of rights do I need?
Set Locator = CreateObject("WbemScripting.SWbemLocator")
Set Service = Locator.ConnectServer("Dshsdblcy4000b", "" )
I just want to connect to our SQL server and read the HD (size, partition, etc). I keep getting an access denied error. I have a user account on the machine. What kind of rights do I need?