Access Denied Please help!!!

A

Aruna Tennakoon

Hi guys,

When I am connting to Windows XP (SP1 Installed) PC I am getting "Access
Denied" error message but when I connect to Windows 2000 it get
connects...This is the code...

Administrator UserID and the Password is okey .....


Set locatorObj = CreateObject("WbemScripting.SWbemLocator")
Set providerObj = locatorObj.ConnectServer("PHUKET", "root\cimv2",
"PHUKET\Admin", "admin")

what could be the reson ? please help... I apprecate your time .....

Thanks
-Aruna
 
T

Torgeir Bakken \(MVP\)

Aruna said:
Hi guys,

When I am connting to Windows XP (SP1 Installed) PC I am getting "Access
Denied" error message but when I connect to Windows 2000 it get
connects...This is the code...

Administrator UserID and the Password is okey .....


Set locatorObj = CreateObject("WbemScripting.SWbemLocator")
Set providerObj = locatorObj.ConnectServer("PHUKET", "root\cimv2",
"PHUKET\Admin", "admin")

what could be the reson ? please help... I apprecate your time .....
Hi,

If this is computers in a workgroup setting, it could be a
ForceGuest issue:
http://groups.google.co.uk/group/mi...admin/msg/fa79ab12b3e2c2f8?dmode=source&hl=en
 
A

Aruna Tennakoon

Thanks it's okey now.. I set the key to 0 and it worked thanks alot for your
help

-Aruna
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top