Re: WMI script ran as LocalSystem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Scott,

Thanks for the interest Gerry. Funny thing is that Win2k3 SP1 works....

When you say the "script reports Access Denied", what does that mean exactly? What does the script look like at this point and what line gives this error? How did you get it to run as "LocalSystem" and what kind of scheduler did you use?


"Gerry Hickman" <gerry666uk@xxxxxxxxxxx> wrote in message news:eFCpNoWjFHA.2852@xxxxxxxxxxxxxxxxxxxxxxx

Hi Scott,

That's an interesting one. You can set a domain account with "hidden" password if you use the GUI scheduler, but I don't know about LocalSystem.

Scott wrote:

I have a script that I want to launch at various time through out the day so I want to use Scheduler but the script reports "Access Denied". The script runs fine under Admin account but not as LocalSystem and it runs fine as LocalSystem if the machine is Win2k3 SP1. Does anyone know what permissions have to be changes to allow a WMI script to ran from a service (Local System)?

thanks
ST


--
Gerry Hickman (London UK)





--
Gerry Hickman (London UK)
.



Relevant Pages

  • Re: Easy question on the local admin passwords
    ... If someone can get localsystem or admin access rights there is NO safe way to do it. ... They simply throw a password change notification package on the machine and will get the clear text password given to them the instant you try to change it. ... The easier way to pull a password from a startup script is to throw a network sniffer on the box and have it pull SMB traffic and then look at the script that comes down the wire. ...
    (microsoft.public.win2000.security)
  • Re: WMI script ran as LocalSystem
    ... You can set a domain account with "hidden" password if you use the GUI scheduler, but I don't know about LocalSystem. ... The script runs fine under Admin account but not as LocalSystem and it runs fine as LocalSystem if the machine is Win2k3 SP1. ...
    (microsoft.public.win32.programmer.wmi)
  • WMI script launched by Scheduler
    ... I want to use Scheduler but the script reports "Access Denied". ... LocalSystem if the machine is Win2k3 SP1. ...
    (microsoft.public.windowsxp.wmi)
  • WMI script ran as LocalSystem
    ... I want to use Scheduler but the script reports "Access Denied". ... LocalSystem if the machine is Win2k3 SP1. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Change Service Account
    ... I've change the script to ... >> I'll change the logon User for a Windows Service but I get an error in my ... >> LocalSystem to the User! ...
    (microsoft.public.windows.server.scripting)