free780 Posted October 10, 2012 Posted October 10, 2012 I have managed to add wims to out WDS server when I need to do a offline scan of a suspected computer. I'm trying to get it to update through a proxy, authenticated. I've tried adding the proxy setting in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections by mounting the boot.wim and loading the software hive. I was hoping for a login box, but it fails. Is their a way to do this? Has anybody enabled internet access in the winpe environment using a proxy?
alex1981303030 Posted March 19, 2014 Posted March 19, 2014 Hello , I have the same Problem. Has anyone an Resolution ?
free780 Posted March 19, 2014 Author Posted March 19, 2014 (edited) ### Script to download Windows Defender offline defintions and insert them in wim file for x86 and x64. ## x64 image $env:Path = "c:\windows" regedit /S e:\wdo\no_proxy.reg $urlx64 = "http://go.microsoft.com/fwlink/?LinkID=121721&arch=x64" $pathx64 = "e:\wdo\x64\mpam-fe.exe" $client = new-object System.Net.WebClient $client.DownloadFile( $urlx64, $pathx64 ) $env:Path = "C:\Program Files\Windows AIK\Tools\x86"; imagex /mountrw "e:\wdo\x64\boot_x64.wim" 1 e:\mount copy "e:\wdo\x64\mpam-fe.exe" "e:\mount\mpam-fex64.exe" imagex /commit e:\mount imagex /unmount e:\mount imagex /cleanup $env:Path = "C:\windows\system32"; wdsutil /replace-image /Image:"Windows Defender Offline x64" /ImageType:Boot /Architecture:x64 /ReplacementImage /ImageFile:"E:\wdo\x64\boot_x64.wim" /Name:"Windows Defender Offline x64" ## x86 image $env:Path = "c:\windows" regedit /S e:\wdo\no_proxy.reg $urlx86 = "http://go.microsoft.com/fwlink/?LinkID=121721&arch=x86" $pathx86 = "e:\wdo\x86\mpam-fe.exe" $client = new-object System.Net.WebClient $client.DownloadFile( $urlx86, $pathx86 ) $env:Path = "C:\Program Files\Windows AIK\Tools\x86"; imagex /mountrw "e:\wdo\x86\boot_x86.wim" 1 e:\mount copy "e:\wdo\x86\mpam-fe.exe" "e:\mount\mpam-fe.exe" $env:Path = "C:\Program Files\Windows AIK\Tools\x86"; imagex /commit e:\mount imagex /unmount e:\mount imagex /cleanup $env:Path = "C:\windows\system32"; wdsutil /replace-image /Image:"Windows Defender Offline x86" /ImageType:Boot /Architecture:x86 /ReplacementImage /ImageFile:"E:\wdo\x86\boot_x86.wim" /Name:"Windows Defender Offline x86" ###MW 10/05/2013 This is a powershell script I did to update the wims however soem of its out of date depending ow your wds/pxe is done. My server also had a static IP to the firewall which allowed internet access. It was my first powershell script so its not great. Other than that You could add a static IP to the wim and allow the internet access through to that IP on the firewall. But you could only have it booted on 1 pc at any 1 time. Or you allow the domain (s) through your firewall. Or allow the domains unauthenticated through your proxy if the proxy setting works in winpe. Which i think it does just not authenticated. Edited March 19, 2014 by free780
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now