hidden hit counter
Welcome to WindowsForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Logon Script GPO

 
   Win 2000/NT/98/ME (Home) -> 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

 >> Stay informed about: Logon Script GPO 
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

 >> Stay informed about: Logon Script GPO 
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
 >> Stay informed about: Logon Script GPO 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Logon Script for s/w installation - Hi, Can we write script (batch script or vbscript) for installing some software located in some file server(file server && domain controller are on same machine) which can be reached through client. After writing the script i want to link ...

software installation GPO versus vbscript logon script GPO.. - I just want to verify if my understanding is correct. Right now I have the basics working - for example I have created a GPO to install an ActivePerl MSI. With this approach the policy will be "smart" enough not to try to install ActivePerl ...

Printer Script - Does anybody have a good script that will install a printer from a print server? Thanks

Deleting Cookies from GPO or login/out script - Does anyone know how to automaticaly delete cookies on a users PC using a GPO or Login/out script? I have an online retailer client that really needs that functionality.

login script with spaces in share name do not map - I have a very simple login script to map drives to shared folders on the server. Any share names that include spaces in the name will not map through the login script. What is the syntax for share names with spaces? I am sure there is something ver...
   Win 2000/NT/98/ME (Home) -> 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
  Win 2000/NT/98/ME
 Windows Vista!


[ Contact us | Terms of Service/Privacy Policy ]