|
| ||||||||||
| Tags: vbscript |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Microsoft VBScript runtime error: Permission denied: 'GetObject'
I am trying to run the following program in a Windows 2000 machine.I am getting the error as " Microsoft VBScript runtime error: Permission denied: 'GetObject'".Please suggest me something. Option Explicit Dim refWMIService Dim objComputer Dim colComputer 'get a reference to the SWbemServices object set refWMIService = GetObject("winMgmts:\\ipaddress") Set colComputer = refWMIService.ExecQuery _ ("Select * from Win32_ComputerSystem") For Each objComputer in colComputer Wscript.Echo objComputer.UserName Next The purpose of the above program is to output the logged on user for the computer being queried. |
|
#2
| ||||
| ||||
|
maybe this could help a bit : http://support.microsoft.com/kb/251361
__________________ Education, Career and Job Discussions Forum |
|
#3
| ||||
| ||||
|
#4
| |||
| |||
|
Thanks for the reply.I tried whatever mentioned in the link..But it didn't work.. ![]() |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Microsoft VBScript runtime error: Permission denied: 'GetObject'" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Microsoft VBscript Runtime Error Message in windows XP | HALLBJORN | Portable Devices | 4 | 07-12-2010 09:29 AM |
| Using Internet Explorer gives Microsoft Visual C++ Runtime Library Runtime Error | Abejar | Windows Software | 3 | 22-04-2009 11:02 PM |
| Microsoft VBScript runtime error '800a0046' - WMSSERVER | Paul | MediaCenter | 2 | 01-02-2008 02:06 AM |
| VBScript runtime error installing MS Win Installer Cleanup Utility | Han's Son | Vista Setup and Install | 1 | 05-11-2007 01:12 PM |
| VBScript runtime error: 800A0046 Permission denied: 'GetObject'" | SKREECH | Active Directory | 3 | 08-03-2006 01:41 AM |