Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Logon Scripts

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

Logon Scripts
Reply
 
Thread Tools
Old 10-07-2004, 23:40   #1
Matthew
cf.mega poster
 
Join Date: Jul 2003
Location: Lincolnshire
Age: 38
Posts: 2,033
Matthew has reached the bronze age
Matthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze age
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.
__________________
Matt
Matthew is offline   Reply With Quote
Advertisement
Old 10-07-2004, 23:45   #2
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,373
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
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.
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Old 11-07-2004, 00:21   #3
Matthew
cf.mega poster
 
Join Date: Jul 2003
Location: Lincolnshire
Age: 38
Posts: 2,033
Matthew has reached the bronze age
Matthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze age
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?
__________________
Matt
Matthew is offline   Reply With Quote
Old 11-07-2004, 01:34   #4
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,373
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Re: Logon Scripts

Quote:
Originally Posted by leggom
I just use .bat files and write them in notepad. What can I put so it only runs on certain user groups?
I cannot see how you could do this with simple .bat files.
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Old 11-07-2004, 10:33   #5
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 62
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
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?
MovedGoalPosts is offline   Reply With Quote
Old 11-07-2004, 10:56   #6
Matthew
cf.mega poster
 
Join Date: Jul 2003
Location: Lincolnshire
Age: 38
Posts: 2,033
Matthew has reached the bronze age
Matthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze age
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
__________________
Matt
Matthew is offline   Reply With Quote
Old 11-07-2004, 12:30   #7
stingray
cf.member
 
stingray's Avatar
 
Join Date: Jun 2004
Posts: 29
stingray is a name known to allstingray is a name known to allstingray is a name known to allstingray is a name known to allstingray is a name known to allstingray is a name known to allstingray is a name known to allstingray is a name known to all
Re: Logon Scripts

Quote:
Originally Posted by leggom
Doesn't many people use .bat files then in the Windows NT, 2000, 2003 networks then? All the networks I use do.
I expect some do, but that wasn't what you asked.

You wanted to pick out user groups for which you need a proper scripting language.
stingray is offline   Reply With Quote
Old 11-07-2004, 13:13   #8
Matthew
cf.mega poster
 
Join Date: Jul 2003
Location: Lincolnshire
Age: 38
Posts: 2,033
Matthew has reached the bronze age
Matthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze ageMatthew has reached the bronze age
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?
__________________
Matt
Matthew is offline   Reply With Quote
Old 11-07-2004, 14:30   #9
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,373
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Re: Logon Scripts

Quote:
Originally Posted by leggom
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?
http://www.kixtart.org/
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 00:31.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum