WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Logon Script GPO

 
   Home -> Windows Other -> Group Policy RSS
Next:  upgrading from windows 2003 to windows 2000  
Author Message
Al

External


Since: Feb 11, 2008
Posts: 4



(Msg. 1) Posted: Mon Feb 11, 2008 7:22 am
Post subject: Logon Script GPO
Archived from groups: microsoft>public>win2000>group_policy (more info?)

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
Back to top
Login to vote
Al

External


Since: Feb 11, 2008
Posts: 4



(Msg. 2) Posted: Mon Feb 11, 2008 8:53 am
Post subject: Re: Logon Script GPO [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
Back to top
Login to vote
Al

External


Since: Feb 11, 2008
Posts: 4



(Msg. 3) Posted: Tue Mar 11, 2008 1:04 pm
Post subject: Re: Logon Script GPO [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Anyone have an idea?

Anyone?

Al
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows Other -> Group Policy All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET