JSI Tip 10630. When you press CTRL+ALT+DEL, Windows XP reports that the Administrator has turned off your access to Task Manager?

If you receive a message that indicates that the Administrator has turned off my access to Task Manager, but the Administrator didn't do it intentionally, you can log on with administrative privileges and  run FixCAD.bat, which contains:

<font size="1">
@echo off
setlocal ENABLEDELAYEDEXPANSION
call :setcomp>nul 2>&1
FOR /F "TOKENS=*" %%a in ('REG QUERY HKU^|FIND /V "_Classes"') do (
 set line=%%a
 if "!line:~41,1!" NEQ "" call :setuser %%a>nul 2>&1
)
endlocal
goto :EOF
:setuser
REG ADD "%1\Software\Microsoft\Windows\CurrentVersion\Policies\System" /V DisableTaskMgr /T REG_DWORD /F /D 0
REG ADD "%1\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Microsoft\Windows\CurrentVersion\Policies\System" /V DisableTaskMgr /T REG_DWORD /F /D 0
REG ADD "%1\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Microsoft\Windows\CurrentVersion\Policies\System" /V "**del.DisableTaskMgr" /T REG_SZ /F /D " "
goto :EOF
:setcomp
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system" /V DisableTaskMgr /T REG_DWORD /F /D 0
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DisableCAD /T REG_DWORD /F /D 0
</font>



Please or Register to post comments.

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.