SysInternals – ProcDump – Test Case – Aireforge Studio

 

Background

Weeks ago I installed Aireforge Studio.

Used it successfully a couple of times.

But later when I went to try to use it, was not able to.

 

Error

Error Image

Error Image ( Basic )

Error Image ( with problem details)

 

TroubleShooting

SysInternals

SysInternals – procdump

Platform

The OS that I am testing things out is MS Windows 7.

Download

Downloaded procdump from here.

Script out test


set _appFolder=C:\Program Files (x86)\Aireforge\Aireforge Studio
set _appName=AireforgeStudio.exe
set _appFullName="%_appFolder%\%_appName%"

set _folderDump=C:\Dumps

if not exist "%_folderDump%" mkdir "%_folderDump%"

procdump -accepteula  -e 1 -f "" -x %_folderDump% %_appFullName%

Execute Test Script


invoke_AireforgeStudio.cmd

Review Script Step


>invoke_AireforgeStudio.cmd

>set _appFolder=C:\Program Files (x86)\Aireforge\Aireforge Studio

>set _appName=AireforgeStudio.exe

>set _appFullName="C:\Program Files (x86)\Aireforge\Aireforge Studio\AireforgeStudio.exe"

>set _folderDump=C:\Dumps

>if not exist "C:\Dumps" mkdir "C:\Dumps"

>procdump -accepteula  -e 1 -f "" -x C:\Dumps "C:\Program Files (x86)\Aireforge\Aireforge Studio\AireforgeStudio.exe"

Review Script Output

Image

Textual

Process:               AireforgeStudio.exe (14968)
CPU threshold:         n/a
Performance counter:   n/a
Commit threshold:      n/a
Threshold seconds:     n/a
Hung window check:     Disabled
Log debug strings:     Disabled
Exception monitor:     First Chance+Unhandled
Exception filter:      [Includes]
                       *
                       [Excludes]
                       *
Terminate monitor:     Disabled
Cloning type:          Disabled
Concurrent limit:      n/a
Avoid outage:          n/a
Number of dumps:       1
Dump folder:           C:\Dumps\
Dump filename/mask:    PROCESSNAME_YYMMDD_HHMMSS
Queue to WER:          Disabled
Kill after dump:       Disabled


Press Ctrl-C to end monitoring without terminating the process.

CLR Version: v4.0.30319

[11:18:42] Exception: E0434F4D.System.UnauthorizedAccessException ("Access to the path 'C:\ProgramData\Aireforge\Airefor
ge Studio\Aireforge Studio_5.log' is denied.")
[11:18:42] The process has exited.
[11:18:42] Dump count not reached.

Explanation

The error is very descriptive:

E0434F4D.System.UnauthorizedAccessException (“Access to the pathC:\ProgramData\Aireforge\Aireforge Studio\Aireforge Studio_5.log‘ is denied.”

Follow Up

Follow Up – 2017 April 4th

Went and review the cited folder “C:\ProgramData\Aireforge\Aireforge Studio”  and here is what things look like:

Explorer – Folder – Files  View

Image

Explanation

A today is April 4th, 2017, it looks that exactly a month ago ( March 4th ), I successfully tried out Aireforge.

Explorer – Folder – Security View

Image

Explanation

  1. Computer Users currently have the following permission
    • Read & execute
    • List folder contents
    • Read
  2. We likely need
    • Modify, Write

 

Explorer – Folder – Security Assign

Image

Textual

An error occurred while applying security information to:

C:\ProgramData\Aireforge\Aireforge Studio

Access is denied.

 

Augment Permission

cacls

View Permission

Script

set _appFolder=C:\ProgramData\Aireforge\Aireforge Studio

cacls "%_appFolder%"

Output

 

 

Permission – Assign

Script

set _appFolder=C:\ProgramData\Aireforge\Aireforge Studio

cacls "%_appFolder%"

Output

set _appFolder=C:\ProgramData\Aireforge\Aireforge Studio
set _groupName=BUILTIN\Users

rem /E Edit existing permission
rem /G group BUILTIN\Users
rem F: Full Permission
cacls "%_appFolder%" /E /G %_groupName%:F

 

Dedicated

Dedicated to SysInternals and the Techies on the Internet that discussed how to find the cause of an error that I was receiving on another issue.

Since this weekend, I have been wanting to try out ProcDump.

 

Conclusion

Unfortunately lost Admin access to my laptop.

Will log in with my Admin account and grant access my regular account write and create access to C:\ProgramData\Aireforge\Aireforge Studio\.

 

One thought on “SysInternals – ProcDump – Test Case – Aireforge Studio

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s