RE: User log off and closing of applications.
- From: v-yanniw@xxxxxxxxxxxxxxxxxxxx ("Jenny wu [MSFT]")
- Date: Fri, 12 May 2006 07:59:57 GMT
Hi,
Thanks for posting here.
From your description, I understand that you want to force users to logofffrom the file server or SBS server at a scheduled time. If I am off base,
please don't hesitate to let me know.
This is a script related issue. I would like to suggest that you post the
question in our developer newsgroup for support. The developer newsgroups
are located at: http://msdn.microsoft.com/newsgroups/default.asp.
The reason why we recommend posting appropriately is you will get the most
dedicated pool of respondents, and other partners who the newsgroups
regularly can either share their knowledge or learn from your interaction
with us. Thank you for your understanding.
What is more, I would like to provide some suggestions to the issue for
your reference.
There are two options you can use:
I. logoff.exe
If you prefer to force the client logoff, we can try to run a script in
scheduled task to log off the client on a specific time. In Windows 2000
resource kit, there is tool: logoff.exe which can help us to logoff users.
The following steps can be used to deploy this solution:
1) Copy the logoff script to the System32 directory on the specific
computers (file server and SBS server box)
2) Create a simple batch file which contains the following
"C:\%systemroot%\system32\logoffscript.bat /F /N"
3) Create a scheduled job which references this batch file.
A) Permissions can be set which disallow users from changing or deleting
the job
B) A local user account needs to be specified
4) Copy this scheduled job from the %systemroot%\tasks folder of one
computer to the %systemroot%\tasks folder of these computers.
Now regardless of who is logged on, or if a user has locked the computer,
the scheduled job will log the user off.
II. a third party utility: PsShutdown.exe
Use a third-party shutdown utility: PsShutdown.exe. It has the option of -o
to remotely log off a computer''s console user. To download this utility,
refer to http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml. You
can run the following command on the server to remotely log off a computer:
psshutdown -o \\computer -u domain\administrator -p password
- This is a third-party utility produced by a third-party vendor. We make
no warranties or guarantees on its functionality, performance or
reliability. Use it at your own risk.
Hope above information helps.
Have a nice day!
Sincerely,
Jenny Wu
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.
--------------------
Thread-Topic: User log off and closing of applications.client.
thread-index: AcZ1A53Ols2SExpBQXOxXEfI04bckg==
X-WBNR-Posting-Host: 68.202.159.62
From: =?Utf-8?B?Sk1jTmFsbHk=?= <JMcNally@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: User log off and closing of applications.
Date: Thu, 11 May 2006 07:03:01 -0700
Lines: 13
Message-ID: <ACD6C403-7F58-4260-90CB-001B200CF964@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.windows.server.sbs
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.server.sbs:267376
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.windows.server.sbs
I have 10 remote workers that connect to the SBS network via terminal
They work at very odd hours and they would like to have the opportunity toand
keep the day open to work.
I need a windows of at least 5 hours to do the backup for a file server
the Windows 2003 SBS Server.sessions.
I need to have a script or batch file that can run and make sure that the
users (network and terminal client) are logged off their respective
IF not then to close the applications orderly and log them offaccordingly
at a pre determined time.
Anyone can help
--
Jairo F McNally
.
- Prev by Date: Re: Remote web workplace not working with TLS_RSA_WITH_3DES_EDE_CBC_SHA
- Next by Date: RE: Activesync Errors following PHP install
- Previous by thread: RE: RIS installation
- Next by thread: RE: Activesync Errors following PHP install
- Index(es):
Relevant Pages
|