Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
July 9, 2006
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:
@echo offsetlocal ENABLEDELAYEDEXPANSIONcall :setcomp>nul 2>&1FOR /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)endlocalgoto :EOF:setuserREG ADD "%1SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem" /V DisableTaskMgr /T REG_DWORD /F /D 0REG ADD "%1SoftwareMicrosoftWindowsCurrentVersionGroup Policy ObjectsLocalUserSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem" /V DisableTaskMgr /T REG_DWORD /F /D 0REG ADD "%1SoftwareMicrosoftWindowsCurrentVersionGroup Policy ObjectsLocalUserSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem" /V "**del.DisableTaskMgr" /T REG_SZ /F /D " "goto :EOF:setcompREG ADD "HKLMSOFTWAREMicrosoftWindowsCurrentVersionpoliciessystem" /V DisableTaskMgr /T REG_DWORD /F /D 0REG ADD "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon" /V DisableCAD /T REG_DWORD /F /D 0
You May Also Like