Questions tagged [logoff]
The logoff tag has no usage guidance.
57
questions
2
votes
0
answers
464
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 ...
0
votes
1
answer
955
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 ...
0
votes
1
answer
971
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 ...
0
votes
0
answers
41
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 ...
6
votes
1
answer
9k
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 ...
1
vote
2
answers
2k
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 ...
0
votes
1
answer
76
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 ...
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 ...
5
votes
2
answers
20k
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-...
-1
votes
2
answers
5k
views
How to Create a Windows Task that activates on event in Powershell
Hey I need to create a windows task that acts much like the Logoff Scripts in Group Policy (our environment does not have AD) do. The task needs to run as the logged in user so that the script can ...
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 ...
0
votes
1
answer
418
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 ...
1
vote
0
answers
480
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 ...
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 ...
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....