Link to home
Start Free TrialLog in
Avatar of sysandprog
sysandprog

asked on

BillDL points - General Protection Fault test parameter

In this question...

https://www.experts-exchange.com/questions/21420801/Software-installation-failures-McAfee-Virus-Scan.html

...BillDL provided the essential test line (with APPWIZ.CPL) and acted as my patient mentor while we mutually investigated the cause of a General Protection Fault seen in Control Panel calls to Add/Remove Programs --> Windows Setup.

The thread has a wealth of information about testing tools and general guidelines and procedures, especially with regard to Registry processing and historical review of system software evolution.

(Note - the question started as an installation problem with McAfee virus scan, which is no longer of interest.)

Here are four MS DOS batch files that have come out of this effort.  They are called from shortcuts that provide the essential framework for the testing.  If you use any of these, be sure to adjust for any line wrap at this EE site which can cause false processing of the batch file, especially with the ECHO statements.

To guarantee use of the proper module version - folders are included in the calls because I detected some problems on my particular system related to Registry identification of the PATH.  Normally folders can be omitted from batch files.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

@ECHO OFF
CLS
ECHO NAME:    APPWIZ.BAT
ECHO CREATED: 20050618
ECHO UPDATED: 20050618
ECHO PURPOSE: Trouble shoot APPWIZ.CPL without any trace
ECHO .
PAUSE
CLS
CALL C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\SYSTEM\SHELL32.DLL,Control_RunDLL C:\WINDOWS\SYSTEM\APPWIZ.CPL,,2

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

@ECHO OFF
CLS
ECHO NAME:    APPWIZ_P.BAT
ECHO CREATED: 20050614
ECHO UPDATED: 20050614
ECHO PURPOSE: Trouble shoot APPWIZ.CPL with Process View
ECHO .
ECHO If any other programs are running, stop this batch procedure with CTL-C
ECHO and then stop all other programs with their exit or with CTL-ALT-DEL
ECHO leaving only Explorer and Systems Tray running.
ECHO .
ECHO After Process View starts the Control Panel Application Wizard will start.
ECHO .
ECHO Starting trace with Process View.  You can stop it with the EXIT under FILE.
ECHO .
PAUSE
CLS
CALL C:\SYS\CMDS\TRACE_IT\PROCESS\PRCVIEW.EXE
CALL C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\SYSTEM\SHELL32.DLL,Control_RunDLL C:\WINDOWS\SYSTEM\APPWIZ.CPL,,2
PAUSE

* * * * * * * * * * * * * * * * * *  * * * * * * * * * * * * * * * *

@ECHO OFF
CLS
ECHO NAME:    APPWIZ_R.BAT
ECHO CREATED: 20050613
ECHO UPDATED: 20050616
ECHO PURPOSE: Trouble shoot APPWIZ.CPL with Registry Monitor REGMON
ECHO .
ECHO If any other programs are running, stop this batch procedure with CTL-C
ECHO and then stop all other programs with their exit or with CTL-ALT-DEL
ECHO leaving only Explorer and Systems Tray running.
ECHO .
ECHO After RegMon starts the Control Panel Application Wizard will start.
ECHO .
ECHO Starting trace with RegMon.  You can stop it with the EXIT under FILE.
ECHO .
PAUSE
CLS
CALL C:\SYS\CMDS\TRACE_IT\REGMON\REGMON.EXE
CALL C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\SYSTEM\SHELL32.DLL,Control_RunDLL C:\WINDOWS\SYSTEM\APPWIZ.CPL,,2

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

@ECHO OFF
CLS
ECHO NAME:    APPWIZ_T.BAT
ECHO CREATED: 20050613
ECHO UPDATED: 20050615
ECHO PURPOSE: Trouble shoot APPWIZ.CPL with File Monitor FILEMON
ECHO .
ECHO If any other programs are running, stop this batch procedure with CTL-C
ECHO and then stop all other programs with their exit or with CTL-ALT-DEL
ECHO leaving only Explorer and Systems Tray running.
ECHO .
ECHO After FileMon starts the Control Panel Application Wizard will start.
ECHO .
ECHO Starting trace with FileMon.  You can stop it with the EXIT under FILE.
ECHO .
PAUSE
CLS
CALL C:\SYS\CMDS\TRACE_IT\FILEMON\FILEMON.EXE /q
CALL C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\SYSTEM\SHELL32.DLL,Control_RunDLL C:\WINDOWS\SYSTEM\APPWIZ.CPL,,2
ASKER CERTIFIED SOLUTION
Avatar of BillDL
BillDL
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sysandprog
sysandprog

ASKER

BillDL...

Note there is more than one way to skin a cat!
Question would not close with zero points.
He, he.  Thank you, sysandprog :-)
Thank you sysandprog