troubleshooting Question

Keep Windows active with either VBScript or Batch file

Avatar of urzica
urzicaFlag for Israel asked on
Windows BatchMicrosoft ApplicationsVB Script
7 Comments1 Solution24495 ViewsLast Modified:

I have a PC in work, which is connected to a network outside my office. I do not have Administrator privileges.

For security reasons, if the user isn't active for 15 minutes, Windows enters that standby mode where you have to press Ctrl+Alt+Del, enter the password and log back in.

My problem is that a specific program that is connected to this outside network disconnects when Windows logs out (after 15 minutes being idle), so when I log back in, I have to restart the whole thing in order to get the program to connect again.

I tried canceling this automatic standby thing, but the user rights I have don't let me change these things (doesn't even let me cancel the screensaver etc.). So I thought of a simple bypass - if I could run some vbscript or batch file (anything that comes with a simple XP setup, I can't isntall new software or connect to the internet) that keeps Windows active, making XP think I'm using the computer, it won't log out and my problem is solved

I tried a batch file that pings many times, but pinging doesn't count as active, as it thinks it's idle and logs out.

Any help would be great..
Darren Collins
Tech Lead (Windows), Endpoint Device Management Services

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros