|
|
![]() |
|
|
Top | #1 |
|
OSNN Junior Addict
Joined: October 2006
Posts: 12
Reputation: 0
Power: 68 |
Set objWMIService = GetObject("winmgmts:\\pc_name\root\CIMV2") Thanks Chris |
|
|
|
|
|
Top | #2 |
|
XPista7eopard*ix
Joined: April 2004
Location: Chicagoland
Posts: 4,028
Reputation: 2947
Power: 168 |
hmm.. maybe not having permission to the computer you are trying to connect to?
Are you running the script under an account that has admin rights to the remote computer? |
|
|
|
|
|
Top | #3 |
|
OSNN Junior Addict
Joined: October 2006
Posts: 12
Reputation: 0
Power: 68 |
yup... a domain admin
|
|
|
|
|
|
Top | #4 |
|
XPista7eopard*ix
Joined: April 2004
Location: Chicagoland
Posts: 4,028
Reputation: 2947
Power: 168 |
And are you sure the domain admins group has rights to access to the remote computer?
What OS is the remote computer running? What OS is the system you are running the script on? Are there firewalls involved? Client side or network side? Are you trying to do double hop authentication? What is the exact error message you are getting (ie: err.number and err.description)? Is it just one computer? or all computers throwing this error back? Does it work connecting to the local computer? Have you tried just connecting to the computer and not specifiing the namespace (ie: not \root\CIMV2)?) Have you tried explicitly defining the authentication/impersonation level? and/or explicitly defining username/password in your connection? Have you tried just using IP address instead of computername? Can you provide a little more info to try to help? |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script Host: Permission Denied: 'GetObject' | Punkrulz | Web Design & Coding | 12 | March 17th, 2007 6:30pm |
| Windows Permission | Jz1397-5 | Windows Desktop Systems | 3 | March 15th, 2004 9:42pm |
| Write Permission in XP? | Temperal | Windows Desktop Systems | 3 | April 13th, 2003 4:36pm |
| Permission denied | fluppel | Windows Desktop Systems | 4 | August 20th, 2002 4:03pm |
| Permission denied to shared My Documents on network :( | vladg | Windows Desktop Systems | 3 | December 14th, 2001 2:48am |