From: Greg Ercolano <erco@(email surpressed)>
Subject: Having rush automatically online on windows machines
   Date: Mon, 08 Jan 2007 17:16:08 -0500
Msg# 1444
View Complete Thread (2 articles) | All Threads
Last Next

	Bryan Huo from Guru Studios passes on this info about setting up
	machines to automatically offline/online rush when users login/out.

For a windows machine, you can type "gpedit.msc" to bring up the
group policy editor. User Configuration->Windows Settings

From there you can specify logoff/logon/startup scripts (including batchfiles)
to run.  We use the logoff script to call up a batch file that has a
"rush -online" command. And another batchfile that contains "rush -getoff"
on logon.  Works great!

The only downside is that every computer has to be set-up manually.
We specify a batchfile on our network (direct IP, no mapped drives)
so we can change the behaviour of everyone's logoff script at once.

Once the batchfile is specified in the gpedit.msc, it never has to be
done again and we only ever need to change the logoff batchfile.

Just passing on some info in case you didn't know about it.


	I'd like to add some links to relevant docs (sorry if these
	eventually go stale; if they do, try searching for the headings)

Introduction to Configuration and Management
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/prork/prda_dcm_gskn.mspx
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/prork/prda_dcm_obuh.mspx

Ways to open the Group Policy snap-in
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/gpedit_start.mspx

Command-line tools for Group Policy (gpresult and gpupdate):
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/commandline.mspx

Docs for 'gpresult':
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/gpresult.mspx

Docs for 'gpupdate':
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/refrgp.mspx

	Feel free to follow up with comments/questions here in this thread.

   From: "Niklas Aldergren" <n.aldergren@(email surpressed)>
Subject: Re: Having rush automatically online on windows machines
   Date: Mon, 08 Jan 2007 17:48:48 -0500
Msg# 1445
View Complete Thread (2 articles) | All Threads
Last Next
On 8 Jan 2007 22:16:08 -0000, Greg Ercolano <erco@(email surpressed)> wrote:
[posted to rush.general]


        Bryan Huo from Guru Studios passes on this info about setting up
        machines to automatically offline/online rush when users login/out.

> For a windows machine, you can type "gpedit.msc" to bring up the
> group policy editor. User Configuration->Windows Settings
>
> From there you can specify logoff/logon/startup scripts (including batchfiles)
> to run.  We use the logoff script to call up a batch file that has a
> "rush -online" command. And another batchfile that contains "rush -getoff"
> on logon.  Works great!
>
> The only downside is that every computer has to be set-up manually.
> We specify a batchfile on our network (direct IP, no mapped drives)
> so we can change the behaviour of everyone's logoff script at once.

Group policy can also be defined through Active Directory (AD), as
opposed to manual
configuration on each machine.

I've set up the same system here, where all 3D windows workstations exist
within an AD organizational unit that applies a set of logon and logoff
scripts. It also applies a system startup script that copies the rush
config, license
and hosts-file from a central location, just in case the machine has
been offline during
an update.

I've made the -getoff note the username of who logged on, meaning it's very easy
to spot who is forgetting to log off... ;-)

/Niklas
--
Swiss International | www.swiss.se