JohnBoy2005
Programmer
I'm trying to connect to my webserver using an asp\vbscript script
strComputer = "webserver"
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objSWbemServices = objSWbemLocator.ConnectServer _
(strComputer, "root\cimv2", "test", "test")
objSWbemServices.Security_.ImpersonationLevel = 3
The following error is returned
"SWbemLocator error '80041064'
User credentials cannot be used for local connections"
The server doesnt have active directory installed, I'm trying to use WMI to create a new user.
Any ideas
John
strComputer = "webserver"
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objSWbemServices = objSWbemLocator.ConnectServer _
(strComputer, "root\cimv2", "test", "test")
objSWbemServices.Security_.ImpersonationLevel = 3
The following error is returned
"SWbemLocator error '80041064'
User credentials cannot be used for local connections"
The server doesnt have active directory installed, I'm trying to use WMI to create a new user.
Any ideas
John