I have written a simple map drive script that would map an N: drive to a
remote system on startup. I have modified the gpedit.msc and added the vbs
script to run at startup; however, after I reboot the system it ignores the
vbs file and dosn't map the drive.

The script works fine if I double-click the file within Windows; but, will
not run it at startup.

How can I get the system to see the script and run it at startup so the
sytem will have a network drive mapped even though no one is logged in?
--
Thanks!

Re: Startup Script by Michael

Michael
Fri Sep 15 23:37:37 CDT 2006

N wrote:
> I have written a simple map drive script that would map an N: drive
> to a remote system on startup. I have modified the gpedit.msc and
> added the vbs script to run at startup; however, after I reboot the
> system it ignores the vbs file and dosn't map the drive.
>
> The script works fine if I double-click the file within Windows; but,
> will not run it at startup.
>
> How can I get the system to see the script and run it at startup so
> the sytem will have a network drive mapped even though no one is
> logged in?

Drive mappings are only meaningful in the context of the account that does
the mapping. In the case of system startup scripts, that's the local SYSTEM
account, not a user account for someone triggering the execution of a logon
script.


--
Michael Harris
Microsoft MVP Scripting