Categories
Antiwork

How to look available in homeoffice

Hey guys, I have seen this a couple of times here and recently there was a post with some warning pup ups about inaction. You don't need special software, USB drives, mouse jiggler or the like. Just do this (when you have a Windows computer): Create a new Text file Paste this code in the file: ​ Echo “Keep-alive with Scroll Lock…” $WShell = New-Object -com “Wscript.Shell” while ($true) { $WShell.sendkeys(“{SCROLLLOCK}”) Start-Sleep -Seconds 10 } save the file under some name (e.g. keepAliveScript) with the ending .ps1 execute the script: Browse to the location you stored the ps1-file in File Explorer and choose; File-> Open Windows PowerShell. Type (part of) the name of the script. Press TAB to autocomplete then name. Note: Do this even when you typed the name in full. Press ENTER to execute the script. As long as the PowerShell Windows is up and running, you will…


Hey guys, I have seen this a couple of times here and recently there was a post with some warning pup ups about inaction. You don't need special software, USB drives, mouse jiggler or the like. Just do this (when you have a Windows computer):

  1. Create a new Text file
  2. Paste this code in the file:

    Echo "Keep-alive with Scroll Lock..."

    $WShell = New-Object -com "Wscript.Shell"

    while ($true)
    {
      $WShell.sendkeys("{SCROLLLOCK}")
      Start-Sleep -Seconds 10
    }
  1. save the file under some name (e.g. keepAliveScript) with the ending .ps1

  2. execute the script:

  3. Browse to the location you stored the ps1-file in File Explorer and choose; File-> Open Windows PowerShell.

  4. Type (part of) the name of the script.

  5. Press TAB to autocomplete then name. Note: Do this even when you typed the name in full.

  6. Press ENTER to execute the script.

  7. As long as the PowerShell Windows is up and running, you will be seen as available. You can now minimize that window and get yourself a coffee 😉

Enjoy 🙂

Leave a Reply

Your email address will not be published.