# Disobedient Windows XP

**URL:** <https://boards.straightdope.com/t/disobedient-windows-xp/379742>\
**Category:** Miscellaneous and Personal Stuff I Must Share\
**Created:** [November 9, 2006, 6:25pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742 "2006-11-09T18:25:02Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![control-z](https://avatars.discourse-cdn.com/v4/letter/c/eada6e/32.png) [@control-z](https://boards.straightdope.com/u/control-z)\
**Post date:** [November 9, 2006, 6:25pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/1 "2006-11-09T18:25:02Z")

</div>

For perfectly legitimate reasons I don’t want to debate with Linux people, I run WinXP.

But dammit XP, I’M THE ADMINISTRATOR. If I tell you to end a process, DO IT! If I tell you to delete a file, DO IT! I don’t want to see any whiny error messages about a file being locked or in use. And if I tell you to delete a stuck print job from the queue, THEN DO IT! Don’t make me reboot the damn computer to clear the print queue.

What’s the point of having an Administrator account if you don’t have control over these things?

---

<div class="post-metadata">

**Author:** ![Ike\_Witt](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ike_witt/32/283_2.png) [@Ike\_Witt](https://boards.straightdope.com/u/Ike_Witt)\
**Post date:** [November 9, 2006, 7:25pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/2 "2006-11-09T19:25:11Z")

</div>

[QUOTE=control-z]  
What’s the point of having an Administrator account if you don’t have control over these things?  
[/QUOTE]

To give people the illusion of control. D’uh.

---

<div class="post-metadata">

**Author:** ![LionelHutz405](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lionelhutz405/32/536_2.png) [@LionelHutz405](https://boards.straightdope.com/u/LionelHutz405)\
**Post date:** [November 9, 2006, 7:40pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/3 "2006-11-09T19:40:29Z")

</div>

Does Linux let you delete a file that’s in use?  
(Seriously, I don’t know if it does.)

---

<div class="post-metadata">

**Author:** ![gazpacho](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@gazpacho](https://boards.straightdope.com/u/gazpacho)\
**Post date:** [November 9, 2006, 7:56pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/4 "2006-11-09T19:56:39Z")

</div>

[QUOTE=LionelHutz405]  
Does Linux let you delete a file that’s in use?  
(Seriously, I don’t know if it does.)  
[/QUOTE]  
The versions of Linux I have used allow you to delete files that are in use. I am not sure if that is really an improvement or not.

---

<div class="post-metadata">

**Author:** ![Leviosaurus](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@Leviosaurus](https://boards.straightdope.com/u/Leviosaurus)\
**Post date:** [November 9, 2006, 8:16pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/5 "2006-11-09T20:16:34Z")

</div>

[QUOTE=control-z]  
For perfectly legitimate reasons I don’t want to debate with Linux people, I run WinXP.

But dammit XP, I’M THE ADMINISTRATOR. If I tell you to end a process, DO IT! If I tell you to delete a file, DO IT! I don’t want to see any whiny error messages about a file being locked or in use. And if I tell you to delete a stuck print job from the queue, THEN DO IT! Don’t make me reboot the damn computer to clear the print queue.

What’s the point of having an Administrator account if you don’t have control over these things?  
[/QUOTE]

How are you attempting to end a process?

---

<div class="post-metadata">

**Author:** ![neutron\_star](https://avatars.discourse-cdn.com/v4/letter/n/51bf81/32.png) [@neutron\_star](https://boards.straightdope.com/u/neutron_star)\
**Post date:** [November 9, 2006, 9:12pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/6 "2006-11-09T21:12:04Z")

</div>

[QUOTE=control-z]  
And if I tell you to delete a stuck print job from the queue, THEN DO IT!  
[/QUOTE]

To save you some time in the future, you don’t actually have to reboot in that situation.

Go to Start-\>Run, type “services.msc” and hit Enter. Scroll down to the Print Spooler service, right click on it, and choose “Restart” from the menu that pops up.

---

<div class="post-metadata">

**Author:** ![Revtim](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/revtim/32/1042_2.png) [@Revtim](https://boards.straightdope.com/u/Revtim)\
**Post date:** [November 9, 2006, 9:32pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/7 "2006-11-09T21:32:16Z")

</div>

What drives me nuts in not so much that it prevents you from deleting files that are in use, is that it cannot tell you (as far as I know) what is actually using the file.

My guess is a lock is getting set somewhere that’s just a boolean value, saying in use or not, so the OS doesn’t even know itself.

Does anybody know if Vista addresses this problem at all? Seems pretty trivial to me to also store what process/app is using the file.

---

<div class="post-metadata">

**Author:** ![Dead\_Badger](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@Dead\_Badger](https://boards.straightdope.com/u/Dead_Badger)\
**Post date:** [November 9, 2006, 9:42pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/8 "2006-11-09T21:42:07Z")

</div>

If you want better control of processes, download [Process Explorer](http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx), which is everything Task Manager should be. If you want to delete files that are in use, find which process(es) is/are using it with Process Explorer (“find handle…”), kill that process (carefully), then delete the file.

Of course, someone exercising admin rights carefully knew all that, right? 😉

---

<div class="post-metadata">

**Author:** ![Dead\_Badger](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@Dead\_Badger](https://boards.straightdope.com/u/Dead_Badger)\
**Post date:** [November 9, 2006, 9:52pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/9 "2006-11-09T21:52:28Z")

</div>

Erm, my extremely minor snark there was directed at the OP, not **Revtim** who snuck in unnoticed 'twixt preview and post. Yes, XP knows perfectly well which process is using what (it couldn’t operate otherwise), but the bundled task manager is just rubbish. MS’s acquisition of Sysinternals suggests they’re looking to address this in future, though. Hurrah for Mark Russinovich.

---

<div class="post-metadata">

**Author:** ![Noone\_Special](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/noone_special/32/2863_2.png) [@Noone\_Special](https://boards.straightdope.com/u/Noone_Special)\
**Post date:** [November 9, 2006, 9:56pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/10 "2006-11-09T21:56:33Z")

</div>

[QUOTE=LionelHutz405]  
Does Linux let you delete a file that’s in use?  
(Seriously, I don’t know if it does.)  
[/QUOTE]  
Simplified version: In all flavors of UNIX (AFAIK) the “file” you see in the “file system” is just another “handle” (reference) to the actual file **object** , and can be deleted at any time. A process using the file gets a **different** handle to the actual file. A file exists so long as any handles to it exist; when the **last** handle is released (e.g., when the process using the file you just deleted exits) THEN the file is gone.

---

<div class="post-metadata">

**Author:** ![Nanoda](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Nanoda](https://boards.straightdope.com/u/Nanoda)\
**Post date:** [November 9, 2006, 10:58pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/11 "2006-11-09T22:58:50Z")

</div>

It’s pretty handy, since you can open a temporary file, delete it right away, and read/write to it without worrying about having to dispose of it when your program finishes.

I’m on the fence about XP deleting files (I usually rename it and try again, then try a command line, then curse). Files stuck in the XP spooler I just ignore, since it’s such a pain to eliminate them.

---

<div class="post-metadata">

**Author:** ![Der\_Trihs](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/der_trihs/32/233_2.png) [@Der\_Trihs](https://boards.straightdope.com/u/Der_Trihs)\
**Post date:** [November 9, 2006, 11:17pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/12 "2006-11-09T23:17:34Z")

</div>

Here’s something I’ve found that helps with some processes that won’t shut down. When you try to stop a program or close a window and nothing happens, open Task Manager and open Processes. Look for a process with a name like ( going by memory ) DUMPPRP; I probably didn’t spell it right, but it looks like it comes from"Dump Prepare". End _that_ process, and whatever you tried to shut down earlier will also go away. YMMV; I’m not a computer expert, but it works for me.

---

<div class="post-metadata">

**Author:** ![control-z](https://avatars.discourse-cdn.com/v4/letter/c/eada6e/32.png) [@control-z](https://boards.straightdope.com/u/control-z)\
**Post date:** [November 9, 2006, 11:50pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/13 "2006-11-09T23:50:49Z")

</div>

[QUOTE=neutron star]  
To save you some time in the future, you don’t actually have to reboot in that situation.

Go to Start-\>Run, type “services.msc” and hit Enter. Scroll down to the Print Spooler service, right click on it, and choose “Restart” from the menu that pops up.  
[/QUOTE]

:smack: That’s one of those things I know, but never remember to do.

---

<div class="post-metadata">

**Author:** ![Giraffe](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giraffe/32/129_2.png) [@Giraffe](https://boards.straightdope.com/u/Giraffe)\
**Post date:** [November 10, 2006, 12:28am UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/14 "2006-11-10T00:28:02Z")

</div>

Since this thread has turned all helpful and shit, let’s move it where it might do others some good.

---

<div class="post-metadata">

**Author:** ![EllisDee](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ellisdee/32/4531_2.png) [@EllisDee](https://boards.straightdope.com/u/EllisDee)\
**Post date:** [November 10, 2006, 4:19pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/15 "2006-11-10T16:19:31Z")

</div>

Apologies for piggybacking on this thread, but my Task Manager is no longer accessible and I was wondering if anyone could help.

Quick background: I got hit with a virus on [giants.com](http://giants.com), so I updated and ran AVG and Ad-Aware. All clear, all good. But now when I try to run Task Manager, it says “The administrator has disabled the task manager.”

I run multiple accounts, and because I use some crappy “let’s save the data to program files” utilities, they are all administrator accounts. The task manager is only disabled in one of the accounts – my primary one – and it is still listed as an admin account.

What gives? Why is the Task manager greyed out on the taskbar right-click menu, and why does it give me that disabled message when I try to launch it from Start Menu=\>Run? Rebooting doesn’t have any affect, as this has been a problem for a couple days now.

---

<div class="post-metadata">

**Author:** ![JimOfAllTrades](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@JimOfAllTrades](https://boards.straightdope.com/u/JimOfAllTrades)\
**Post date:** [November 11, 2006, 7:33pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/16 "2006-11-11T19:33:23Z")

</div>

This usually means something (like the virus you mentioned) has played with your registry settings and disabled the Task Manager.

You can download one of the free utilities like this one:

[http://www.diskdatarecovery.net/task-manager-has-been-disabled-by-your-administrator](http://www.diskdatarecovery.net/task-manager-has-been-disabled-by-your-administrator)

which will usually fix it, or if you’re not afraid of editing the registry manually, you might try the solutions in one of these links:

> **[Task Manager can't be opened - Windows Server](https://learn.microsoft.com/en-US/troubleshoot/windows-server/system-management-components/task-manager-disabled-by-administrator)**
>
> Provides help to resolve an error (Task Manager has been disabled by your administrator) that occurs when you try to use Task Manager.

[http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/UserTips/Customization/EnableDisableTaskManagerinWindowsXPHomePro.html](http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/UserTips/Customization/EnableDisableTaskManagerinWindowsXPHomePro.html)

---

<div class="post-metadata">

**Author:** ![EllisDee](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ellisdee/32/4531_2.png) [@EllisDee](https://boards.straightdope.com/u/EllisDee)\
**Post date:** [November 12, 2006, 6:52am UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/17 "2006-11-12T06:52:17Z")

</div>

[QUOTE=RJKUgly]  
if you’re not afraid of editing the registry manually, you might try the solutions in one of these links:

> **[Task Manager can't be opened - Windows Server](https://learn.microsoft.com/en-us/troubleshoot/windows-server/system-management-components/task-manager-disabled-by-administrator)**
>
> Provides help to resolve an error (Task Manager has been disabled by your administrator) that occurs when you try to use Task Manager.

[/QUOTE]  
Sweet, fixed me right up. Thanks much!

---

<div class="post-metadata">

**Author:** ![Revtim](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/revtim/32/1042_2.png) [@Revtim](https://boards.straightdope.com/u/Revtim)\
**Post date:** [November 12, 2006, 3:49pm UTC](https://boards.straightdope.com/t/disobedient-windows-xp/379742/18 "2006-11-12T15:49:09Z")

</div>

[QUOTE=Dead Badger]  
If you want better control of processes, download [Process Explorer](http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx), which is everything Task Manager should be. If you want to delete files that are in use, find which process(es) is/are using it with Process Explorer (“find handle…”), kill that process (carefully), then delete the file.  
[/QUOTE]  
Very cool , thanks!
