This is a workaround for Windows XP to connect Windows Update. This was made because the system that XP used to update was discontinued in 2019.
This proxy converts the newer Microsoft Update protocol that uses SHA-2 to checksum to the SHA-1 based protocol that XP uses. It serves the Windows Updates as if it were a Windows Update server for a enterprise that had its own custom updates. This project uses PHP and OpenSSL which allows the proxy to securely connect to Microsoft Update with https.
There are other versions of this proxy floating around on the internet, but those often have links to Google Drive or other user-uploaded sites the extra software they require. They often also bundle PHP binaries. I don't trust random binaries, so I made this repository. It aims to link to only Microsoft or other reputable sources for its Binaries.
All the other versions of this system that I've seen all the proxy on the XP computer, but I didn't want to go through the hassle of finding Windows XP compatible PHP version, so I set it up to have the proxy be served from a separate computer.
- Windows OS: Windows XP / Server 2003 or later.
- Server OS: Something that can run PHP.
polarbub was able to get it working on Windows XP SP3 without the Visual C++ Redistributable, the Root Certificates Update, Internet Explorer 7/8, Microsoft IDN Mitigation APIs, or Windows Update MiniTool. He just used the Windows Update Agent.
If those get taken down they can be acquired from the Microsoft CDN directly through the x86 and x64 links. If those stop working too the Wayback Machine may be helpful. The date to put into the Wayback Machine should be around 25/4/2023.
-
Latest Version of Windows Update Agent for Windows 7 SP1 or Windows Server 2008 R2 SP1 (Version 7.6.7600.320 works on XP). (x86) (x64).
-
Root Certificates Update Password
S4QH5TIefi7m9n1XLyTIZ3V5hSv4se1XB6jJZpH5TfB6vkJ8hfRxU7DWB2p
or the steps to DIY it can be found here. -
Internet Explorer 7/8, or Microsoft IDN Mitigation APIs (x86) (x64) I was unable to find a Microsoft link to the Microsoft IDN Mitigation APIs. Internet Explorer 8 can be found here. The Wayback Machine must be used to download it.
-
Windows Update MiniTool version 20.12.2016. This can be found on the RU-Board. Under the large download link there is a smaller one that has version 20.12.2016. There is also an outdated english thread on the MDL form. You do need to make a free account to read it.
- Internet Explorer 8. It will cause
explorer.exe
to not start correctly on startup. The way to recover from this is detailed here. - Windows XP EOL Notification. This can just be annoying. It will pop up and tell you to install newer Windows.
- Navigate to the
Proxy
folder on the server computer. - Modify the
extension=
line in thephp.ini
file to have the correctphp_curl
module. The one that is currently there is for Arch Linux. - Start the proxy server with
php -c php.ini -S <your pc's ip address>:<port> -t .
. The default port is8530
. Here is a command that uses that:php -c php.ini -S <your pc's ip address>:8530 -t .
. - In Control Panel -> Automatic Updates. Set it to
Notify me, but don't automatically download or install them.
- Install Windows Update Agent on Windows XP system
- Run
add_wsus.bat <your pc's ip address> [<server port>]
- Restart the Windows XP system
- Run
wuauclt /detectnow
to scan for updates. In the proxy server's log you should be able to see it connecting if it is working. - After a while a yellow update shield will appear in the tray.
- Click on it and install the Update(s). Make sure to not select the updates mentioned above
- You may have to do multiple rounds of updates if some need to be installed before other.
Instead of step 8-11 you can use the Windows Update MiniTool. I don't recommend it because it seems a little sketch. It is closed-source software that is distributed through a forum in a foreign language for me (Russian).
- Start the Windows Update MiniTool (WUMT). It may take a while to open.
- Make sure that the dropdown on the left is set to
Windows Server Update Service
notWindows Update
- Set the
Automatic Updates
dropdown toManaged By Administrator
. This lets you control this in Control Panel not WUMT. - Press the check for updates button. It is in the top left below the filters and looks like a refresh symbol. In the proxy server's log you should be able to see it connecting if it is working.
- Once the available updates have been found it will list them.
- Select the updates that you want. Make sure to not select the update mentioned above
- Press
Download and Install
This is a down arrow with a line below it.
- You can stop the php server with Ctrl + C
- To stop Windows XP from checking the WSUS Proxy you can run
remove_wsus.bat
- Restart the XP machine
There seems to be someone running this proxy server at http://wsus.gimme.money:8530
. They might just be hosting this proxy for free, or it might be giving you malware. It seems a little suspect to me so I didn't use it.
- https://msfn.org/board/topic/183498-general-and-specific-solutions-for-problems-regarding-auwumu-in-windows-xp/ A list of different methods that I should have just used in the first place. Just scroll down a bit.
- https://www.youtube.com/watch?v=2IHJBLlW1j8, https://adventuresinnostalgia.blogspot.com/2022/04/automatic-updates-for-windows-xp-in-2021.html, and https://download.ru/files/q1ttVqHt. Self hosted proxy and WUMT. One source for this proxy.
- https://www.youtube.com/watch?v=X_KMOECR7cw, https://docs.google.com/document/d/152geaMY-Ey98CRHX_IGV9vtLvpJloxUa/edit, and
https://docs.google.com/document/d/1A3TrHO_LED06-lmco-yMYRo2J3ZPOi0O/edit. Uses
wsus.gimme.money:8530
andwuauclt /detectnow
- https://docs.google.com/document/d/16lsXHuEVpODV8n3C3S7CTZriA2g0ilk1P7bDxBXucs8/edit Uses
wsus.gimme.money:8530
andwuauclt /detectnow
or WUMT - https://www.youtube.com/watch?v=vdIVMwV9MCk and http://i430vx.net/files/wsusstuff/ Seems to be the guy that is hosting
wsus.gimme.money:8530
. Useswuauclt /detectnow
- https://www.reddit.com/r/windowsxp/comments/lhtoxa/guide_how_to_fully_update_windows_xp_with_windows/ and https://drive.google.com/file/d/1p80TCHFZcmjWlwXvkM31QpJvj5ioqTsd/view. Self hosted proxy and WUMT. The other source for this proxy.
- https://msfn.org/board/topic/178377-on-decommissioning-of-update-servers-for-2000-xp-and-vista-as-of-july-2019/page/53/#comment-1211932 Other method 1
- https://msfn.org/board/topic/183498-general-and-specific-solutions-for-problems-regarding-auwumu-in-windows-xp/#comment-1216509 Other method 2
- https://msfn.org/board/topic/178377-on-decommissioning-of-update-servers-for-2000-xp-and-vista-as-of-july-2019/page/43/#comment-1211254 Other method 3
- https://www.youtube.com/watch?v=fv5LDGMZRpM Unofficial SP4
- https://drive.google.com/file/d/0BwJH2CazcjsINFZFc1pVdk9mNHM/view?resourcekey=0-LD-TdjUx1rNekTXsKfDCPw and https://drive.google.com/file/d/1t1APf_WMum9LTfYVU850-3druKqUeghv/view sketchier WUMT downloads.
- https://github.com/stdin82/htfx Old Root Certificate Update.
-
Dummy WSUS
That link is broken as the whatever127 has passed away. It seems a few forks were made before the repo was deleted though. Fork 1. Fork 2. -
IMI Kurwica WSUS Proxy mod
-
@mspaintmsi
-
Project Scripts: abbodi1406 and polarbub
-
Readme: polarbub