+1 This is a job for Group Policy. You can actually do all of it via Group Policy Preferences and forgo doing any scripting, more than likely.
*-----------------------------------------------* *Adam Juelich* Pulaski Community School District <http://www.pulaskischools.org> Client Management Specialist 920-822-6075 On Tue, Oct 6, 2015 at 9:55 AM, Jimmy Martin <[email protected]> wrote: > Some things are better via gpo… > > > > Jimmy Martin > (901) 227-8209 > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Bradley, Matt > *Sent:* Tuesday, October 06, 2015 9:54 AM > *To:* [email protected] > *Subject:* [mssms] Script via SCCM > > > > I’m trying to run a VBS script (package) to reassign printer servers. The > script itself works fine. The difficulty comes with invoking it through > SCCM. Since it sets the default printer back upon completion, and checks > the user’s registry entry, I run this under user rights. This too seems > ok. The problem, I’m suspecting, is the action to run at logon. I have to > do this at every login, because some machines are shared between multiple > users. Most machines it seems to work ok, some aren’t. Am I correct that > running things via the logon option is problematic? Is there a better way? > > > > This message and any files transmitted with it may contain legally > privileged, confidential, or proprietary information. If you are not the > intended recipient of this message, you are not permitted to use, copy, or > forward it, in whole or in part without the express consent of the sender. > Please notify the sender of the error by reply email, disregard the > foregoing messages, and delete it immediately. > > > P *Please consider the environment before printing this email...* > > > -- ------------------------------ The Pulaski Community School District does not discriminate on the basis of any characteristic protected under State or Federal law.
