If you’re using a cracked version of Windows Genuine Advantage Validation v1.5.512 to get your Windows Update and download from Microsoft Download Center, I believe it will soon not work for you because Microsoft has updated their Windows Genuine Advantage Validation file to version 1.5.526.
I believe the one line of Javascript code you enter before using Windows Update is no longer working.
To check your version of Windows Genuine Advantage Validation:
1. Go to C:\Windows\System32
2. Look for the file legitcheckcontrol.dll
3. Use your mouse to right click on the file and select Properties
4. Click on the Version tab and you will see the version number of your Windows Genuine Advantage Validation file.

eth0, a cracking group has been releasing cracks for Windows Genuine Advantage Validation also started working on the new crack very quickly and now they have Windows.Genuine.Advantage.Validation.v1.5.526.0.CRACKED-ETH0 releasing to the public.
Just extract the LegitCheckControl.dll to your C:\Windows\System32, overwrite the original LegitCheckControl.dll when prompted and you will now have a cracked version of Windows Genuine Advantage Validation which enables you to use Windows Update and also downloading from Microsoft Download Center. It’s that easy!
[ Download Windows Genuine Advantage Validation v1.5.526.0 Crack ]
Note: Using cracked version of Windows Genuine Advantage Validation v1.5.526.0 is against Microsoft antipiracy law. This information is only for your knowledge and you download at your own risk.