Windows Thread, Login Script .. in Technical; Good afternoon all ..
Right, one of the schools I work at is yet to invest in a DC so ...
26th February 2010, 04:46 PM #1
Login Script ..
Good afternoon all ..
Right, one of the schools I work at is yet to invest in a DC so I'm left with a workgroup setup which they want DC style things doing to (bloody hard work .. but there we go).
Anyway, I'm looking to use login / startup scripts that are stored on our central server (a little ubuntu box) so that I can configure things centrally and allow for Proxy Settings / Default Printers / etc.
Now, the Start Up Script seems to be pulling ok as this is a central script on the machine settings (obviously) however, in XP, Login Scripts would appear to be on a per user basis so the local admin account I'm using is set up perfectly, but how do I go about getting the Login Script into the other users on the machines?
Each machine has the Main Admin Account, and ICT Admin Account (different easier to remember password essentially is the difference so that as we move to a DC at somepoint in the next 6 months or so (fingers crossed) I don't have to give out one of our secure ones and all that jazz) a Pupil Account which is restricted and a Staff Account which is a Power User.
So, is there a way to set a login script for every user or do I have to elevate all the non admins to being admins, set the login script then set them back to get it to work? Bearing in mind I'd rather use a BAT or VBS script to do this from the admin account so I don't have to logon to the 30 machines in the suite, plus the school laptops / staff laptops for each user account.
Thanks for any help offered.
26th February 2010, 05:03 PM #2
try placing the scripts in C:\Documents and Settings\All Users\Start Menu\Programs\Startup
26th February 2010, 05:07 PM #3
Did that, but then the user doesn't have the permission for some of the functions within the login script sadly .. plus they can stop the script running by closing the CMD screen.
Originally Posted by DriftGrant
26th February 2010, 05:10 PM #4
make them local admins or is that over kill ?? Also if you go into local security ( control panel --> administrative tools --> local security ) you should be able to find somewhere in there about making bat / command prompts run minimized or not visible or something ?
Originally Posted by aptproductions
26th February 2010, 05:16 PM #5
Trying to move away from having them as local admins. Essentially, trying to create a more networked like environment by restricting and drip feeding in the move to a DC that I really hope will happy shortly! lol ..
Originally Posted by mac_shinobi
I'll have a look at the batch silent thing. I was using a tool (hstart) to run a script which then called a script and ran it as hidden which was one way round it, but it's clunky (but hey without a DC it's all going to be a bit clunky! lol)
26th February 2010, 05:44 PM #6
What are you wanting to do with the user script that needs admin rights? In general, machine startup scripts do the admin type stuff; user login scripts do the personal stuff which doesn't normally need admin rights.
To run the script hidden, run gpedit.msc on the machine and go to user config | admin templates | system | scripts and choose "run legacy logon scripts hidden" and "run logon scripts hidden" and enable them.
You can configure a logon script for each user by doing:
I think that the file mylogon.cmd has to be in a netlogon share on the local machine which adds to the difficulty!
net user <username> /scriptpath:<mylogon.cmd>
26th February 2010, 05:54 PM #7
Delete the All Users Desktop Items and recreate icons, but I guess I could do this with the startup script thinking more logically about it ..
Originally Posted by srochford
It's a Friday .. that's my only excuse .. lol ..
26th February 2010, 06:02 PM #8
Just re-hashed my scripts and testing to see if I can manage it by using the startup to do the adminy bits then back to the old hidden BAT for the rest .. fingers crossed!
By itman in forum Windows
Last Post: 24th October 2008, 05:08 PM
Last Post: 9th September 2008, 11:51 AM
By Blind in forum Scripts
Last Post: 21st April 2008, 12:03 PM
By dave.81 in forum Windows Vista
Last Post: 17th February 2008, 05:29 PM
By SpuffMonkey in forum Windows
Last Post: 4th February 2006, 10:27 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)