Skip to content

Commit

Permalink
Update solution
Browse files Browse the repository at this point in the history
  • Loading branch information
dmex committed Jun 16, 2022
1 parent 3c0f08c commit 3601263
Show file tree
Hide file tree
Showing 177 changed files with 133 additions and 244 deletions.
28 changes: 0 additions & 28 deletions ProcessHacker/sdk/phdk.h

This file was deleted.

37 changes: 0 additions & 37 deletions ProcessHacker/sdk/readme.txt

This file was deleted.

27 changes: 2 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Github stats](https://img.shields.io/github/downloads/winsiderss/systeminformer/total.svg?style=for-the-badge&color=red)](https://somsubhra.github.io/github-release-stats/?username=systeminformer&repository=systeminformer)
[![SourceForge stats](https://img.shields.io/sourceforge/dt/systeminformer.svg?style=for-the-badge&color=red)](https://sourceforge.net/projects/systeminformer/files/stats/timeline?dates=2008-10-01%20to%202020-09-01&period=monthly)

<img align="left" src="ProcessHacker/resources/systeminformer.png" width="128" height="128">
<img align="left" src="SystemInformer/resources/systeminformer.png" width="128" height="128">

## System Informer

Expand Down Expand Up @@ -33,7 +33,7 @@ Windows 7 or higher, 32-bit or 64-bit.

Requires Visual Studio (2019 or later).

Execute `build_release.cmd` located in the `build` directory to compile the project or load the `ProcessHacker.sln` and `Plugins.sln` solutions if you prefer building the project using Visual Studio.
Execute `build_release.cmd` located in the `build` directory to compile the project or load the `SystemInformer.sln` and `Plugins.sln` solutions if you prefer building the project using Visual Studio.

You can download the free [Visual Studio Community Edition](https://www.visualstudio.com/vs/community/) to build the Process Hacker source code.

Expand Down Expand Up @@ -67,26 +67,3 @@ are up to date.
Disk and Network information provided by the ExtendedTools plugin is
only available when running System Informer with administrative
rights.

## KSystemInformer

System Informer uses a kernel-mode driver, KSystemInformer, to
assist with certain functionality. This includes:

* Capturing kernel-mode stack traces
* More efficiently enumerating process handles
* Retrieving names for file handles
* Retrieving names for EtwRegistration objects
* Setting handle attributes

Note that by default, KSystemInformer only allows connections from
processes with administrative privileges (SeDebugPrivilege). To allow System Informer
to show details for all processes when it is not running as administrator:

1. In Registry Editor, navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KSystemInformer
2. Under this key, create a key named Parameters if it does not exist.
3. Create a DWORD value named SecurityLevel and set it to 2. If you are
not using an official build, you may need to set it to 0 instead.
4. Restart the KSystemInformer service (sc stop KSystemInformer,
sc start KSystemInformer).
37 changes: 7 additions & 30 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Process Hacker is a powerful free and open source process viewer.
System Informer is a powerful free and open source process viewer.

## Getting started

Simply run ProcessHacker.exe to start Process Hacker. There are two
Simply run SystemInformer.exe to start System Informer. There are two
versions, 32-bit (x86) and 64-bit (x64). If you are not sure which
version to use, open Control Panel > System and check the "System
type". You cannot run the 32-bit version of System Informer on a
Expand All @@ -14,15 +14,15 @@ Windows 7 or higher, 32-bit or 64-bit.

## Settings

If you are running Process Hacker from a USB drive, you may want to
save Process Hacker's settings there as well. To do this, create a
blank file named "ProcessHacker.exe.settings.xml" in the same
directory as ProcessHacker.exe. You can do this using Windows Explorer:
If you are running System Informer from a USB drive, you may want to
save System Informer's settings there as well. To do this, create a
blank file named "SystemInformer.exe.settings.xml" in the same
directory as SystemInformer.exe. You can do this using Windows Explorer:

1. Make sure "Hide extensions for known file types" is unticked in
Tools > Folder options > View.
2. Right-click in the folder and choose New > Text Document.
3. Rename the file to ProcessHacker.exe.settings.xml (delete the ".txt"
3. Rename the file to SystemInformer.exe.settings.xml (delete the ".txt"
extension).

## Plugins
Expand All @@ -36,26 +36,3 @@ The ExtendedTools plugin is only available for Windows Vista and
above. Disk and Network information provided by this plugin is
only available when running Process Hacker with administrative
rights.

## KProcessHacker

Process Hacker uses a kernel-mode driver, KProcessHacker, to
assist with certain functionality. This includes:

* Capturing kernel-mode stack traces
* More efficiently enumerating process handles
* Retrieving names for file handles
* Retrieving names for EtwRegistration objects
* Setting handle attributes

Note that by default, KProcessHacker only allows connections from
processes with SeDebugPrivilege. To allow Process Hacker to show details
for all processes when it is not running as administrator:

1. In Registry Editor, navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KProcessHacker3
2. Under this key, create a key named Parameters if it does not exist.
3. Create a DWORD value named SecurityLevel and set it to 2. If you are
not using an official build, you may need to set it to 0 instead.
4. Restart the KProcessHacker3 service (sc stop KProcessHacker3,
sc start KProcessHacker3).
2 changes: 1 addition & 1 deletion ProcessHacker.sln → SystemInformer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29806.167
MinimumVisualStudioVersion = 15.0.26228.4
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ProcessHacker", "ProcessHacker\ProcessHacker.vcxproj", "{0271DD27-6707-4290-8DFE-285702B7115D}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SystemInformer", "SystemInformer\SystemInformer.vcxproj", "{0271DD27-6707-4290-8DFE-285702B7115D}"
ProjectSection(ProjectDependencies) = postProject
{477D0215-F252-41A1-874B-F27E3EA1ED17} = {477D0215-F252-41A1-874B-F27E3EA1ED17}
EndProjectSection
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ BEGIN
LTEXT "Copyright (c) 2022",IDC_STATIC,45,23,193,8
LTEXT "Winsider Seminars && Solutions, Inc.",IDC_STATIC,45,36,193,8
CONTROL "Credits.",IDC_CREDITS,"SysLink",WS_TABSTOP,15,49,248,141
CONTROL "<a href=""https://processhacker.sourceforge.io"">System Informer on SourceForge.net</a>",IDC_LINK_SF,
CONTROL "<a href=""https://systeminformer.sourceforge.io"">System Informer on SourceForge.net</a>",IDC_LINK_SF,
"SysLink",WS_TABSTOP,7,197,130,11
PUSHBUTTON "Diagnostics",IDC_DIAGNOSTICS,160,194,50,14
DEFPUSHBUTTON "OK",IDOK,213,194,50,14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{0271DD27-6707-4290-8DFE-285702B7115D}</ProjectGuid>
<RootNamespace>ProcessHacker</RootNamespace>
<RootNamespace>SystemInformer</RootNamespace>
<Keyword>Win32Proj</Keyword>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
Expand Down Expand Up @@ -147,7 +147,7 @@
<TargetMachine>MachineX86</TargetMachine>
<MinimumRequiredVersion>6.01</MinimumRequiredVersion>
<AdditionalLibraryDirectories>$(SolutionDir)phlib\bin\$(Configuration)$(PlatformArchitecture);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>ProcessHacker.def</ModuleDefinitionFile>
<ModuleDefinitionFile>SystemInformer.def</ModuleDefinitionFile>
<DelayLoadDLLs>aclui.dll;comdlg32.dll;iphlpapi.dll;oleaut32.dll;shell32.dll;winhttp.dll;winsta.dll;ws2_32.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<AdditionalOptions>/BREPRO /DEPENDENTLOADFLAG:0x800 /PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
</Link>
Expand Down Expand Up @@ -185,7 +185,7 @@
<TargetMachine>MachineX64</TargetMachine>
<MinimumRequiredVersion>6.01</MinimumRequiredVersion>
<AdditionalLibraryDirectories>$(SolutionDir)phlib\bin\$(Configuration)$(PlatformArchitecture);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>ProcessHacker.def</ModuleDefinitionFile>
<ModuleDefinitionFile>SystemInformer.def</ModuleDefinitionFile>
<DelayLoadDLLs>aclui.dll;comdlg32.dll;iphlpapi.dll;oleaut32.dll;shell32.dll;winhttp.dll;winsta.dll;ws2_32.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<AdditionalOptions>/BREPRO /DEPENDENTLOADFLAG:0x800 /PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
</Link>
Expand Down Expand Up @@ -223,7 +223,7 @@
<TargetMachine>MachineARM64</TargetMachine>
<MinimumRequiredVersion>10</MinimumRequiredVersion>
<AdditionalLibraryDirectories>$(SolutionDir)phlib\bin\$(Configuration)$(PlatformArchitecture);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>ProcessHacker.def</ModuleDefinitionFile>
<ModuleDefinitionFile>SystemInformer.def</ModuleDefinitionFile>
<DelayLoadDLLs>aclui.dll;comdlg32.dll;iphlpapi.dll;oleaut32.dll;shell32.dll;winhttp.dll;winsta.dll;ws2_32.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<AdditionalOptions>/BREPRO /DEPENDENTLOADFLAG:0x800 /PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
</Link>
Expand Down Expand Up @@ -267,7 +267,7 @@
<SetChecksum>true</SetChecksum>
<MinimumRequiredVersion>6.01</MinimumRequiredVersion>
<AdditionalLibraryDirectories>$(SolutionDir)phlib\bin\$(Configuration)$(PlatformArchitecture);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>ProcessHacker.def</ModuleDefinitionFile>
<ModuleDefinitionFile>SystemInformer.def</ModuleDefinitionFile>
<DelayLoadDLLs>aclui.dll;comdlg32.dll;iphlpapi.dll;oleaut32.dll;shell32.dll;winhttp.dll;winsta.dll;ws2_32.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
Expand Down Expand Up @@ -313,7 +313,7 @@
<SetChecksum>true</SetChecksum>
<MinimumRequiredVersion>6.01</MinimumRequiredVersion>
<AdditionalLibraryDirectories>$(SolutionDir)phlib\bin\$(Configuration)$(PlatformArchitecture);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>ProcessHacker.def</ModuleDefinitionFile>
<ModuleDefinitionFile>SystemInformer.def</ModuleDefinitionFile>
<DelayLoadDLLs>aclui.dll;comdlg32.dll;iphlpapi.dll;oleaut32.dll;shell32.dll;winhttp.dll;winsta.dll;ws2_32.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
Expand Down Expand Up @@ -356,7 +356,7 @@
<SetChecksum>true</SetChecksum>
<MinimumRequiredVersion>10</MinimumRequiredVersion>
<AdditionalLibraryDirectories>$(SolutionDir)phlib\bin\$(Configuration)$(PlatformArchitecture);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>ProcessHacker.def</ModuleDefinitionFile>
<ModuleDefinitionFile>SystemInformer.def</ModuleDefinitionFile>
<DelayLoadDLLs>aclui.dll;comdlg32.dll;iphlpapi.dll;oleaut32.dll;shell32.dll;winhttp.dll;winsta.dll;ws2_32.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
Expand Down Expand Up @@ -520,20 +520,20 @@
<ClInclude Include="include\sysinfop.h" />
</ItemGroup>
<ItemGroup>
<None Include="ProcessHacker.def" />
<None Include="SystemInformer.def" />
<None Include="resources\application.ico" />
<None Include="resources\cog.ico" />
<None Include="resources\cross.bmp" />
<None Include="SystemInformer.ico" />
<None Include="resources\ProcessHacker.png" />
<None Include="resources\SystemInformer.png" />
<None Include="resources\tick.bmp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="ProcessHacker.rc" />
<ResourceCompile Include="SystemInformer.rc" />
<ResourceCompile Include="version.rc" />
</ItemGroup>
<ItemGroup>
<Manifest Include="ProcessHacker.manifest">
<Manifest Include="SystemInformer.manifest">
<SubType>Designer</SubType>
</Manifest>
</ItemGroup>
Expand Down
Loading

0 comments on commit 3601263

Please sign in to comment.