Questions tagged [logoff]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
34 votes
14 answers
326k views

Are there Windows 7 keyboard shortcuts for Log Off and Standby?

I like the Windows-L keyboard shortcut to lock the computer. Are there similar shortcuts for "Log Off" and "Standby"? Is it possible to remap Windows-L to a different function?
Gabe Moothart's user avatar
12 votes
3 answers
50k views

How to stop remote desktop logoff after closing the connection

While I am using remote desktop connection(mstsc.exe), when I close the connection, I get logged off from the remote machine. Is there a way to stop logging off after disconnection ? Client and ...
PKSA's user avatar
  • 131
6 votes
1 answer
7k views

How can I determine whether a Windows logoff was manual or automated?

Here are two common ways users can be logged off of Windows: Manual: The user logs off manually Automated: The windows system logs off the user automatically via some mechanism Is there any way to ...
George 2.0 Hope's user avatar
6 votes
1 answer
17k views

Remote desktop: automatically logoff when disconnected

I'm using Windows' Remote Desktop to connect from a Windows 7 machine to a Windows XP one. Many times, I just hit 'X' on the window without logging off when I'm finished using it, and subsequent users ...
Hod - Monica's Army's user avatar
5 votes
2 answers
19k views

Windows 10 log on and log off event when I wasn't active?

I'm seeing the following data for an event. An account was logged off Security ID S-1-5-90-0-10 account name DWM-10 at 00:01:24 DWM-...
Olga Khumlo's user avatar
4 votes
10 answers
19k views

Windows 7 logging off standard users

I've got a Windows 7 installation with 2 users, one administrator and the other is not. If I try to logon with the standard user it show the Welcome Screen and then logs them off immediately. If I ...
massimogentilini's user avatar
4 votes
1 answer
3k views

How do I auto log off users from Ubuntu

Since my Ubuntu station was turned into Multi user Station (kids growing up) I need a way to log off automatically accounts after inactivity period (total log off not just lock screen). How can I ...
DrorCohen's user avatar
  • 293
4 votes
2 answers
4k views

Windows 7 hangs at Logoff

I have a Windows 7 Ultimate Notebook (Acer 1420p - PDC edition) that sometimes hangs at the "Logging off..." screen. The Eventlog has the following entries: 18:13:51 Warning: The winlogon ...
laktak's user avatar
  • 2,577
4 votes
2 answers
2k views

Log off as local "administrator" user, get blank login screen

I have an imaged lab environment running Windows 7 and attached to a domain. The local Administrator account is enabled for certain maintenance and prep tasks. Every time I logoff from the local ...
Force Flow's user avatar
  • 4,116
3 votes
6 answers
17k views

How do I remove the logoff option from the Windows XP shutdown dialog?

I have a handful of Windows XP workstations available for public use. They are configured to autologin at startup. However, for some reason when some users finish using the workstation, they have the ...
Force Flow's user avatar
  • 4,116
3 votes
0 answers
11k views

Run a program before Logoff and wait for finish

When I want to run a program (.exe \ .bat) before Windows 7 Home Premium Logoff \ Restart I use the Task Scheduler and I set a custom event: Log: System, Source: Winlogon, Event ID: 7002 \ 4634 \ 4647 ...
user3133076's user avatar
3 votes
2 answers
4k views

No signal after log off/ switch user

Periodically my monitor will go black and display "no signal" before turning off (power save mode) when I log off Windows or switch users. It doesn't do this every time, although most of the time the ...
ElvisFanTCB's user avatar
2 votes
1 answer
3k views

How to disable the sound when logging off / locking / switching users?

I need to disable the sound that gets emitted on Windows 7 when a user logs off. I presume it should be as easy as finding the sound file that gets played and renaming it while logged in with ...
Jordan Jamingsons's user avatar
2 votes
1 answer
5k views

Force users (on a mac) to log off after inactivity

I'm looking for a way in which I can force accounts left logged on to my Mac to auto logoff after a period of inactivity. There is a setting built in to the operating system (Lion), that does this, ...
Bryan's user avatar
  • 1,642
2 votes
0 answers
348 views

How to keep WSL running after locking your PC or switching the screen off?

I want to keep some code running for a while on my Windows 11 computer with WSL2. However, if I hit Win+L to lock the computer or switch the screen off, the WSL seems to just freeze and resumes only ...
Marijus Ambrozas's user avatar
2 votes
1 answer
7k views

Executing a batch script on Windows 10 shutdown/logoff/reboot

First off, sorry. This is a re-post of my original question asked on "stackoverflow", but I have tried to get moderators to move it, due to the question being more a general windows behavior issue ...
Henrik Nielsen's user avatar
2 votes
1 answer
7k views

How to stop Windows from ever automatically logging off the current user?

I have several MS Surface Pro tablet PCs running Windows 10 Pro that are being used as time clocks. I do not want employees coming to work only to find that the time clock is sitting on a login screen....
Joe Gayetty's user avatar
2 votes
2 answers
790 views

AppleScript to logoff Mac user after closing an application?

I've configured a local user account on an iMac (Lion) to immediately launch Firefox to a specific page after logging in – the page contains a survey to be completed by the user. This works fine. ...
JDF's user avatar
  • 21
2 votes
2 answers
703 views

Log-off Scripts in Windows 7

I have Public machines that I need to run log-off scripts, which are in Perl. I want the script to run for a Standard user. It seems that the UAC is blocking this from happening. So, I have turned the ...
chrsblck's user avatar
  • 191
2 votes
0 answers
2k views

Allow Non Administrator User To Launch iTunes When Another User Already Has iTunes Open

On My Windows 7 machine I have two user accounts, one Admin account for myself and one regular account for my wife. Both of us use iTunes to manage our separate music libraries and Apple devices. ...
JonnyReeves's user avatar
2 votes
1 answer
15k views

My computer keeps logging out by itself (Windows 8)

This started happening a few hours ago. I will be using my computer and it just automatically logs out. It seems to occur when there are memory intensive tasks occurring. It's getting really ...
Joel Dean's user avatar
  • 587
1 vote
1 answer
566 views

Windows XP stay logged in

Is there a way to make Windows XP stay logged in even after the user logs off? Right now the PCs log in at start up and we're using WinOFF to shut down the computer after X minutes of inactivity. The ...
VEC's user avatar
  • 45
1 vote
2 answers
1k views

Windows Logoff Executable Missing

Windows 10 Logoff.exe is missing from C:/Windows/System32. I am able to "Sign Out" of windows via Start Menu. I am trying to instead sign out from a command line. How can I restore Windows ...
fohrums's user avatar
  • 520
1 vote
1 answer
1k views

What happens to running programs when you log off with them running in Windows 7?

Is there a message / signal that gets sent to them signaling that the user will log off and thus they better run a hook that saves the files in memory to disk? Does all this get interrupted if you ...
leeand00's user avatar
  • 22.4k
1 vote
2 answers
24k views

Windows 10 randomly automatically logs user out while I'm using it

I have the problem that my Windows 10 automatically logs me out. Also while I'm using it (-for example while I'm editing a file). How can I change that behaviour? Normaly it should not logging me out ...
Abc123's user avatar
  • 11
1 vote
3 answers
4k views

Windows 8.1 session logoff on RDP disconnect

I installed fresh Win8.1 on a VM, enabled RDP access. Problem that I'm facing is that when I close RDP client my session and all my windows and applications got closed immediately. I need session to ...
latonita's user avatar
  • 131
1 vote
2 answers
3k views

Windows 7 starter will not shutdown or logoff

Im having some problems with a friends netbook (a dell mini 10). It will not shutdown or logoff via the usual route. Whenever the shutdown/logoff button is clicked, it will briefly freeze (maybe for ...
richzilla's user avatar
  • 2,423
1 vote
1 answer
200 views

How to determine which program is causing Window to have trouble logging off or shutting down?

When logging off Windows 7 SP1 or turning off the computer, how does one quickly diagnose which program is causing the system to issue a warning that a process needs to close? This post, does a great ...
End Anti-Semitic Hate's user avatar
1 vote
1 answer
839 views

How can I make Windows XP automatically logoff 2 hours after logging in?

I have a Windows XP netbook and it is protected with a password. I want to be able to control the time other people spend on the computer, so whenever anyone logs in I want the computer to ...
User X's user avatar
  • 281
1 vote
2 answers
7k views

Computer shuts down when I logoff

When I click on Start->Logoff, rather than logging off and going back to the CTRL+ALT+DEL logon screen, the entire computer shuts down and powers off. This doesn't happen with other accounts (even ...
Mike Christensen's user avatar
1 vote
1 answer
337 views

Windows starts and immediately log off

I am with Windows XP.Yesterday I downloaded and installed a software and since then avast was blocking attempts to open some links.The links contained some malware.They came from file ,named xzobya....
randomwebdev's user avatar
1 vote
0 answers
477 views

How to Replace Shutdown command with Switch User+Monitor off

When I click on shutdown on start menu, I want my Windows 8.1 computer to do: 1- Switch User (As long as lock keeps computer going on with normal power, while executables are running, it's also ...
Lulili's user avatar
  • 19
1 vote
0 answers
128 views

Modifying default behavior of 'Logoff' Windows 7 Pro

I have an appliance that runs windows 7 pro, and is very locked down as to what a user is able to do. When it is running in the standard case, the only options the user has are logoff, restart, or ...
Dan P's user avatar
  • 41
1 vote
1 answer
244 views

force log off after UAC has been disabled

I'm having to install Windows updates on multiple stand alone systems. I have my update_script.bat script to run, but as it loops through installing each update I am prompted by UAC controls for my ...
CrashFive's user avatar
1 vote
1 answer
396 views

Is there a script "to log remote users off and after log them off to delete their profiles?

I found 6 simple scripts (.bat and .vbs) for remote pcs (Win XP and 7) to Clean Profile properly and faultlessly: Script: sending Ping to check Remote PC On or Off (.bat) Script: checking who logged ...
serdar's user avatar
  • 645
1 vote
0 answers
1k views

Run task at logoff and wait until it finishes

I am running a Windows Vista (no gpedit.msc unfortunately) computer and I want to run a backup at logoff. So, when the user tries to shutdown the computer, I want to run a .bat file which executes the ...
Paya's user avatar
  • 257
1 vote
0 answers
373 views

Active Directory Auto Logoff Timer

I'm experimenting with an Active Directory Domain at home (Win Server 2012 Domain Controller). After joining my Windows 8 Pro (x64) PC to my domain, I am getting automatically logged off after being ...
Brack's user avatar
  • 419
1 vote
2 answers
368 views

Intermittent problems switching users

My Windows Vista x64 machine (not joined to any domain) has intermittent problems switching users. Sometimes, for no apparent reason, it decide that the "Switch User" option off of the Start menu or ...
Josh Kelley's user avatar
  • 1,537
1 vote
1 answer
2k views

Intercept a Windows XP logoff or shutdown with a custom message

When a users logs out of their computer, I would like a way of displaying a message to them asking if they remembered to set their out of office and email forwarding, I'd like to give them the chance ...
Yeodave's user avatar
  • 896
0 votes
3 answers
1k views

Add Logoff script for stand-alone workstation?

I have 6 versions of Windows in VMs for testing software. The Windows VMs are stand alone and not part of domain. They span Windows XP to Windows 10. The software that gets tested produces about 1.75 ...
jww's user avatar
  • 12.1k
0 votes
1 answer
73 views

Windows running 24/7: logged in vs logged off

There are lots of discussions about leaving PC running 24/7 or shutting it down from time to time. This is not what my question is about. My question is about running Windows 24/7, but wondering if it ...
ctomek's user avatar
  • 133
0 votes
1 answer
395 views

Windows 10 desktop closes command line if left overnight

I've been leaving important things running overnight on command line which are time critical for me and when I come back they are rarely still running. The command line window isn't even open. This ...
Greg Cawthorne's user avatar
0 votes
1 answer
222 views

how to start a long running program at system start and stop at login and restart at logoff

I am trying to mine some crypto currency with my computer. Untill now I have done this: At system start, I have scheduled a task to start the mining software at login I have scheduled another task to ...
Ali Syed's user avatar
  • 157
0 votes
1 answer
1k views

How can I remotely log someone off from my Google (Chrome) account?

I have a friend who used to use Safari and (about a year ago) I used to use Google Chrome on her laptop because I didn't have my own at the time. I completely forgot that it was even syncing the ...
Gasim's user avatar
  • 795
0 votes
1 answer
5k views

Kill a process when user presses “logoff”, “shutdown” or “restart”

I often use notepad.exe for temporary messages. I never use it for something I need to save: I have normal text editors and MS OneNote for that. When I shut down, multiple instances of Notepad is ...
Soonts's user avatar
  • 925
0 votes
1 answer
867 views

Windows XP immediately logs out after logging in

Trying to fix my friends computer and having some issues. (Windows XP) The story is, he plugged in his Blackberry, didn't have the software, so installed it. It wanted to restart so he did, and it ...
Daniel Huckstep's user avatar
0 votes
1 answer
811 views

Use Domain GPO to run local batch file on logoff - Is it possible?

What I want to accomplish: When a user logs off a machine and is not on the domain, the contents of the recycling bin are deleted. How this is currently done and works on domain: Domain GPO > User ...
DeltaSun510's user avatar
0 votes
1 answer
765 views

How to run a script at logon/logoff of one specific user in Windows 10 without using GPO?

I have a set of computers which are used by several users. One one of those computers I need to map a drive for two users (and only for those two users). My idea was to run a script on logon of either ...
Joe's user avatar
  • 313
0 votes
0 answers
40 views

PC randomly logs off

My windows10 HP pc randomly logs off for no apparent reason. I have disabled all sleep settings and screensavers yet it still does it randomly without warning or any kind of error message, my ESET ...
Edward Muniz's user avatar
0 votes
1 answer
327 views

Windows XP log off script not running

I've written two .cmd scripts - "logon.cmd" and logoff.cmd" I've set the "logon.cmd" to run using the gpedit.msc. Similarly I've done so with the logoff.cmd. My logon script runs fine but my logoff ...
himahimahima's user avatar