How to make sure AutoCheck is enabled on Remote Computer

The following knowledgebase will explain the methods you can use to check the AutoCheck registry entry on local and remote computer.

To check on local computer:

You can use the following methods:

  1. Connecting to Remote Registry Service
  2. Using a script

The first method is easy but includes a lot of efforts. You can navigate to the following location in registry after connecting to remote registry:

HKLM\System\CurrentControlSet\Control\Session Manager

The above registry key includes the following values in right pane:

bootexecute REG_MULTI_SZ autocheck autochk *\0\0

To check on a Remote Computer:

You can use the below script to check the Processor Vendor and MHz speed on a remote computer:

@echo off

Srvlist=C:\Temp\Srvlist.txt

Echo Computer Name, Boot Check Enabled? >> Result.csv

SET Boot_Chk=

For /F “Tokens=*” %%a In (%srvlist%) Do (

Set Comp_name=%%a

Set RegQry=”\\%%a\HKLM\system\currentcontrolset\control\session manager” /v bootexecute

REG.exe Query %RegQry% > CheckCC.txt

Find /i "autocheck autochk" < CheckCC.txt > StringCheck.txt

If %errorlevel% == 0 (

SET Boot_Chk=Enabled

) ELSE (

SET Boot_Chk=Disabled

)

Echo %Comp_name, %Boot_Chk% >> Result.csv

)

The above script will check remote computer for one registry entry for Boot Check and the results will be saved in a CSV format file.

Published Thu, Sep 27 2007 3:38 by Nirmal
Filed under:

Comments

# cloning vhs tapes

This strip reminded me of my Cryptology class for which I was the TA with an enrollment of 70 students. Weekly assignments were horrible as I spent more time grading them than the students may have spent on searching for the solutions. Exams were the

Tuesday, March 25, 2008 9:02 PM by cloning vhs tapes

Leave a Comment

(required) 
(required) 
(optional)
(required) 
If you can't read this number refresh your screen
Enter the numbers above: