Skip to content

Commit 872c0e8

Browse files
Add VS2013 + 8.1 WDK config
See #7 and updated README.md
1 parent 9d0de85 commit 872c0e8

5 files changed

Lines changed: 218 additions & 12 deletions

File tree

README.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ This patch patches the timebomb code itself in the kernel so it is the most effe
66

77
All builds are theoretically supported but not all builds are tested, see the notes for more info, or the end of this readme for screenshots.
88

9-
Due to ~~lack of attention~~ nothing really left to do, this project is in maintenance mode and I will only fix bugs unless I find some fancy improvement ideas and energy & will to implement them.
10-
119
> [!WARNING]
1210
> This driver is intended to remove the **Windows builds'** expiration date only
1311
@@ -41,9 +39,10 @@ It will not remove the expiration date of
4139
# Usage
4240
1. Enable test-signing (and also disable driver signature enforcement at boot if you end up with boot recovery or signature error at boot)
4341
2. Download the latest release and obtain "devcon" utility (available in WDK).
44-
3. Execute "devcon install C:\Path\to\TimeDefuser.inf Root\TimeDefuser"
42+
3. Execute `devcon install C:\Path\to\TimeDefuser.inf Root\TimeDefuser`
4543
4. Allow the installition and wait for "Driver Installition Complete" message
4644
5. If your system didn't crash so far, check expiration date from "winver", if it's not there that means that it worked.
45+
6. If you want to/need to uninstall, execute `devcon remove Root\TimeDefuser` and reboot (or just delete the .sys file).
4746

4847
# Testing and Bug Reporting
4948
The driver can either work correctly, crash the system, fail or work but not enough to fully patch the currently working system.
@@ -55,17 +54,29 @@ Driver logs will look like this when it works:
5554
Builds with debug symbols are recommended to try, due to symbols making debugging much easier.
5655

5756
# Build
58-
## Windows 7 and Later
59-
1. Get the latest WDK
60-
2. Open the solution
61-
3. Hit the compile button.
62-
4. Get the TimeDefuser.inf and change the \$ARCH\$ to target architecture
63-
## Windows Vista and Earlier
64-
*Should also apply to later versions as long as a compatible WDK is used for target version.*
57+
## TimeDefuser Legacy for Windows 2000 and XP
58+
*Should also can be used to compile standard TimeDefuser to later versions as long as a compatible WDK is used for target version.*
6559
1. Get a WDK/DDK compatible with your target version.
6660
2. Open the build environment console
6761
3. Locate to source folder and execute "nmake"
68-
4. Get the TimeDefuser.inf (for Vista) or TimeDefuserLegacy.inf (for XP and earlier) and change the \$ARCH\$ to target architecture
62+
4. Get the TimeDefuser.inf (for Vista) or TimeDefuserLegacy.inf (for XP and earlier) and change the `$ARCH$` to target architecture
63+
## Windows 7 and Later with Visual Studio 2013 & Windows 8.1 WDK (And Vista??)
64+
1. Get the Windows 8.1 WDK (or anything earlier with it's conforming VS version)
65+
2. Open the solution `TimeDefuser-vs13.sln`
66+
3. Hit the compile button.
67+
4. Get the TimeDefuser.inf and change the `$ARCH$` to target architecture
68+
## Windows 7* and Later with Visual Studio 2022 & Windows 11 WDK
69+
> [!WARNING]
70+
> \*: With Windows 11 WDK released in May 2025, Microsoft killed the support for 32-bit architectures, and for anything earlier than Windows 10 RTM.
71+
> If you have an earlier Windows 11 WDK installed, you can still build for 32-bit or for Windows 7-8.1; else you can only build for Windows 10 Post-RTM insiders.
72+
> Blame Microsoft for this. See https://github.com/NevermindExpress/TimeDefuser/issues/7
73+
>
74+
> In case of having the newest WDK, build will fail because of configuration still having the Windows 7 references. To fix it, you should set them to Windows 10 accordingly.
75+
1. Get the latest WDK
76+
2. Open the solution `TimeDefuser.sln`
77+
3. Hit the compile button.
78+
4. Get the TimeDefuser.inf and change the `$ARCH$` to target architecture
79+
6980

7081
# Screenshots
7182
![Windows 8175 x64-2025-05-04-16-05-34](https://github.com/user-attachments/assets/380167b9-e24a-458a-b5ba-597313c6bbd3)

TimeDefuser-vs13.sln

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.21005.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TimeDefuser", "TimeDefuser-vs13.vcxproj", "{D2AF6553-1794-482F-9A99-94166BDCBAA0}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Win7 Debug|Win32 = Win7 Debug|Win32
11+
Win7 Debug|x64 = Win7 Debug|x64
12+
Win7 Release|Win32 = Win7 Release|Win32
13+
Win7 Release|x64 = Win7 Release|x64
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Debug|Win32.ActiveCfg = Win7 Debug|Win32
17+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Debug|Win32.Build.0 = Win7 Debug|Win32
18+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Debug|Win32.Deploy.0 = Win7 Debug|Win32
19+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Debug|x64.ActiveCfg = Win7 Debug|x64
20+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Debug|x64.Build.0 = Win7 Debug|x64
21+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Debug|x64.Deploy.0 = Win7 Debug|x64
22+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Release|Win32.ActiveCfg = Win7 Release|Win32
23+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Release|Win32.Build.0 = Win7 Release|Win32
24+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Release|Win32.Deploy.0 = Win7 Release|Win32
25+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Release|x64.ActiveCfg = Win7 Release|x64
26+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Release|x64.Build.0 = Win7 Release|x64
27+
{D2AF6553-1794-482F-9A99-94166BDCBAA0}.Win7 Release|x64.Deploy.0 = Win7 Release|x64
28+
EndGlobalSection
29+
GlobalSection(SolutionProperties) = preSolution
30+
HideSolutionNode = FALSE
31+
EndGlobalSection
32+
EndGlobal

TimeDefuser-vs13.vcxproj

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Win7 Debug|Win32">
5+
<Configuration>Win7 Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Win7 Release|Win32">
9+
<Configuration>Win7 Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Win7 Debug|x64">
13+
<Configuration>Win7 Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Win7 Release|x64">
17+
<Configuration>Win7 Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<ProjectGuid>{D2AF6553-1794-482F-9A99-94166BDCBAA0}</ProjectGuid>
23+
<TemplateGuid>{1bc93793-694f-48fe-9372-81e2b05556fd}</TemplateGuid>
24+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
25+
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
26+
<Configuration>Win8.1 Debug</Configuration>
27+
<Platform Condition="'$(Platform)' == ''">Win32</Platform>
28+
<RootNamespace>TimeDefuser_vs13</RootNamespace>
29+
<ProjectName>TimeDefuser</ProjectName>
30+
</PropertyGroup>
31+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
32+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Debug|Win32'" Label="Configuration">
33+
<TargetVersion>Windows7</TargetVersion>
34+
<UseDebugLibraries>true</UseDebugLibraries>
35+
<PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>
36+
<ConfigurationType>Driver</ConfigurationType>
37+
<DriverType>KMDF</DriverType>
38+
</PropertyGroup>
39+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Release|Win32'" Label="Configuration">
40+
<TargetVersion>Windows7</TargetVersion>
41+
<UseDebugLibraries>false</UseDebugLibraries>
42+
<PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>
43+
<ConfigurationType>Driver</ConfigurationType>
44+
<DriverType>KMDF</DriverType>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Debug|x64'" Label="Configuration">
47+
<TargetVersion>Windows7</TargetVersion>
48+
<UseDebugLibraries>true</UseDebugLibraries>
49+
<PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>
50+
<ConfigurationType>Driver</ConfigurationType>
51+
<DriverType>KMDF</DriverType>
52+
</PropertyGroup>
53+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Release|x64'" Label="Configuration">
54+
<TargetVersion>Windows7</TargetVersion>
55+
<UseDebugLibraries>false</UseDebugLibraries>
56+
<PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>
57+
<ConfigurationType>Driver</ConfigurationType>
58+
<DriverType>KMDF</DriverType>
59+
</PropertyGroup>
60+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
61+
<ImportGroup Label="ExtensionSettings">
62+
</ImportGroup>
63+
<ImportGroup Label="PropertySheets">
64+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65+
</ImportGroup>
66+
<PropertyGroup Label="UserMacros" />
67+
<PropertyGroup />
68+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Debug|Win32'">
69+
<DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
70+
</PropertyGroup>
71+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Release|Win32'">
72+
<DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
73+
</PropertyGroup>
74+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Debug|x64'">
75+
<DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
76+
</PropertyGroup>
77+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Release|x64'">
78+
<DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
79+
</PropertyGroup>
80+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Debug|Win32'">
81+
<ClCompile>
82+
<WppEnabled>false</WppEnabled>
83+
<WppScanConfigurationData Condition="'%(ClCompile. ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
84+
<WppKernelMode>true</WppKernelMode>
85+
</ClCompile>
86+
<Link>
87+
<Version>6.0</Version>
88+
<MinimumRequiredVersion>6.00</MinimumRequiredVersion>
89+
</Link>
90+
</ItemDefinitionGroup>
91+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Release|Win32'">
92+
<ClCompile>
93+
<WppEnabled>false</WppEnabled>
94+
<WppScanConfigurationData Condition="'%(ClCompile. ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
95+
<WppKernelMode>true</WppKernelMode>
96+
</ClCompile>
97+
<Link>
98+
<Version>6.0</Version>
99+
<MinimumRequiredVersion>6.00</MinimumRequiredVersion>
100+
</Link>
101+
</ItemDefinitionGroup>
102+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Debug|x64'">
103+
<ClCompile>
104+
<WppEnabled>false</WppEnabled>
105+
<WppScanConfigurationData Condition="'%(ClCompile. ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
106+
<WppKernelMode>true</WppKernelMode>
107+
</ClCompile>
108+
<Link>
109+
<Version>6.0</Version>
110+
<MinimumRequiredVersion>6.00</MinimumRequiredVersion>
111+
</Link>
112+
</ItemDefinitionGroup>
113+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Release|x64'">
114+
<ClCompile>
115+
<WppEnabled>false</WppEnabled>
116+
<WppScanConfigurationData Condition="'%(ClCompile. ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
117+
<WppKernelMode>true</WppKernelMode>
118+
</ClCompile>
119+
<Link>
120+
<Version>6.0</Version>
121+
<MinimumRequiredVersion>6.00</MinimumRequiredVersion>
122+
</Link>
123+
</ItemDefinitionGroup>
124+
<ItemGroup>
125+
<FilesToPackage Include="$(TargetPath)" />
126+
<FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
127+
</ItemGroup>
128+
<ItemGroup>
129+
<None Include="TimeDefuser.inf" />
130+
</ItemGroup>
131+
<ItemGroup>
132+
<ClCompile Include="Driver.cpp" />
133+
</ItemGroup>
134+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
135+
<ImportGroup Label="ExtensionTargets">
136+
</ImportGroup>
137+
</Project>

TimeDefuser-vs13.vcxproj.filters

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
<Filter Include="Driver Files">
17+
<UniqueIdentifier>{8E41214B-6785-4CFE-B992-037D68949A14}</UniqueIdentifier>
18+
<Extensions>inf;inv;inx;mof;mc;</Extensions>
19+
</Filter>
20+
</ItemGroup>
21+
<ItemGroup>
22+
<Inf Include="TimeDefuservs13.inf">
23+
<Filter>Driver Files</Filter>
24+
</Inf>
25+
</ItemGroup>
26+
</Project>

TimeDefuser.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
4747
</PropertyGroup>
4848
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
49-
<TargetVersion>Windows7</TargetVersion>
49+
<TargetVersion>Windows8</TargetVersion>
5050
<UseDebugLibraries>true</UseDebugLibraries>
5151
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
5252
<ConfigurationType>Driver</ConfigurationType>

0 commit comments

Comments
 (0)