DenisBS
You code is designed to tell you who is logged on currently and relies on being able to pass your credentials (domain admin) to the remote machine.
When I tried this code using a domain admin account it works fine, when I use a non-priv account I get a failure at line 2 (as expected):
Error: 0x80041003 refers to access denied, which suggests that either you don't have the rights (as suggested above)
There is a good paper on WMI errors here: http://msdn.microsoft.com/
Cheers
JamesDS
Main Topics
Browse All Topics





by: JamesDSPosted on 2004-05-14 at 05:28:25ID: 11067569
DenisBS
Is domain admins still in the local admins group on the remote machines?
Cheers
JamesDS