Windows Bash Script
Windows Bash Script
Hey,
I have a work laptop which does not allow me to stop the screensaver from coming up after not using it for 15 minutes. They took away admin previleges. I was thinking about writing a windows bash script which would move the mouse using the Mousekeys. Is there anyone who knows how to send number keys in bash script?
I have a work laptop which does not allow me to stop the screensaver from coming up after not using it for 15 minutes. They took away admin previleges. I was thinking about writing a windows bash script which would move the mouse using the Mousekeys. Is there anyone who knows how to send number keys in bash script?
I definitely don't condone bypassing security controls your company put in place but:
http://support.microsoft.com/kb/151715
use this to create a looping numlock on/off script. it will have the effect you are looking for.
http://support.microsoft.com/kb/151715
use this to create a looping numlock on/off script. it will have the effect you are looking for.
ok try this one then:
place these two lines in a file and save it as numlock.vbs:
set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "{NUMLOCK}"
place that in a looping batch script, ie:
@echo off
:loop
numlock.vbs
sleep 10
goto loop
place these two lines in a file and save it as numlock.vbs:
set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "{NUMLOCK}"
place that in a looping batch script, ie:
@echo off
:loop
numlock.vbs
sleep 10
goto loop
Instead of a looping script, couldn't you just set a regular Windows scheduled task to run every 14 minutes with task duration of 23 hours 59 minutes? That would probably also give a greater degree of freedom as to what's actually run to keep the screen saver off.
Trending Topics
Jumper, clearly your employer has determined that there is something on your laptop that is sensitive enough to warrant the protection.
Subverting this is a really bad idea in the event someone gains access because your machine was not locked...
What type of company do you work for and what type of info are they trying to protect on the laptop?
Subverting this is a really bad idea in the event someone gains access because your machine was not locked...
What type of company do you work for and what type of info are they trying to protect on the laptop?
There's a million technical ways to make this happen. But you don't need a battleship to sink a rowboat. Reminds me of a complex solution that accomplished the same thing as turning off the light.
Open Notepad, or Word or hell, even a email. Take a small piece of paper and jam the "A" key, ( or any key for that matter ) so it just repeats. Then minimize the window.
Done.
Anyone can make the simple complex. The real brilliance is when you make the complex simple.
Open Notepad, or Word or hell, even a email. Take a small piece of paper and jam the "A" key, ( or any key for that matter ) so it just repeats. Then minimize the window.
Done.
Anyone can make the simple complex. The real brilliance is when you make the complex simple.
Yeah brilliant Shalooby. Maybe you should post that on http://thereifixedit.com/ lol
There's a million technical ways to make this happen. But you don't need a battleship to sink a rowboat. Reminds me of a complex solution that accomplished the same thing as turning off the light.
Open Notepad, or Word or hell, even a email. Take a small piece of paper and jam the "A" key, ( or any key for that matter ) so it just repeats. Then minimize the window.
Done.
Anyone can make the simple complex. The real brilliance is when you make the complex simple.
Open Notepad, or Word or hell, even a email. Take a small piece of paper and jam the "A" key, ( or any key for that matter ) so it just repeats. Then minimize the window.
Done.
Anyone can make the simple complex. The real brilliance is when you make the complex simple.
Yeah brilliant Shalooby. Maybe you should post that on http://thereifixedit.com/ lol
Yeah brilliant Shalooby. Maybe you should post that on http://thereifixedit.com/ lol
My favorite:

And the comment:
Fixer Vexarr says, “While grounded in concern, I feel your criticism is insulated from the realities of the field. I’m sure the load was line balanced and work conducted in a positive manner. No reason to get short. I see no reason to be alternating from their current policies."
^I didn't know people from Acurazine were posting on there as well
Thread
Thread Starter
Forum
Replies
Last Post
xsilverhawkx
2G TL Problems & Fixes
5
Sep 28, 2015 06:51 PM
AcuraKidd
Non-Automotive & Motorcycle Sales
0
Sep 25, 2015 11:18 PM


