Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Logon Script GPO

0 views
Skip to first unread message

Al

unread,
Feb 11, 2008, 10:22:53 AM2/11/08
to
Hey everyone,

I'm stumped on what should be a trivial configuration. Currently, we
have a GPO logon script that runs 4 batch files when users log on. The
GPO has these 4 items:

%logonserver%\netlogon\batch1.bat
%logonserver%\netlogon\batch2.bat
%logonserver%\netlogon\batch3.bat
%logonserver%\netlogon\batch4.bat

This has worked well for years. I recently created a batch file called
logon_scripts.bat which has 4 commands in it:

call "%logonserver%\netlogon\batch1.bat"
call "%logonserver%\netlogon\batch2.bat"
call "%logonserver%\netlogon\batch3.bat"
call "%logonserver%\netlogon\batch4.bat"

and I changed the GPO so it only calls this 1 batch, which should
execute the regular 4. Now, the GPO looks like this:

%logonserver%\netlogon\logon_scripts.bat

This way, we can add/modify the startup scripts without modifying the
GPO. The new batch file is located in the same folder as the other 4.

My problem is, the 4 batches don't get run. It's not a permissions
issue since the file is located in the same place as the other 4. I
don't see anything in the event logs of the user PCs. I can't find any
information regarding limitations of batch files calling other batch
files as a GPO logon Script. Anyone have any ideas? Thanks.

Al

Al

unread,
Feb 11, 2008, 11:53:44 AM2/11/08
to
Update:

I tried using a simple vbscript file to run the 4 batch files, and
this works just fine. Why would a vbs file work and not a batch file?

Al

Al

unread,
Mar 11, 2008, 4:04:19 PM3/11/08
to
Anyone have an idea?

Anyone?

Al

0 new messages