Welcome to ServerForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Scriptomatic v2.0

 
   Windows Server (Home) -> Windows Server Scripting RSS
Next:  Adding users to a new group via for loop  
Author Message
RavonTUS

External


Since: Apr 12, 2005
Posts: 2



(Msg. 1) Posted: Tue Apr 12, 2005 12:27 pm
Post subject: Scriptomatic v2.0
Archived from groups: microsoft>public>windows>server>scripting (more info?)

Greetings,

When I run Scriptomatic v2.0, I get the following error message...

Runtime Error has occurred.
Line: 176
Error: Could not complete the operation due to error 80041003

I looked at line 176 and it reads...

strComputer = "."

Nothing fancy there, any suggestions why it doesn't want to run?

-Ravon

 >> Stay informed about: Scriptomatic v2.0 
Back to top
Login to vote
Michael Harris (MVP)

External


Since: Dec 18, 2005
Posts: 138



(Msg. 2) Posted: Tue Apr 12, 2005 5:09 pm
Post subject: Re: Scriptomatic v2.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

RavonTUS wrote:
> Greetings,
>
> When I run Scriptomatic v2.0, I get the following error message...
>
> Runtime Error has occurred.
> Line: 176
> Error: Could not complete the operation due to error 80041003
>
> I looked at line 176 and it reads...
>
> strComputer = "."
>
> Nothing fancy there, any suggestions why it doesn't want to run?

The error line number reported by mshta.exe (like iexplore.exe) is a 0 based
line number so look at line 177 (the GetObject call)...

WBEM_E_ACCESS_DENIED 0x80041003
Current user does not have permission to perform the action.

You appear to be trying to connect to a server other than the local machine.
You need to be an admin on remote machines to access them via WMI...

--
Michael Harris
Microsoft MVP Scripting
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please ask follow-up questions via the original newsgroup thread.

 >> Stay informed about: Scriptomatic v2.0 
Back to top
Login to vote
Corné Bogaarts

External


Since: Mar 09, 2005
Posts: 76



(Msg. 3) Posted: Wed Apr 13, 2005 6:56 am
Post subject: Re: Scriptomatic v2.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Apperently he's not local admin on his PC.

On Tue, 12 Apr 2005 17:09:37 -0700, "Michael Harris \(MVP\)" <mikhar
at mvps dot org> wrote:

>RavonTUS wrote:
>> Greetings,
>>
>> When I run Scriptomatic v2.0, I get the following error message...
>>
>> Runtime Error has occurred.
>> Line: 176
>> Error: Could not complete the operation due to error 80041003
>>
>> I looked at line 176 and it reads...
>>
>> strComputer = "."
>>
>> Nothing fancy there, any suggestions why it doesn't want to run?
>
>The error line number reported by mshta.exe (like iexplore.exe) is a 0 based
>line number so look at line 177 (the GetObject call)...
>
>WBEM_E_ACCESS_DENIED 0x80041003
>Current user does not have permission to perform the action.
>
>You appear to be trying to connect to a server other than the local machine.
>You need to be an admin on remote machines to access them via WMI...
 >> Stay informed about: Scriptomatic v2.0 
Back to top
Login to vote
RavonTUS

External


Since: Apr 12, 2005
Posts: 2



(Msg. 4) Posted: Thu Apr 14, 2005 1:27 pm
Post subject: Re: Scriptomatic v2.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you

You are correct. I was using my power user account, not admin.

-Ravon

"Corni Bogaarts" wrote:

> Apperently he's not local admin on his PC.
>
> On Tue, 12 Apr 2005 17:09:37 -0700, "Michael Harris \(MVP\)" <mikhar
> at mvps dot org> wrote:
>
> >RavonTUS wrote:
> >> Greetings,
> >>
> >> When I run Scriptomatic v2.0, I get the following error message...
> >>
> >> Runtime Error has occurred.
> >> Line: 176
> >> Error: Could not complete the operation due to error 80041003
> >>
> >> I looked at line 176 and it reads...
> >>
> >> strComputer = "."
> >>
> >> Nothing fancy there, any suggestions why it doesn't want to run?
> >
> >The error line number reported by mshta.exe (like iexplore.exe) is a 0 based
> >line number so look at line 177 (the GetObject call)...
> >
> >WBEM_E_ACCESS_DENIED 0x80041003
> >Current user does not have permission to perform the action.
> >
> >You appear to be trying to connect to a server other than the local machine.
> >You need to be an admin on remote machines to access them via WMI...
>
>
 >> Stay informed about: Scriptomatic v2.0 
Back to top
Login to vote
Petunya

External


Since: Dec 12, 2007
Posts: 1



(Msg. 5) Posted: Wed Dec 12, 2007 2:37 pm
Post subject: Re: Scriptomatic v2.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

it is possible to gain remote WMI access to user without local
administrator rights?


--
Petunya
------------------------------------------------------------------------
Petunya's Profile: http://forums.techarena.in/member.php?userid=37117
View this thread: http://forums.techarena.in/showthread.php?t=80108

http://forums.techarena.in
 >> Stay informed about: Scriptomatic v2.0 
Back to top
Login to vote
Richard Mueller [MVP]

External


Since: Dec 12, 2007
Posts: 45



(Msg. 6) Posted: Wed Dec 12, 2007 2:37 pm
Post subject: Re: Scriptomatic v2.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Petunya" wrote in message

>
> it is possible to gain remote WMI access to user without local
> administrator rights?
>

No. Otherwise hackers could do great damage. By default when a computer is
joined to an AD domain, the domain group "Domain Admins" is added to the
local Administrators group. This gives all members of "Domain Admins"
permissions on the local computer.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--
 >> Stay informed about: Scriptomatic v2.0 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
WMI-> oMaster.Printers 800706BA RPC server unavailable - I'm looking for a solution to quering my 4 print servers which have 1400 printers on each one. The script works great on the initial server but when it tries to go to next server (Server02), it comes back with the RPC error. It then continues the loop an...

Progress Bar - Hi Does anyone know how to create a progress bar in VBScript? I'm copying three files using VBS and would like to preview a progress bar for the users. Thanks in advance.

changing local account passwords in ASP - Hello! I am trying to create a script to run in an ASP page that will allow a user to change a password for identical LOCAL accounts on two servers. The code I am using I got from the Technet script example but it won't run in ASP. It is: Set objUse...

Batch Programming Woes. OS Checker - I have created a batch file to set a variable for different OS's. (Other than the Standard Ones) REM Begin~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @echo off cls echo Stand by inspecting your system. echo. echo OS check :check1 for /f "usebackq..

Is it possible? Remotely executing a process... - Is it possible to remotely execute a process via WMI using alternate credentials? This is really stumping me. I am writing a program to automatically push out MS patches. It works great for domain machines... using the following. Set objWMIServic...
   Windows Server (Home) -> Windows Server Scripting All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]