RE: Auto Logoff

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



Hello Customer,

Thank you for posting here.

According to your description, I understand that you want to force logoff
remote user before run backup. If I have misunderstood the problem, please
don't hesitate to let me know.

Based on my research, I suggest we try the following steps to see if we can
resolve this issue:

We can try to run a scheduled task to log off the client on a specific time
or remote logoff the computer from the administrator's computer with remote
shutdown /l commands.

In Windows XP or Windows 2003, there is tool: logoff.exe which can help us
to logoff users. The following steps can be used to deploy this solution:

1. Create a scheduled job which to run this tool.

A) Permissions can be set which disallow users from changing or deleting
the job
B) A local user account needs to be specified

2. Copy this scheduled job from the %systemroot%\tasks folder of one
computer to the %systemroot%\tasks folder of all clients.

Now regardless of who is logged on, or if a user has locked his
workstation, the scheduled job will log the user off.

Note: the command "shutdown /l" is equal to logoff tool.

An alternate deployment would be to use the AT command to reference the
local System account. For more information about AT command, type AT /? In
command line.

The following article may be helpful:

313565 HOW TO: Use the AT Command to Schedule Tasks
http://support.microsoft.com/?id=313565

How To Schedule Tasks in Windows XP
http://support.microsoft.com/?id=308569

I hope these steps will give you some help.

Thanks and have a nice day!

Best regards,

Terence Liu(MSFT)

Microsoft CSS Online Newsgroup Support

Get Secure! - www.microsoft.com/security

=====================================================
This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx

When opening a new thread via the web interface, we recommend you check the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.

Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In doing
so, it will ensure your issues are resolved in a timely manner.

For urgent issues, you may want to contact Microsoft CSS directly. Please
check http://support.microsoft.com for regional support phone numbers.

Any input or comments in this thread are highly appreciated.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Joeskimon" <wontread@xxxxxxxxxxxxx>
| Subject: Auto Logoff
| Date: Wed, 19 Sep 2007 08:02:17 -0400
| Lines: 8
| Message-ID: <5A49D98F-0188-44F1-B908-12DB5EF73AB7@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| format=flowed;
| charset="iso-8859-1";
| reply-type=original
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
| X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16480
| X-MS-CommunityGroup-MessageCategory:
{E4FCE0A9-75B4-4168-BFF9-16C22D8747EC}
| X-MS-CommunityGroup-PostID: {5A49D98F-0188-44F1-B908-12DB5EF73AB7}
| Newsgroups: microsoft.public.windows.server.sbs
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.windows.server.sbs:64056
| NNTP-Posting-Host: TK2MSFTNGHUB02.phx.gbl 127.0.0.1
| X-Tomcat-NG: microsoft.public.windows.server.sbs
|
| Hello -
| Is there a way to schedule an automatic log off for all users in the
Domain?
| I've got an office full of users that come in remotely in off hours that
| consistently "forget" to close their applications, thus killing my backup.
| What I'd like to do is log everyone off before my scheduled backup runs.
| Is this possible in an SBS'03 Prem. environment?
| Thanks.
|
|

.



Relevant Pages

  • Re: Cant Remotely Record after MSN Remote Record Program Update
    ... If you attempt to schedule a recording and it says, "Failed, will keep trying", it will still fail and never show up. ... Your Media Center PC Program Guide might be ... Even though I'm using my remote TiVo scheduling functionality now, ... I have a dialog going on with MSN over this, at this time, and I'll add some screen shots to the communication chain. ...
    (microsoft.public.windows.mediacenter)
  • Re: Cant Remotely Record after MSN Remote Record Program Update
    ... I'm on the East Coast. ... If you attempt to schedule a recording and it says, "Failed, will keep trying", it will still fail and never show up. ... Your Media Center PC Program Guide might be ... Even though I'm using my remote TiVo scheduling functionality now, ...
    (microsoft.public.windows.mediacenter)
  • Re: Visual Basic.net
    ... > schedule - that the whole plan for what Longhorn is ... some features could be on the chopping block."" ... > there was news that the Microsoft Shell would ... > been reading) seem to think that Microsoft will dump ...
    (comp.lang.basic.visual.misc)
  • Re: Cant Remotely Record after MSN Remote Record Program Update
    ... have you been successful in getting the system to schedule ANYTHING remotely ... Your Media Center PC Program Guide might be ... Even though I'm using my remote TiVo scheduling functionality now, ... I have a dialog going on with MSN over this, at this time, and I'll add some screen shots to the communication chain. ...
    (microsoft.public.windows.mediacenter)
  • Re: Task scheduler problem at logoff
    ... Windows task scheduler to run at logoff. ... open a program with both my normal user/password logon to ... I've also tried using the 'user' Schedule to perform the same task - and in ... 09:00 and 22:00 Mon-Sun initially in html format then in .xls format then ...
    (microsoft.public.win2000.general)