Jump to content

Install Powershell 3.0 on Windows Vista


WinFX
 Share

Recommended Posts

Anyone know how to install Powershell 3 in Vista, that is to say, to edit the update file since it is not as easy as in NT 5.x or use a hack to be able to install it in Vista Ultimate since it only works in Server 2008

Link to comment
Share on other sites


  • 1 year later...

I managed to integrate it. It's dirty way, but it seems good. It will be part of my offline Vista / Server 2008 Update Pack. At the end you get SysPreped ISO with all updates, PowerShell versions, .NETs and working Windows Update to receive Office updates or Drivers. This Update Pack tool should be relased in moth (hopefully)

 

Vista-Power-Shell-3.png

Link to comment
Share on other sites

4 hours ago, George King said:

I managed to integrate it. It's dirty way, but it seems good. It will be part of my offline Vista / Server 2008 Update Pack. At the end you get SysPreped ISO with all updates, PowerShell versions, .NETs and working Windows Update to receive Office updates or Drivers. This Update Pack tool should be relased in moth (hopefully)

 

Vista-Power-Shell-3.png

Although it is dirty work, I am interested in doing it in my current installation.

Link to comment
Share on other sites

On 6/7/2021 at 3:44 AM, George King said:

I managed to integrate it. It's dirty way, but it seems good. It will be part of my offline Vista / Server 2008 Update Pack. At the end you get SysPreped ISO with all updates, PowerShell versions, .NETs and working Windows Update to receive Office updates or Drivers. This Update Pack tool should be relased in moth (hopefully)

May I ask how you managed to get it installed before packing it in your tool? I, like every other vista lover coming out of the woodwork recently, am working on my own Vista project, compiling an extremely detailed guide for creating an updated ISO installer image with as little post installation work as possible. The majority of the work, and time lol, is getting spent consolidating the 15 years worth of troubleshooting information across the hundreds of forum threads scattered over the web. Once it's eventually finished and polished I aim to post it somewhere so no one has to wrestle with Vistas update/installation baboonery again. 

Edited by forward_x
  • Like 1
Link to comment
Share on other sites

Well, it's not easy.. Here is my code

 

My Update Pack tool have one purpose - Create perfect AIO 15v1 ISO that can fit DVD with all updates. I'm currently adapting code from my ureleased Windows 6.1 Kitchen.

 

	
REM PowerShell 3.0 for client
	ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\update.mum" "update.mum.bak"
	(
    echo ^<?xml version="1.0" encoding="UTF-8"?^>
    echo ^<assembly manifestVersion="1.0" description="This package installs Microsoft Windows Management Framework 3.0" displayName="Microsoft Windows Management Framework 3.0 ^(KB2506146^)" company="Microsoft Corporation" copyright="Microsoft Corporation" supportInformation="http://support.microsoft.com/" xmlns="urn:schemas-microsoft-com:asm.v3"^>
    echo     ^<assemblyIdentity  buildType="release" language="neutral" name="Microsoft-Windows-WinMan-Win8IP-Package-TopLevel" processorArchitecture="%ARCH2%" publicKeyToken="31bf3856ad364e35" version="7.1.6002.16398"/^>
    echo     ^<package identifier="KB2506146" applicabilityEvaluation="deep" releaseType="Update" ^>
    echo         ^<update name="Microsoft-Windows-WinMan-Win8IP-Package-Neutral" displayName="Placeholder for PowerShell" description="Placeholder for PowerShell"^>
    echo             ^<package integrate="hidden"^>
    echo                 ^<assemblyIdentity  buildType="release" language="neutral" name="Microsoft-Windows-WinMan-Win8IP-Package" processorArchitecture="%ARCH2%" publicKeyToken="31bf3856ad364e35" version="7.1.6002.16398"/^>
    echo             ^</package^>
    echo         ^</update^>
    echo         ^<update name="Microsoft-Windows-WinMan-Win8IP-Package-%SLLP%-LP-Toplevel" displayName="Placeholder for PowerShell" description="Placeholder for PowerShell"^>
    echo             ^<package integrate="hidden"^>
    echo                 ^<assemblyIdentity  buildType="release" language="%SLLP%" name="Microsoft-Windows-WinMan-Win8IP-Package-MiniLP" processorArchitecture="%ARCH2%" publicKeyToken="31bf3856ad364e35" version="7.1.6002.16398"/^>
    echo             ^</package^>
    echo         ^</update^>
    echo     ^</package^>
    echo ^</assembly^>
)>"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\update.mum"
	
REM microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" "microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak"
findstr /v /i "parent Microsoft-Windows-Client-Features-Package" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
REM microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" "microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum.bak"
findstr /v /i "parent Microsoft-Windows-Client-Features-Package" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum"
	
REM microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" "microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak"
findstr /v /i "parent KB948465 ServerCore" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
REM microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" "microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak"
rem findstr /v /i "parent KB948465" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
(
    echo ^<?xml version='1.0' encoding='utf-8' standalone='yes'?^>
    echo ^<assembly xmlns="urn:schemas-microsoft-com:asm.v3" copyright="Copyright ^(c^) Microsoft Corporation. All Rights Reserved." description="This package installs Microsoft Windows Management Framework 3.0" displayName="Microsoft Windows Management Framework 3.0 ^(KB2506146^)" manifestVersion="1.0" supportInformation="http://support.microsoft.com/"^>
    echo   ^<assemblyIdentity buildType="release" language="neutral" name="Microsoft-Windows-WinMan-Win8IP-Package" processorArchitecture="%ARCH2%" publicKeyToken="31bf3856ad364e35" version="7.1.6002.16398"/^>
    echo   ^<package identifier="Microsoft-Windows-WinMan-Win8IP-Package" releaseType="Feature Pack"^>
    echo     ^<update description="Placeholder for PowerShell" displayName="Placeholder for PowerShell" name="PlaceholderName"^>
    echo       ^<package contained="true" integrate="hidden"^>
    echo         ^<assemblyIdentity buildType="release" language="neutral" name="Microsoft-Windows-PowerShell-WTR-Package" processorArchitecture="%ARCH2%" publicKeyToken="31bf3856ad364e35" version="7.1.6002.16398"/^>
    echo       ^</package^>
    echo     ^</update^>
    rem psmodulediscoveryprovider.mof error during install with this package
    rem    ^<update description="Placeholder for WMI" displayName="Placeholder for WMI" name="Placeholder for WMI"^>
    rem      ^<package contained="true" integrate="hidden"^>
    rem        ^<assemblyIdentity buildType="release" language="neutral" name="WIN8IP-NT-Microsoft-Windows-WMI-Package" processorArchitecture="%ARCH2%" publicKeyToken="31bf3856ad364e35" version="7.1.6002.16398"/^>
    rem      ^</package^>
    rem    ^</update^>
    echo     ^<update description="Placeholder for WS-MAN" displayName="Placeholder for WS-MAN" name="Placeholder for WS-MAN"^>
    echo       ^<package contained="true" integrate="hidden"^>
    echo         ^<assemblyIdentity buildType="release" language="neutral" name="Windows-Management-Protocols-Package-Vista" processorArchitecture="%ARCH2%" publicKeyToken="31bf3856ad364e35" version="7.1.6002.16398"/^>
    echo       ^</package^>
    echo     ^</update^>
    echo   ^</package^>
    echo ^</assembly^>
)>"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
REM microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" "microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum.bak"
findstr /v /i "parent Microsoft-Windows-Server-LanguagePack-Package" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum"
	
REM package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" "package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak"
findstr /v /i "parent Microsoft-Windows-Server Microsoft-Windows-Foundation" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
REM win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" "win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak"
findstr /v /i "parent KB948465" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
REM win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" "win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak"
findstr /v /i "parent KB948465" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
REM windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" "windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak"
findstr /v /i "parent KB948465" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
REM microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" "microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak"
findstr /v /i "parent Microsoft-Windows-Foundation-Package Microsoft-Windows-ServerCore-Package" "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" >"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
dism /image:"%IMAGE%" /add-package /packagepath:"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\update.mum" /LogLevel:%DISMErrorLevel% /LogPath:"%~dp0Logs\%INDEX%\Update.log"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\Microsoft-Windows-WinMan-Win8IP-Package-TopLevel~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\Microsoft-Windows-WinMan-Win8IP-Package-TopLevel~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\update.mum.bak" "%IMAGE%\Windows\servicing\Packages\Microsoft-Windows-WinMan-Win8IP-Package-TopLevel~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\Microsoft-Windows-WinMan-Win8IP-Package-TopLevel~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\Microsoft-Windows-WinMan-Win8IP-Package-TopLevel~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\update.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\update.mum.bak" "update.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum.bak" "microsoft-windows-powershell-client-wtr-package~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "microsoft-windows-powershell-wtr-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "microsoft-windows-winman-win8ip-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum.bak" "microsoft-windows-winman-win8ip-package-minilp~31bf3856ad364e35~%ARCH2%~%SLLP%~7.1.6002.16398.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "package_for_kb123456_server~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "win8ip-nt-microsoft-windows-wmi-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "win8ip-nt-microsoft-windows-wmi-providers~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "windows-management-protocols-package-vista~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
	
takeown /F "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /A >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant *S-1-5-32-544:F >nul 2>nul
copy "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /setowner "NT SERVICE\TrustedInstaller" >nul 2>nul
icacls "%IMAGE%\Windows\servicing\Packages\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum" /grant:r *S-1-5-32-544:RX >nul 2>nul
	del "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
ren "%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum.bak" "microsoft-windows-winrm-iis-extensions-downlevel-package~31bf3856ad364e35~%ARCH2%~~7.1.6002.16398.mum"
 
	
Edited by George King
Link to comment
Share on other sites

  • 2 weeks later...
1 minute ago, MrMADRYAN said:

Could you please make a standalone installer in a future? This would be great if I could install it to my machine, but I can understand nothing in this code.

That would be great but i think a way to bypass the OS check isnt found yet which is why he did it manually.

Link to comment
Share on other sites

  • 5 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...