Windows Server 2003
--
Questions
--
Followers
Top Experts
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
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
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.
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\bgi
Arguments: %Logonserver%\netlogon\fil
Script to run: %Logonserver%\netlogon\bgi
Arguments: %Logonserver%\netlogon\fil






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Then I can just past the two in there and be good to go?
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?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Script to run: %Logonserver%\netlogon\bgi
Arguments: %Logonserver%\netlogon\fil
Those were put into the two boxes available in the logon script window.
%logonserver%\netlogon\bgi
(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\bgi
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\fil
This should create a background image according to the configuration of the bgi file.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
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.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
It states it on this website about the call function:
http://www.computerhope.com/call.htm






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
"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.
start "" %logonserver%\netlogon\bginfo.exe %logonserver%\netlogon\file.bgi /taskbar /silent /nolicprompt
Windows Server 2003
--
Questions
--
Followers
Top Experts
Windows Server 2003 was based on Windows XP and was released in four editions: Web, Standard, Enterprise and Datacenter. It also had derivative versions for clusters, storage and Microsoft’s Small Business Server. Important upgrades included integrating Internet Information Services (IIS), improvements to Active Directory (AD) and Group Policy (GP), and the migration to Automated System Recovery (ASR).