B
Brian Dugas
I made a one-line batch file for a script to map drive. The batch-file
script works fine.
However, I'm having problems making the script run during logon for users.
When I set the script up, I use a UNC path for the script file. It looks
like:
\\Server\SYSVOL\dugas.com\Policies\scripts\map.bat
"Server" is the computer name of my server, and "dugas.com" is my domain.
I created a folder called "Scripts" in my Policies to house all script files
(easier to find that way).
This is what happens:
User "Jack" logs in, and script does not run.
RSOP.MSC shows that script should have run.
Sometimes (but not always) event log shows access denied to script path.
User Jack navigates to \\Server\SYSVOL\dugas.com\Policies\scripts\ and
executes map.bat.
Drive is mapped with no trouble.
Did I mention Jack is a domain admin?
I've had Domain Users run this with no problem. Domain Users also have no
problem navigating to \\Server\SYSVOL\dugas.com\Policies\scripts\
Am I picking a bad folder to hold my scripts in? Should I create a custom
folder on a share drive somewhere and put all my scripts there? Is there
anything wrong with the current path I'm using?
Thanks.
script works fine.
However, I'm having problems making the script run during logon for users.
When I set the script up, I use a UNC path for the script file. It looks
like:
\\Server\SYSVOL\dugas.com\Policies\scripts\map.bat
"Server" is the computer name of my server, and "dugas.com" is my domain.
I created a folder called "Scripts" in my Policies to house all script files
(easier to find that way).
This is what happens:
User "Jack" logs in, and script does not run.
RSOP.MSC shows that script should have run.
Sometimes (but not always) event log shows access denied to script path.
User Jack navigates to \\Server\SYSVOL\dugas.com\Policies\scripts\ and
executes map.bat.
Drive is mapped with no trouble.
Did I mention Jack is a domain admin?
I've had Domain Users run this with no problem. Domain Users also have no
problem navigating to \\Server\SYSVOL\dugas.com\Policies\scripts\
Am I picking a bad folder to hold my scripts in? Should I create a custom
folder on a share drive somewhere and put all my scripts there? Is there
anything wrong with the current path I'm using?
Thanks.