Readme
Readme
* HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents]
data for "OOBETimer" is changed {=OOBE}
* rundll32 setupapi,InstallHinfSection DEL_OOBE_ACTIVATE 132 syssetup.inf
rundll32 setupapi,InstallHinfSection RESTORE_OOBE_ACTIVATE 132 syssetup.inf
is executed which will remove/restore WPA-links from the startmenu
How it works:
It tricks winlogon.exe to make it believe it was booted in safemode,thus, winlog
on skips
the WPA-Check. The trick is done by redirecting(=hooking) the windows function
(user32.dll!GetSystemMetrics(SM_CLEANBOOT{=0x43}) & ntdll.dll!NtLockProductActiv
ation)
in memory to antiwpa.dll so winlogon 'thinks' was booted in safemode.
*Note (...because some ppl were concered about): The patch do not alter any
files on harddisk nor the hooks affects any other exe or dll in memory than
winlogon.exe.
The patch auto-runs on each start before the WPA-check via:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\AntiWPA
The hooks are applied when AntiWPA.dll!onLogon is called by winlogon.exe.
The Winlogon.exe file on the harddisk is not altered anymore.
Patching (API-Hooking) is done in memory, so there are no problems with
Windows System File Protection.
Installation is performed via AntiWPA.dll!DllRegisterServer ("regsvr32 AntiWPA.d
ll").
The file is copied to systemdir and the registrykeys are added.
(Note: AntiWPA.dll is no ActiveX selfregisterdll.)
Uninstallation is done via AntiWPA.dll!DllUnRegisterServer ("regsvr32 -u AntiWPA
.dll").
==================================================
F A Q - Frequently Asked Questions
==================================================
????????????????????????????????????????????????????????????????????????????????
How to check if it's really active
????????????????????????????????????????????????????????????????????????????????
check if antiwpa.dll is loaded
enter in console (cmd.exe)
TASKLIST /M /FI "MODULES eq antiwpa.dll"
Check and see if you have the Process Winlogon.exe as output
Forward date & reboot(or just Re-Login) to be really sure.
????????????????????????????????????????????????????????????????????????????????
Antiwpa.dll is loaded but it's still not working
????????????????????????????????????????????????????????????????????????????????
Don't be too much concered about the activation days counter.
If you forwarded date about 1 year & reboot and don't get any bad
message on login antiwpa3 is working.
Else get the debug version of Antiwpa install it and report about
your observation in the forum. It will help to narrow down the
problem & fix. You may also prepare some remote desktop connection
and send me a email so I may debug the problem on your machine.
And at last try out antiwpa2.
????????????????????????????????????????????????????????????????????????????????
I get the evaluation period has expired -
the computer will be shutdown into 1 hour.
????????????????????????????????????????????????????????????????????????????????
That is Windows Trial counter
Try NT Tweak Downloadable at http://free.pages.at/antiwpa/Other/TweakNT_1.21.zip
Try to remove the timebomb, I have used it many times and it works great.
If you are going to reinstall windows you can also
remove evaluation period from the setup-files:
0. copy files to Harddisk
1. on some running windows (2k,XP) start regedit.exe
2. set cursor on HKEY_LOCAL_MACHINE
3. Menu: File\'Load hive' and open [WINsetupdir]\i386\'SETUPREG.HIV'
4. enter 'tmp' as new hive name and navigate to
HKEY_LOCAL_MACHINE\tmp\ControlSet001\Services\setupdd
click on (default) and fill/overwrite it with 16 x '00' like that
'00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00'
5. navigate to HKEY_LOCAL_MACHINE\tmp and File\'UnLoad hive'
All details are there:
http://antiwpa.btwarehouse.org/forum/viewtopic.php?t=2&start=0&postdays=0&postor
der=asc&highlight=setupdd
????????????????????????????????????????????????????????????????????????????????
Antiwpa3 don't support windows vista - is there a other patch ?
????????????????????????????????????????????????????????????????????????????????
So far i've not created any real good solution:
Well there is a patch for slc.dll (Software Licensing Client) antiwpa-vista_v1.2
.zip
but it may cause unwanted sideeffect on other licenselimitation and it's heavily
version
depending.
One way can be to edit the underlaying licensedata:
The data of the values slc.dll!SLGetWindowsInformationDWORD querys are stored un
der
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions [ProductPolic
y=]
http://antiwpa.btwarehouse.org/forum/viewtopic.php?t=211
which might offer to remove other limitation as well
Or just a classic patch of winlogon.exe - as antiwpa2 did. To get rid of the WPA
-Check at
logon that will be the best way without any sideeffects.
????????????????????????????????????????????????????????????????????????????????
I have Install AntiWPA 2.00. Should I uninstall it to update?
????????????????????????????????????????????????????????????????????????????????
They both work well. They both target the same function in
Winlogon.exe, so it s running well - don t touch it (Never touch a running system.)
????????????????????????????????????????????????????????????????????????????????
Do I have to reinstall every AntiWPA 3 after I've installed a servicepack ?
????????????????????????????????????????????????????????????????????????????????
No, you don't need to. The patch isn t undone by service packs anymore.
Since it doesn't modify winlogon.exe, it's no problem if winlogon.exe is
replaced by a new version.
????????????????????????????????????????????????????????????????????????????????
What is the difference between AntiWPA 2 & AntiWPA 3?
????????????????????????????????????????????????????????????????????????????????
AntiWPA 2 directly modified winlogon.exe (on hard disk) to make it skip
over the product activation check.
AntiWPA 3 intercepts (in memory via API-Import-Hooking) winlogon.exe's request t
o
the OS whether Windows was booted into Safe-Mode or not.
It makes the OS always return "yes", even if Windows is running in 'normal mode'
,
winlogon is thinking it's running in safemode and skips the product activation c
heck.
I advice to use antiwpa3 because it is easier to use and 'servicepack-resistent'
.
To be complete there is one thing to mention (please ignore if you understand):
Code inside Winlogon:
If GetIsInNormalMode() then <-Attackpoint of AntiWPA3
If DoWPACheckAndReturnIfSucceed() <-Attackpoint of AntiWPA2
Everythings all right! Go On...
else
Stop due to WPA-Error
EndIf
else
It's safemode WPACheck! Go On...
EndIf
...
as you see AntiWPA3 depends of some specific programming logic.
So if there is just 'If DoWPACheckAndReturnIfSucceed()' without
'If GetIsInNormalMode()' in front AntiWPA3 won't avoid activation call.
????????????????????????????????????????????????????????????????????????????????
How do I integrate it into Windows Setup?
????????????????????????????????????????????????????????????????????????????????
That solution was given by [fs]. Thanks for sharing it! Original thread:
http://antiwpa.btwarehouse.org/forum/viewtopic.php?t=116
[HiveInfs.Fresh]
...
; this loads settings.inf at the end of XP setup in DOS mode
AddReg = settings.inf,Addreg
...
Before-WPA-emergency console:
-----------------------------
This will setup some kind of emerency console. The program specified in
CmdLine will be run before the normal logonscreen and before the WPA-Check.
Now you don't need to boot in safemode if something went wrong.
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\Setup]
"SetupType"=dword:00000002
"CmdLine"=""C:\Total Commander\TOTALCMD.EXE"
Deny the user 'system' writeaccess(Set value) on HKEY_LOCAL_MACHINE\SYSTEM\Setup
or the system change SetupType value after each logon.
You can use explorer.exe as CmdLine but note it might cause problems later.
????????????????????????????????????????????????????????????????????????????????
How do I integrate it into Windows Setup?
????????????????????????????????????????????????????????????????????????????????
I haven't done/tried this yet.
What you would have to do is manage these tasks somehow:
1. Add antiwpa.dll to the installation package
2. make it execute once "regsvr32 /s antiwpa.dll"
(or "rundll32 antiwpa.dll, DllRegisterServer")
http://forums.cjb.net/antiwpa3-about47.html for more about
Thanks to Hackedout for his solution. Let me summarized it:
TXTSETUP.SIF [SourceDisksFiles]
search for 'aaaamon.dll' ...
...a_pnt518.ppd = 1,,,,,,,,3,3
antiwpa.dll = 1,,,,,,,2,0,0
..aaaamon.dll = 1,,,,,,,2,0,0