|
As a corporate IT, it's because this is a work PC and we still have to attempt to ensure our policies are enforced.
I know it sounds absurd, but all the security notices I've been receiving recently have revolved around how working from home is actually higher risk for our corporate systems. The reason for this is our security teams haven't included your home network with it's SoHo router that hasn't seen a security patch from the vendor in years, if ever.
|
|
|
|
|
My company gave me the computer and run the policies so that I can't change them.
I have resorted to jamming the CTRL key down when I am not actively working on it to prevent it from requiring a re-login when I go back to it.
|
|
|
|
|
Try caffeine
If you say that getting the money is the most important thing
You will spend your life completely wasting your time
You will be doing things you don't like doing
In order to go on living
That is, to go on doing things you don't like doing
Which is stupid.
|
|
|
|
|
I used to use this little app I found on CodeProject when I was teaching at a local university. The classroom PCs used for the projectors kept popping into password-locked screensaver mode if I didn’t flip slides fast enough. I tried lots of stuff but most were locked out by IT. like installing anything, running Powershell scripts, disabling the screensaver, etc. This is the only thing that worked always.
Disable Screensaver[^]
|
|
|
|
|
Can you write code, like C#?
Write a simple program that, when it starts up. uses a timer to send a safe key stroke (like Ctrl or whatever). That is usually sufficient to make the screen saver/lock (which I assume you can't change in Windows settings) think you made a key stroke. I would recommend using a timer interval that changes each time between 15 and 60 seconds, using a random number generator. The screen saver/lock coder might be smart enough to look for a repeat of the same interval.
|
|
|
|
|
I like Mouse Jiggler. https://mouse-jiggler.en.lo4d.com/windows The Zen feature makes it very nice. Keep in mind that it can stop working when using VMs or Remote Desktops.
|
|
|
|
|
I hacked the following powershell together to fix this. The trick is that you don't need to move the mouse, you only need to move the mouse cursor to prevent the screensaver. Windows!
Quote: $prevent_screensaver = {
#########################################################
# Prevent-Screensaver
#########################################################
# This script moves the mouse cursor
# for specified number of minutes which makes
# Windows think you are at your desktop
# so the screensaver does not start and the desktop
# does not get locked.
#########################################################
# Makes the script move the mouse (press .) for 120 minutes.
########################################################
# (c) Dmitry Sotnikov + T.H. Schmidt
# https://dmitrysotnikov.wordpress.com
########################################################
$minutes = 120
[void] [System.Reflection.Assembly]::LoadWithPartialName(System.Windows.Forms)
$myshell = New-Object -com Wscript.Shell
for ($i = 0; $i -lt $minutes; $i++) {
Start-Sleep -Seconds 60
$Pos = [System.Windows.Forms.Cursor]::Position
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point((($Pos.X) + 1) , $Pos.Y)
}
}
# stub that will send the e-mail for logging
$email = {
$emailTo = $Env:USERNAME+"@justice.vic.gov.au"
#echo $emailTo
$messagecontent = @"
This message informs that the screensaver was locked out on PC:
"@
$emailFrom = "noreply@x.y.x"
$subject="Screensave bypass notification"
$smtpserver="mailserver.dns.name"
$smtp=new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send($emailFrom, $emailTo, $subject, $messagecontent)
}
# Pops up the dialog and makes the user agree to the conditions
Add-Type -AssemblyName PresentationCore,PresentationFramework
$ButtonType = [System.Windows.MessageBoxButton]::YesNo
$MessageboxTitle = "User Agreement"
$Messageboxbody = "I understand that while the screensaver is disabled on my PC it is my responsibility to ensure it is secure and supervised at all times and I promise I will be a good boy / girl"
$MessageIcon = [System.Windows.MessageBoxImage]::Warning
$button = [System.Windows.MessageBox]::Show($Messageboxbody,$MessageboxTitle,$ButtonType,$messageicon)
# calls the prevent_screensaver sub if the user selected yes.
if ($button -like "Yes") {
#echo $button
&$email
&$prevent_screensaver
}
else {
#echo "Selected: No"
#&$email
}
Hope that helps. I take no responsibility for the Security implications of this script.
|
|
|
|
|
|
...and started using lettuce leaves as a replacement.
Today was just the tip of the iceberg, what happens tomorrow romaines to be seen!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
Celery ask you again tomorrow?
|
|
|
|
|
If you served in the military, you would know how to use sandpaper
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
MadMyche wrote: If you served in the military, you would know how to use sandpaper
He'd still have toilet paper but not sandpaper.
|
|
|
|
|
I'm not gonna endive into this one.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
I always wondered why so many plants have thorns, even on the leaves.
Now we know.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
and even in the name, like rhubarb!
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
|
|
|
|
|
That's about all lettuce is good for. Might as well use it.
Nah, I kid. I'll eat Caesar salad...aka the least healthy salad available.
|
|
|
|
|
dandy72 wrote: Nah, I kid. I'll eat Caesar salad...aka the least healthy salad available. You eat grass, I'll take bacon.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I don't split meals with others, especially when bacon is involved. Or you might get stabbed in the hand with a fork. Bacon is serious business, and a Caesar salad without it is entirely pointless.
|
|
|
|
|
This Kale's for some serious thought.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Why use lettuce? Cos you had no cabbage, I guess...
|
|
|
|
|
You should try cabbages, 'cos they're better.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Are there no coronavirus cases on Antarctica because they are already ice-olated?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
I can't remember that far back!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
FWIW, Nunavut, in northern Canada, still has no reported case.
[Edit]
What's going on in Quebec? Population of 8.5M, 4600+ infected. Next province with the most cases (2800) is Ontario, with a population of 14.5M.
|
|
|
|