-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03861b2
commit b78b76e
Showing
22 changed files
with
3,094 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.8.34408.163 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DisableUAC_CppEdition", "DisableUAC_CppEdition\DisableUAC_CppEdition.vcxproj", "{BBFBC305-3BB6-485B-A6F2-D51B81C2DE21}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{BBFBC305-3BB6-485B-A6F2-D51B81C2DE21}.Debug|x64.ActiveCfg = Debug|x64 | ||
{BBFBC305-3BB6-485B-A6F2-D51B81C2DE21}.Debug|x64.Build.0 = Debug|x64 | ||
{BBFBC305-3BB6-485B-A6F2-D51B81C2DE21}.Debug|x86.ActiveCfg = Debug|Win32 | ||
{BBFBC305-3BB6-485B-A6F2-D51B81C2DE21}.Debug|x86.Build.0 = Debug|Win32 | ||
{BBFBC305-3BB6-485B-A6F2-D51B81C2DE21}.Release|x64.ActiveCfg = Release|x64 | ||
{BBFBC305-3BB6-485B-A6F2-D51B81C2DE21}.Release|x64.Build.0 = Release|x64 | ||
{BBFBC305-3BB6-485B-A6F2-D51B81C2DE21}.Release|x86.ActiveCfg = Release|Win32 | ||
{BBFBC305-3BB6-485B-A6F2-D51B81C2DE21}.Release|x86.Build.0 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {A6468556-A6F3-4B1A-8CF5-443E48CA5E69} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|Win32"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|Win32"> | ||
<Configuration>Release</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Debug|x64"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|x64"> | ||
<Configuration>Release</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<VCProjectVersion>17.0</VCProjectVersion> | ||
<Keyword>Win32Proj</Keyword> | ||
<ProjectGuid>{bbfbc305-3bb6-485b-a6f2-d51b81c2de21}</ProjectGuid> | ||
<RootNamespace>DisableUACCppEdition</RootNamespace> | ||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<CharacterSet>Unicode</CharacterSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>false</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<WholeProgramOptimization>true</WholeProgramOptimization> | ||
<CharacterSet>Unicode</CharacterSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<CharacterSet>MultiByte</CharacterSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>false</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<WholeProgramOptimization>true</WholeProgramOptimization> | ||
<CharacterSet>MultiByte</CharacterSet> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<ImportGroup Label="ExtensionSettings"> | ||
</ImportGroup> | ||
<ImportGroup Label="Shared"> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<PropertyGroup Label="UserMacros" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<IncludePath>$(SolutionDir)Includes_Cpp;$(IncludePath)</IncludePath> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<IncludePath>$(SolutionDir)Includes_Cpp;$(IncludePath)</IncludePath> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<ClCompile> | ||
<WarningLevel>Level3</WarningLevel> | ||
<SDLCheck>true</SDLCheck> | ||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<ConformanceMode>true</ConformanceMode> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<ClCompile> | ||
<WarningLevel>Level3</WarningLevel> | ||
<FunctionLevelLinking>true</FunctionLevelLinking> | ||
<IntrinsicFunctions>true</IntrinsicFunctions> | ||
<SDLCheck>true</SDLCheck> | ||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<ConformanceMode>true</ConformanceMode> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
<OptimizeReferences>true</OptimizeReferences> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<ClCompile> | ||
<WarningLevel>TurnOffAllWarnings</WarningLevel> | ||
<SDLCheck>false</SDLCheck> | ||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<ConformanceMode>true</ConformanceMode> | ||
<LanguageStandard>stdcpp20</LanguageStandard> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
<UACExecutionLevel>RequireAdministrator</UACExecutionLevel> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<ClCompile> | ||
<WarningLevel>TurnOffAllWarnings</WarningLevel> | ||
<FunctionLevelLinking>true</FunctionLevelLinking> | ||
<IntrinsicFunctions>true</IntrinsicFunctions> | ||
<SDLCheck>false</SDLCheck> | ||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<ConformanceMode>true</ConformanceMode> | ||
<LanguageStandard>stdcpp20</LanguageStandard> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
<OptimizeReferences>true</OptimizeReferences> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
<UACExecutionLevel>RequireAdministrator</UACExecutionLevel> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<ClCompile Include="main.cpp" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
</ImportGroup> | ||
</Project> |
22 changes: 22 additions & 0 deletions
22
DisableUAC_CppEdition/DisableUAC_CppEdition.vcxproj.filters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<Filter Include="Source Files"> | ||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
</Filter> | ||
<Filter Include="Header Files"> | ||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions> | ||
</Filter> | ||
<Filter Include="Resource Files"> | ||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | ||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | ||
</Filter> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="main.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#include <Windows.h> | ||
#include <iostream> | ||
#include <WinReg.hpp> | ||
namespace RegEdit { | ||
void SetReg() { | ||
std::cout << "Hello, It is My First Cpp Disabler UAC... So Enjoy to use!!!" << std::endl; | ||
winreg::RegKey key{ HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", KEY_ALL_ACCESS }; | ||
if (!key) { | ||
std::cout << "Failed to Opened This Folder!!!" << std::endl; | ||
Sleep(4300); | ||
exit(3200); | ||
} | ||
winreg::RegResult res = key.TryOpen(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", KEY_ALL_ACCESS); | ||
if (!res) { | ||
std::cout << "Failed To Opened Current Regedit Folder" << std::endl; | ||
Sleep(7000); | ||
exit(323); | ||
} | ||
key.TryDeleteValue(L"EnableLUA"); | ||
key.TrySetDwordValue(L"EnableLUA", 0); | ||
std::cout << "Successfully Disabled UAC..." << std::endl; | ||
} | ||
} | ||
|
||
int main() | ||
{ | ||
RegEdit::SetReg(); | ||
return 0; | ||
} |
Binary file added
BIN
+826 Bytes
DisableUAC_CppEdition/x64/Release/DisableU.bbfbc305.tlog/CL.command.1.tlog
Binary file not shown.
Binary file added
BIN
+43.2 KB
DisableUAC_CppEdition/x64/Release/DisableU.bbfbc305.tlog/CL.read.1.tlog
Binary file not shown.
Binary file added
BIN
+546 Bytes
DisableUAC_CppEdition/x64/Release/DisableU.bbfbc305.tlog/CL.write.1.tlog
Binary file not shown.
1 change: 1 addition & 0 deletions
1
DisableUAC_CppEdition/x64/Release/DisableU.bbfbc305.tlog/Cl.items.tlog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:\Users\gsx12\source\repos\DisableUAC_CppEdition\DisableUAC_CppEdition\main.cpp;C:\Users\gsx12\source\repos\DisableUAC_CppEdition\DisableUAC_CppEdition\x64\Release\main.obj |
2 changes: 2 additions & 0 deletions
2
...bleUAC_CppEdition/x64/Release/DisableU.bbfbc305.tlog/DisableUAC_CppEdition.lastbuildstate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.35.32215:TargetPlatformVersion=10.0.22621.0: | ||
Release|x64|C:\Users\gsx12\source\repos\DisableUAC_CppEdition\| |
Binary file added
BIN
+1.56 KB
DisableUAC_CppEdition/x64/Release/DisableU.bbfbc305.tlog/link.command.1.tlog
Binary file not shown.
Binary file added
BIN
+4.13 KB
DisableUAC_CppEdition/x64/Release/DisableU.bbfbc305.tlog/link.read.1.tlog
Binary file not shown.
Binary file added
BIN
+996 Bytes
DisableUAC_CppEdition/x64/Release/DisableU.bbfbc305.tlog/link.write.1.tlog
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
DisableUAC_CppEdition/x64/Release/DisableUAC_CppEdition.Build.CppClean.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\vc143.pdb | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\main.obj | ||
c:\users\gsx12\source\repos\disableuac_cppedition\x64\release\disableuac_cppedition.exe | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\disableuac_cppedition.ipdb | ||
c:\users\gsx12\source\repos\disableuac_cppedition\x64\release\disableuac_cppedition.pdb | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\disableuac_cppedition.iobj | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\disableu.bbfbc305.tlog\cl.command.1.tlog | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\disableu.bbfbc305.tlog\cl.items.tlog | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\disableu.bbfbc305.tlog\cl.read.1.tlog | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\disableu.bbfbc305.tlog\cl.write.1.tlog | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\disableu.bbfbc305.tlog\link.command.1.tlog | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\disableu.bbfbc305.tlog\link.read.1.tlog | ||
c:\users\gsx12\source\repos\disableuac_cppedition\disableuac_cppedition\x64\release\disableu.bbfbc305.tlog\link.write.1.tlog |
11 changes: 11 additions & 0 deletions
11
DisableUAC_CppEdition/x64/Release/DisableUAC_CppEdition.exe.recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<ProjectOutputs> | ||
<ProjectOutput> | ||
<FullPath>C:\Users\gsx12\source\repos\DisableUAC_CppEdition\x64\Release\DisableUAC_CppEdition.exe</FullPath> | ||
</ProjectOutput> | ||
</ProjectOutputs> | ||
<ContentFiles /> | ||
<SatelliteDlls /> | ||
<NonRecipeFileRefs /> | ||
</Project> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
main.cpp | ||
Generating code | ||
Previous IPDB not found, fall back to full compilation. | ||
All 217 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. | ||
Finished generating code | ||
DisableUAC_CppEdition.vcxproj -> C:\Users\gsx12\source\repos\DisableUAC_CppEdition\x64\Release\DisableUAC_CppEdition.exe |
Empty file.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.