Re: trying to achieve automation, need assistance by maximillianx
maximillianx
Wed Nov 02 11:01:15 CST 2005
Have you thought about using a startup script? The only problem here is
that you wouldn't be running anything as a user account, but as the computer
account, so appropriate permissions would need to be set in order for the
computer account to access the resources it needs.
Or, you could place your script into the runonce key (and keep having the
script place itself in there until your deployments were complete). Maybe
create a 'cleanup' command that would run the last time, again from the
runonce reg key, that would remove your folders that contained the worker
scripts.
Just some ideas...
Rob
"Kendoh" <Kendoh@discussions.microsoft.com> wrote in message
news:4A7D9616-7149-4751-8B76-E9D721186DFC@microsoft.com...
>I have created a deployment script to automate desktop deployment. I have
> enabled autologon using the local administrator account... But I am trying
> to
> figure out the best way to get the script to run at startup...
>
> Now, I know vbscript has a GPO interface but I have no idea how I would
> disable the deployment.vbs script from running at logon. I could put the
> script in the startup folder, but how would I remove it automatically? I
> couldn't delete the script while the script is running could i?
>
> Any thoughts?