Re: Need to automate workstation tasks

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.
|

.



Relevant Pages

  • Re: Need to automate workstation tasks
    ... Howdie Bob! ... You would need to script that as you cannot trigger that by using Group Policy. ... ....that should offer you the ability to check if the workstation is already locked. ... It is much easier to solve this kind of "human" problems with human solutions than taking several technical actions. ...
    (microsoft.public.windows.group_policy)
  • Re: Redirect computers to a specific OU by IP Address
    ... Getting the IP address of the workstation is easy if you are running the ... COMPLETELY lock them down until an admin put them into the right OU. ... I'm in the process of disabling computer accounts that have not been ... My biggest problem is that I just dont know where to start the script ...
    (microsoft.public.windows.server.active_directory)
  • Re: Redirect computers to a specific OU by IP Address
    ... Getting theIPaddress of the workstation is easy if you are running the ... script from the workstation. ... COMPLETELY lock them down until an admin put them into the rightOU. ... used for approx 180-240 days (as there is over 1000 computer accounts ...
    (microsoft.public.windows.server.active_directory)
  • Re: Me Too
    ... I did my testing of the script on my own XP ... Which could be tight on a server like SBS (though mine has never shown ... any service to take for a normal shutdown. ... this reg edit change made to a workstation would ...
    (microsoft.public.windows.server.sbs)
  • Re: An error occured in ASP page
    ... Difficult to say without knowing what is exactly done in the failing ASP ... IISState ... > Error: Script Engine Exception. ... > Microsoft Online Support sitelocated at: ...
    (microsoft.public.scripting.vbscript)