VB Scripts

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
 
G

Guest

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

Kerms
 
B

Brian K. Sheperd

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
 
A

adamssoft

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top