Re: Need to automate workstation tasks
- From: v-kzhao@xxxxxxxxxxxxxxxxxxxx ("Ken Zhao [MSFT]")
- Date: Wed, 09 May 2007 07:56:31 GMT
Thanks Florian!
Thanks & Regards,
Ken Zhao
Microsoft Online Support
Microsoft Global Technical Support Center
Get Secure! - www.microsoft.com/security <http://www.microsoft.com/security>
====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Date: Tue, 08 May 2007 11:12:14 +0200
| From: Florian Frommherz <florian@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
| User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
| MIME-Version: 1.0
| Subject: Re: Need to automate workstation tasks
| References: <DC0677B9-8729-446D-B320-F277D5771463@xxxxxxxxxxxxx>
| In-Reply-To: <DC0677B9-8729-446D-B320-F277D5771463@xxxxxxxxxxxxx>
| Content-Type: text/plain; charset=UTF-8; format=flowed
| Content-Transfer-Encoding: 8bit
| Message-ID: <uxqVAEVkHHA.568@xxxxxxxxxxxxxxxxxxxx>
| Newsgroups: microsoft.public.windows.group_policy
| NNTP-Posting-Host: vpn-183-106.ba-loerrach.de 193.196.183.106
| Lines: 1
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.windows.group_policy:3250
| X-Tomcat-NG: microsoft.public.windows.group_policy
|
| Howdie Bob!
|
| Bob wrote:
| > 1) Run a little program I already have at 18:45 that warns the user the
| > workstation will be logged off unless the user performs some activity.
|
| You can use at.exe or SchTasks.exe as already advised by Gerry. Just set
| up a task that would launch the application. You can add that as a
| Computer Startup script.
|
| > 2) Detect if a logged on workstation has been idle for the past 15
minutes
| > and if so, log them off at 19:00.
|
| You would need to script that as you cannot trigger that by using Group
| Policy. Have a look at the Scripting Guy! example here:
|
http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov04/hey1115.
mspx
|
| ...that should offer you the ability to check if the workstation is
| already locked.
|
| > 3) Set "cleanmgr.exe /sageset:01" for each profile on the workstation.
| >
| > 4). Run Disk Cleanup (CLEANMGR.EXE) on each profile at 19:10
| >
| > 5). Detect if the workstation is logged off and if so, shutdown the
| > workstation at 23:00
|
| Those can only be performed by using scheduled tasks in combination with
| the a script that would check whether the workstations is locked or no
| user is logged on.
|
| Before you mess around with more or less useful scripts, you should talk
| to your users, write them an email that will tell you that they shall
| logout when leaving office. Tell them the computer will be forced to
| shut down and rebooted at a certain time and that unfinished work will
| be lost. It is much easier to solve this kind of "human" problems with
| human solutions than taking several technical actions. Don't know if
| talking to them will work for you, but worth a try.
|
| cheers,
|
| Florian
| --
| Nachwuchsadmin aus dem Süddeutschen/Germany.
| eMail: Vorname [bei] frickelsoft [Punkt] net.
| blog: http://www.frickelsoft.net/blog.
|
.
- References:
- Re: Need to automate workstation tasks
- From: Florian Frommherz
- Re: Need to automate workstation tasks
- Prev by Date: Re: IE6 automatically detect via GP
- Next by Date: Re: Group Policy processing aborted
- Previous by thread: Re: Need to automate workstation tasks
- Next by thread: Keyboard Lanuage Option
- Index(es):
Relevant Pages
|