Sunday, January 14, 2001 ..:: Home ::.. Register  Login
   TechTidBits (Blog)  

Do You Program Windows Get Reset When You Clean Your Keyboard?

Feb 3

Written by:
Friday, February 03, 2012 10:33 PM  RssIcon

imageDo you keep your keyboard clean with Lysol Wipes?  After you go back to work, do you find all your window locations reset?  I can help you!

I’m a bit of a self-professed germaphobe when it comes to my desk, computer keyboard, mouse and screen.  In past years, I’ve had people come to help me out, and in doing so, take control of the keyboard/mouse.  Well, sometimes they leave behind valuable knowledge, and more times than not, they also leave behind…..well….germs.  Ok, ok, it’s not THAT big of a deal, BUT……and maybe it’s purely coincidental, BUT, I remember getting violently ill shortly after some of these encounters! 

imageSO!  A few years ago, I decided to try keeping my hands SUPER clean, and regularly wiping down my desk, keyboard, mouse, phone with disinfectant wipes.  They’re great for this!  Easy to keep at your desk/cubicle, quick, disposable, affordable health insurance, effective, and great for my own psyche (ya, I agree there could be a little psychological stuff going on here, but it works!).


Anyways, WHY am I talking about my phobias and how the heck does it relate to magically resetting application windows?!  Every once in a while, after unlocking my computer screen, ALL of my windows would be reset!  And if you know me, I have my Visual Studio windows “JUST SO!”  Outlook, SQL Server Management Studio, all in their own PERFECT PLACE on one of my two monitors!!!!!  Yes, DON’T mix them up!!!!  But sometimes after I get back to work, after cleaning my keyboard, everything was reset to ONE monitor!  DOH!

Through a long trial and error….aka….with a LOT of luck, I figured out the problem was linked to Windows Fast User Switching feature!  Ya, when you switch users, Windows wants to reset your window layouts/locations.  POOF! All reset to one monitor! DOH!

So!  The next step was/is to disable this.  Now, for developers, hopefully, this isn’t a major problem.  I’ve done this one my computer at work and at home, and it WORKS LIKE A CHARM!

CEO Summary: For Win 7, you change a group policy (for others, check the links in Resources).

DEV Summary:

  • Fire up gpedit.msc
  • Go down via “Local Computer Policy\Computer Configuration\Administrative Templates\System\Logon”
  • Change the value to Enabled

After your done, you should have something like this.


NOW!  When you clean your keyboard, although you won’t be able to change users (which is probably something you don’t do anyways, so no big loss there) you will be able to clean your keyboard without fear of losing your window arrangements!  Now it’s time to go grab a coffee and get coding!


addictivetips: How To Enable/Disable Fast User Switching In Windows 7, Vista, XP Senior Developers/Architects should be teachers

Location: Blogs Parent Separator TechTidBits

4 comment(s) so far...


Re: Do You Program Windows Get Reset When You Clean Your Keyboard?

I use Window Key - L to lock my screen whenever I leave my PC and have never had my windows reset.

By Wes MacDonald on   Friday, February 03, 2012 3:59 PM

Re: Do You Program Windows Get Reset When You Clean Your Keyboard?

AH, that true, if you're just doing a WIN+L to lock, all is good! It's when you next start using the Lysol wipes to wipe down your keys...and ay press a bit to get between most of the keys...eventually you hit the ONE key sequence that pops up the Ease of Access (or something like that) and thats when you know you've done it...DOH! By default Windows is setup to start talking when that happens, it reads that Window that pops up, THAT'S when I usually go DOOOH!!!!!!!!!! and cringe cause I know what's in store for the next 5-10 minutes to restore windows.

Thanks for commenting Wes! Have a good weekend and I hope you come back soon!

By Peter Henry on   Friday, February 03, 2012 9:23 PM

Re: Do You Program Windows Get Reset When You Clean Your Keyboard?

You do realize there are these things called antibodies and you must encounter germs in order to produce the antibodies for them.
Later on, when you're elderly, you won't have those antibodies and at that point a sickness might actually (knock on wood) be serious.

Did cave men have Lysol? And we're still here.

Please think about this.

- Algonquin grad

By Tom Ferguson on   Monday, April 16, 2012 6:16 PM

Re: Do You Program Windows Get Reset When You Clean Your Keyboard?

Hi Tom. I have thought about it, a bit too much maybe? HAHA But seriously, what I'm trying to avoid here is excessive illness, going out to LOOK for the germs is what I want to avoid. I don't mind casual, day to day contact, but it's the excessive touching I'm worried about. I just don't want to be laid up in bed for a week, lose a week's worth of wages, or even WORSE infect family around me with it.

Having said that, I'm up in the air about the seasonal flu shots. EVERY year, there's a three point pattern, 1) a massive "YOU HAVE TO GET IT...NOW!" then 2) a few months later.....hhhmmm a chance we might have missed a few of the bugs this season 3) we're not sure how effective this seaon's medical value was? Just seems every year to be the same thing repeated over and over. This past season was mild, but it happened again.

Anyways, you're right, cavemen didn't have Lysol, but they also didn't have SARS, AIDS, foot'n'mouth disease, 5ths Disease, measles, mumps, etc, etc. I just don't want to go out inviting to get sick, that's all I'm looking to communicate.

Thanks for your comment. I know we may not share the same view point, but hey, we can agree to disagree, right? Thanks for commenting Tom! Have a good week!

By Peter Henry on   Monday, April 16, 2012 7:30 PM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Add Comment   Cancel 
Copyright 1999-2012 by   Terms Of Use  Privacy Statement