Silverman Posted November 5, 2007 Posted November 5, 2007 How can you get the machine to run a startup script without having to go round every machine indivually and it to the local GPO ? As surely the machine cannot use a network shared file on startup, before any users have logged in?
Osprey Posted November 5, 2007 Posted November 5, 2007 A workstation that is a member of a domain is seen as a "user" on the domain so you can create a share on a server which the workstation has access to even when not logged on. We use Ghost and build a package to fire out the school logo, bginfo and registry changes necessary and to put a shortcut into All Users - startup to run bginfo. A tweak to the workstations GPO changes the security on the bginfo.bmp. I'm currently looking at changing it to run across the network as I'm a great believer in making things as easy as possible!
Silverman Posted November 5, 2007 Posted November 5, 2007 So is it possible to distribute a startup script via a GPOs, the same way that you would do a logon script for users but with startup script for machines ? Thanks.
mattx Posted November 5, 2007 Posted November 5, 2007 So is it possible to distribute a startup script via a GPOs, the same way that you would do a logon script for users but with startup script for machines ? Thanks. If you want to run this from the local PC, just knock up a few lines in your logon script which copies the bginfo.exe over to a location on the client. [ Even to the startup folder if you wish ] Or just run it from a share like I have.
srochford Posted November 5, 2007 Posted November 5, 2007 To add a machine startup script, go into group policy management console, find the level at which you want to add the script and either create a new GPO or edit an existing one. In the object editor, look in Computer configuration, Windows settings, scripts, startup and add your script. The one thing you need to do which might not be obvious is to make sure that the group "domain computers" has access to any network shares etc that you want to access in the startup script. eg if we have a share called \\student\cdimages - that folder has NTFS permissions which include "domain computers:r" and the share allows everyone to read.
Silverman Posted November 5, 2007 Posted November 5, 2007 Thanks for the fast replies, this is working to an extent but for some reason the ctrl+alt+del screen background does not update itself until a user has logged on and back out again, could this be because the machine needs to have connected to its domain once before it can update itself, although shouldnt the startup script make it so the script is run before anybody logs on? Thanks.
jsnetman Posted November 6, 2007 Posted November 6, 2007 My original post should have read: copy /y \\jschs2\public\apps\bginfo\sysbgi\bginfo.bgi c:\windows\bginfo\sysbgi del %systemroot%\bginfo\bginfo.bmp /q del %systemroot%\bginfo.bmp /q %systemroot%\bginfo\bginfo.exe %systemroot%\bginfo\sysbgi\bginfo.bgi /timer:0 /silent For the original machine startup script. Try similar in your machine start up script and it should work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now