Showing posts with label Windows XP. Show all posts
Showing posts with label Windows XP. Show all posts

Thursday, February 05, 2009

How to Disable the Confirm File Delete Dialog

The Windows Confirm File Delete Dialog may be one of the most annoying things ever.

You see there's this thing called "the recycle bin" where my files go to when I delete them in Windows. So why the heck do I need to confirm that I want to move something to a place where I can later recover it anyway.

Okay, I'll stop foaming at the mouth any minute now.

On the up side, the folks at Microsoft seem to have actually thought this one through and there's a simple solution. I thoroughly expected to have to hack the registry again. But no...


Here's how to do it:

Right-click the recycle bin and select Properties.

Lo and behold! At the bottom of the properties dialog is a checkbox for "Display delete confirmation dialog".


Sweet! Just un-check this sucka and click OK and Bob's your uncle!

Friday, July 11, 2008

How to: Disable Windows Update Restart

Okay, I normally don't do tech how to posts simply because they're usually already posted and easy to find. This however took me awhile and it is so vexing that windows automatically restarts at the end of a critical update that I thought I'd share it around.

If you're super-technically adept, skip to the end to see the registry hack way of doing this directly.

Windows Update is generally useful. I like that it automatically patches my OS with all the latest security stuff. If you want to know why I like this please take a look at this article on herd immunity and then take a couple of minutes to think about it.

Anyway, the vexing thing is that at some time around 3am, when I am never there to tell it, "oh hell no, I have critical documents open!" Windows rolls an update and the computer helpfully restarts itself. Here's how to fix that little issue without turning off automatic updates in XP pro (for home edition you must hack the registry).

  • Go to Start Menu -> Run type “gpedit.msc” and press Enter
  • This opens the Group Policy editor
  • In this window go to: Computer Configuration -> Administrative Template -> Windows Components -> Windows Update
  • Double click on No auto-restart for scheduled Automatic Updates installations
  • In the settings window Choose Enabled and click OK
  • Close Group Policy Editor

The next time Windows Update updates your system it will not restart the computer automatically, but will notify you that restart is needed in order to finish the installation.

Now for the registry hack way (small children and sensitive individuals should avert their eyes).

  • Go to Start Menu -> Run type “regedit” and press Enter
  • This opens the Registry Editor (if you are not sure of what you're doing STOP because you can completely hose your computer if you screw up)
  • In this window go to: HKEY_LOCAL_MACHINE -> SOFTWARE -> Policies -> Microsoft -> Windows -> WindowsUpdate -> AU (if this key does not exist you must create it)
  • Create a DWORD named NoAutoRebootWithLoggedOnUsers with a value of 1

That's it! Again, the next time Windows Update updates your system it will not restart the computer automatically, but will notify you that restart is needed in order to finish the installation.