![]() |
Logon Scripts
I have several computers in my home network; 1 XP pro desktop and 1 XP home laptop. At times there are other mahcines running but they are the two main ones.
In the XP Pro one in the Group Policy Editor I have setup a logon script to be run and it all works fine but it does it for all the users when they logon and I only want certain scripts to run for certain user groups. There is a box under the location of the script that says script parameters. What would I enter in the for a script to run only for administrators and then a seperate one for the users group. Please help me as this is doing my head in. Thanks in advance. |
Re: Logon Scripts
I imagine the parameters are just be passed to the script - you would need the script to interpret them to decide what to do.
If you write a script in something like KIX you can determine what groups the user is in and take action based on this - then everyone runs the same script. I use this at work. |
Re: Logon Scripts
I just use .bat files and write them in notepad. What can I put so it only runs on certain user groups?
|
Re: Logon Scripts
Quote:
|
Re: Logon Scripts
I dunno, can you not just put a shotcut to the .bat file in start > all programs > startup menu for just the administrator?
Yes you'd have to do that for everyone who has the admin group rights, but on a home network that's only one or two people, so not too tedious? |
Re: Logon Scripts
Yeah I think I will have to do it in the startup folder.
With a .bat I can get it to map out the drives, set the time and delete old mapped out drives. I can also copy files from one folder to another. I even have a .bat file that I run on new systems that deletes the Windows Messenger and starts the install of MSN Messenger. Doesn't many people use .bat files then in the Windows NT, 2000, 2003 networks then? All the networks I use do. Here is an example of one that I have: net time \\server /set /yes net use h: /home (Has to have the home directory specified in the user settings) net use p: \\server\public net use s: \\server\shared net use o: \\computer2\outlook net use f: \\computer2\files |
Re: Logon Scripts
Quote:
You wanted to pick out user groups for which you need a proper scripting language. |
Re: Logon Scripts
OK. Where can I get a copy of a progrma that does proprer scripting language?
Are there any freeware versions of this sort of program on the web or not? |
Re: Logon Scripts
Quote:
|
| All times are GMT. The time now is 00:20. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum