Skip to Content
Windows XP Hacks
book

Windows XP Hacks

by Preston Gralla
August 2003
Beginner
416 pages
12h 47m
English
O'Reilly Media, Inc.
Content preview from Windows XP Hacks

Hacking Away at the Registry

Nine great hacks that use the Registry to do their magic.

You’ll find many dozens of Registry hacks sprinkled throughout this book, but to give you a sense of the breadth of the kinds of hacks that you can accomplish using the Registry, I’ve put a wide-ranging sample of Registry hacks here as well.

Automatically Close Programs at Shutdown

When you shut down Windows, if you have any programs running you’ll get a message box warning you that a program is still running. You then have to close the program and tell XP again to shut down. It’s a fairly pointless warning—better yet would be if XP automatically killed the programs without issuing the warning. That way, you wouldn’t get error messages and wouldn’t have to close each individual application before shutting down your computer.

To have XP automatically close programs at shutdown, run the Registry Editor and go to HKEY_CURRENT_USER\Control Panel\Desktop. Edit the AutoEndTasks key so that is has a value of 1. If the key doesn’t exist, create it as a DWORD value and give it the value of 1. To disable it, either delete the key, or set the value to 0.

Disable XP Shutdown

There may be times when you want to make sure that XP can’t be inadvertently shut down. You can use a Registry hack to disable the normal Shut Down. Run the Registry Editor and go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer. Create a new DWORD value named NoClose with a data value of 1. Exit the Registry ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Windows XP Hacks, 2nd Edition

Windows XP Hacks, 2nd Edition

Preston Gralla

Publisher Resources

ISBN: 0596005113