idleshutdown's People
idleshutdown's Issues
Scheduled Task Shutdown
Hi,
I've been trying to set this up as a scheduled task to shutdown all PC's on our network at a certain time. There are 2 scenarios in the Task Scheduler:
- "Run whether the user is logged on or not" - PC's at the login screen shutdown without warning, which is perfectly fine but PC's which are logged in and being used also shutdown without warning.
- "Run only when user is logged on" - Users who are logged in have the option to postpone or abort the shutdown, but PC's at the login screen do not shutdown.
I don't know why the dialog box does not pop up when I set it to scenario 1. Is this a Microsoft issue or something which can be fixed?
0x80070422 error
I got 0x80070422 error on startup. Probably because I run IdleShutdown v2.0.0 Alpha on Windows 10 Home and the Windows Update service is disabled.
Race condition with mutexes and without a persistent instance.
Where two processes are started in quick succession without a persistent instance available, a race condition is possible where one (A) holds the mutex (very briefly) while the other (B) attempts to take it. B will proceed to send a message even though no persistent instance exists.
This race condition is exceptionally rare. And I'm not entirely sure how to fix it.
The persistent version fails to close the NamedPipeServerStream in many cases.
With the implementation of persistent as in #1, a NamedPipeServerStream was introduced. This runs on a background thread. The background thread is not cleanly exited - the finally
is never called, neither directly nor using
statement.
This is largely a non-issue in normal operation: Windows should automatically dispose of the handle when the process ends, and the server program should not be exited until shutdown anyway.
Still would be nice to fix. Perhaps a Thread.Interrupt
will do to kick it out of the WaitForConnection()
?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.