VB Scripts

  • Thread starter Thread starter Scott Adams
  • Start date Start date
S

Scott Adams

I'm trying to run a simple VBScript with a GPO. It should run on Startup
(not Logon) which I believe runs under the context of the LocalSystem
account. I have experimented with this by having the script:
1. create a new folder on the local disk
2. create a new registry key in HKLM\Software

Both of these scripts have failed to either run or perform the above task.
When logged in as an administrator, the scripts execute with no problem.
What could be getting in my way?

Scott
 
It sounds like a permissions issue....is the VB script placed in the NETLOGON
share?

Kerms
 
I never experimented with this, but I think I recall seeing something about
this before. From what I recall, the scripting service/environment may not
be available as a startup script, but if you do it as a logon script, then
the environment is loaded and it can execute the script.

Brian
 
Can anyone confirm this to be true? Is the scripting
service/environment available at startup or is it only available at
logon?
 
Back
Top