Advertisement

01.22.2008 at 08:42AM PST, ID: 23101648
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Deploying and running BGinfo through group policy (500pts)

Tags: Microsoft, Active Directory Group Policy, 2003, Deploying software through group policy
I am currently trying to deploy BGinfo through group policy for all users on all computers on our network. I have been using my machine to test the program and get the configuration file right.

From the commandline on my machine I am running bginfo with the following switches.

Bginfo.exe file.bgi /taskbar /all /silent /nolicprompt where file.bgi is the configuration file.

Now that I have all the settings etc squared away I want to be able to distribute this through group policy and use all the settings and switches I have above. I also want to make sure that this program is installed/ran on the users machine with administrative rights.

I know several on here have done this in the past so Im hoping you can help.

Thanks
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: xxdcmast
Solution Provided By: oBdA
Participating Experts: 2
Solution Grade: A
Views: 192
Translate:
Loading Advertisement...
01.22.2008 at 08:53AM PST, ID: 20715891

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 09:02AM PST, ID: 20715960

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 10:16AM PST, ID: 20716561

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 10:56AM PST, ID: 20717058

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 11:07AM PST, ID: 20717176

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 11:11AM PST, ID: 20717216

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 12:47PM PST, ID: 20718153

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 01:13PM PST, ID: 20718397

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 01:37PM PST, ID: 20718646

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 01:40PM PST, ID: 20718681

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.22.2008 at 02:50PM PST, ID: 20719286

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.23.2008 at 11:55AM PST, ID: 20726895

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.23.2008 at 12:13PM PST, ID: 20727070

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.23.2008 at 12:14PM PST, ID: 20727083

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.24.2008 at 09:04AM PST, ID: 20734826

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.24.2008 at 09:06AM PST, ID: 20734868

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.24.2008 at 09:29AM PST, ID: 20735111

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.25.2008 at 12:17PM PST, ID: 20745959

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
01.22.2008 at 08:53AM PST, ID: 20715891

Rank: Master

You'll probably need to convert your exe file to an msi file for distribution using a GPO. Since bginfo.exe isn't really an installer but the actual program, I don't know how that will work. You can try this exe to msi converter:
http://juice.altiris.com/download/1355/exe-to-msi

The other option is to use a script in a GPO to copy the file to their local workstations and to add a shortcut to their startup folder.
 
01.22.2008 at 09:02AM PST, ID: 20715960

Rank: Genius

You should not need to have to run this with administrative rights.
In the bgi file, make sure the location of the file is *not* the default system32 folder, but a user specific folder (I'd recommend Application Data).
Leave out the /all as well and run bginfo simply as logon script.
Then all you have to do is copy bginfo.exe and bginfo.bgi into the netlogon folder, and use the following command as logon script in a GPO:
Script to run: %Logonserver%\netlogon\bginfo.exe
Arguments: %Logonserver%\netlogon\file.bgi /taskbar /silent /nolicprompt
 
01.22.2008 at 10:16AM PST, ID: 20716561
oBdA: I understand what your saying but I dont get the last to lines. Can clarify?

Script to run: %Logonserver%\netlogon\bginfo.exe
Arguments: %Logonserver%\netlogon\file.bgi /taskbar /silent /nolicprompt

 
01.22.2008 at 10:56AM PST, ID: 20717058

Rank: Genius

Create or change a GPO linked to the OU in which the users are that should run bginfo during logon, and assign a logon script:
Overview of Logon, Logoff, Startup, and Shutdown Scripts in Windows 2000
http://support.microsoft.com/kb/198642

The "script" to run can be an exe file as well (your bginfo.exe), and it can run from a network share (%Logonserver%\netlogon; use it exactly like this, it will expand to the server that authenticated the user). The netlogon share is usually physically located in %Systemroot%\sysvol\sysvol\your.domain.name\scripts, or enter %Logonserver%\netlogon into the run menu.
The arguments to use for the "script" are the ones from above.
Accepted Solution
 
01.22.2008 at 11:07AM PST, ID: 20717176
Ok I see what you mean now. I went into the logon script and instead of the Arguments field I had the parameters field. Thats the same thing right?

Then I can just past the two in there and be good to go?
 
01.22.2008 at 11:11AM PST, ID: 20717216

Rank: Genius

Yes and yes.
 
01.22.2008 at 12:47PM PST, ID: 20718153
Ok well I tried what you suggested. Create a new ou for testing this. Put myself into the ou and the created a single group policy with the logon script as you stated. I placed the two files into the netlogon folder. Once everything was set I ran 2 gpupdates and was told that some stuff can only be done at logon.

I thought this was good and everything was working until I shut down and restarted. I got to the ctrl alt del screen and put my password in. However at this point my system got hung up or at least looked like it. It got stuck in the blue screen before the start menu appeared. I waited 5 minutes and it wouldnt move. I had to shut down remove mysefl from the test ou, remove the gpo, and then finally was able to log in correctly.

It didnt like something about that logon script. The exe file is minimal in size under 500k so it should not cause a hang like that at all.

Any idea?
 
01.22.2008 at 01:13PM PST, ID: 20718397

Rank: Master

copy and paste the logon script you used so we can see it.

Have you tested the logon script with the run prompt or command prompt? Does it work there?
Assisted Solution
 
01.22.2008 at 01:37PM PST, ID: 20718646
Basically I did it excalty like oBdA posted.

Script to run: %Logonserver%\netlogon\bginfo.exe
Arguments: %Logonserver%\netlogon\file.bgi /taskbar /silent /nolicprompt

Those were put into the two boxes available in the logon script window.
 
01.22.2008 at 01:40PM PST, ID: 20718681

Rank: Master

try running the following from the command prompt:

%logonserver%\netlogon\bginfo.exe %logonserver%\netlogon\file.bgi /taskbar /silent /nolicprompt

(all on one line)

If it works, create a file called bginfo.bat in the netlogon folder with the following line in it. Then change your script to be %logonserver%\netlogon\bginfo.bat instead of bginfo.exe. No arguments.
 
01.22.2008 at 02:50PM PST, ID: 20719286

Rank: Genius

Check the application event log for Event ID 100, Source UserInit at the time you tried to log on, it might report an error.
There's a 10 minute timeout for logon scripts which can be reconfigured in a policy (don't know where out of the top of my head, and can't check it at the moment).

For testing, try it with these arguments only:
%logonserver%\netlogon\file.bgi /timer:0 /nolicprompt
This should create a background image according to the configuration of the bgi file.
 
01.23.2008 at 11:55AM PST, ID: 20726895
Ok two things here

Victornegri: The method you described seems to work however it leaves the command prompt window on the screen until the user manually clicks out of it.

oBdA: There are no error logs in the machine. I will have to try the group policy portion of this at a later time.
 
01.23.2008 at 12:13PM PST, ID: 20727070

Rank: Master

put an "exit" on a separate line at the end of the batch file.
 
01.23.2008 at 12:14PM PST, ID: 20727083

Rank: Master

wait... try "call %logonserver%\netlogon\bginfo.exe %logonserver%\netlogon\file.bgi /taskbar /silent /nolicprompt" (with the command "call" at the beginning). Most likely it's staying open because it's waiting for bginfo to finish processing. It's never going to finish processing because it's a TSR.
 
01.24.2008 at 09:04AM PST, ID: 20734826
Tried the method you mentioned with CALL and the command prompt still stayed open and on the screen.
 
01.24.2008 at 09:06AM PST, ID: 20734868
If i try it with START rather than CALL in the batch script the window will disappear when I double click the bat file. However when I try to run the batch using the START logon script it doesnt work.
 
01.24.2008 at 09:29AM PST, ID: 20735111

Rank: Master

Try putting 2 "exit"s at the end of the batch file.

It states it on this website about the call function:
http://www.computerhope.com/call.htm
 
01.25.2008 at 12:17PM PST, ID: 20745959

Rank: Genius

"call" doesn't help here. "call" is *only* necessary to run other *batch* files from a batch file and return control to the calling batch file afterwards.
"Exit" isn't necessary either, any command script not started through a command window will close its window automatically.
If anything, you need to create a batch file to run this in the background, so that the script doesn't wait for bginfo to end if you really require the /taskbar.
But if the background picture created by bginfo will do the trick for you, you can use bginfo.exe directly as logon script through a GPO. That's the easiest solution.
If you insist on the /taskbar, though, you can *not* use a GPO logon script, as any process started from a GPO logon script will be killed when the logon script ends.
So with /taskbar, you'd either have to create/copy a shortcut pointing to bginfo.exe into the user's Startup folder in the start menu, or use the "old" logon script method in the properties of the user in the ADUC console (enter *only* the name of the script in the netlogon folder there, no path); a process started in the background through this script will continue to run.
1:
start "" %logonserver%\netlogon\bginfo.exe %logonserver%\netlogon\file.bgi /taskbar /silent /nolicprompt
Open in New Window
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628