aviv00

[Guide] Win server 2008

195 posts in this topic

as u understand i done it with testing so cant ensure its will go easily :)

Guide How to Remove Packages with WAIK [ Could be use on Vista as well ]

use the original install.wim

hive in to regedit.exe the software [in system32\config\]

export to the packages

with notpade replace

"Visibility"=dword:00000002

to

"Visibility"=dword:00000001

save it and import it back to regedit.exe [ click it twice, u should take owner and full access first]

remove the Owners dirs of all the packages [ save it from time to time so u wont get mistake and need to go back]

save the hive with unhive it [ save the wim changes]

use Windows SIM [ WAIK] to make the new clg file

start to make answer file to remove those packages u dont need

if u get error like 1023 or 1623 i dont remember u should rebulid the image with vlite [or start remove comps with it and rebulid, do that after u remove all the possable]

TIPS:

server 32bit have 201 packages i success to remove till 74 packages left after remove comps with vlite

those others that get those error i was talking before was able to remove now [ duno why ]

u dont need to remove the lang pack of any package if u remove the main the lang pack of it should go too

if u remove the server lang pack the while the install u will get error

if u want to remove winsxs as well and still have the aero

remove the pending.xml in winsxs dir [install.wim]

tell me about ur exp. with it :)

GL man

hi aviv00.

I hope you can explain some things to me :)

Can you explain the hive/unhive steps? Also where are the "owner's dir"?

thank you

0

Share this post


Link to post
Share on other sites

hey jarthel

sure np

hive:

open regedit

goto local machine

go to file > hive [ the same unhive ]

select software [in ...system32\config dir]

owner:

right click u will c perm... choose that

then click advance

owner tab

choose administrators and mark replace owner.... [apply it]

then back to permission tab and add u full control

just notice u must unhive it and then save the wim

"owner's dir"

just open the packages dirs u will see them in sub-dir

GL :)

Edited by aviv00
0

Share this post


Link to post
Share on other sites
hey jarthel

sure np

hive:

open regedit

goto local machine

go to file > hive [ the same unhive ]

select software [in ...system32\config dir]

owner:

right click u will c perm... choose that

then click advance

owner tab

choose administrators and mark replace owner.... [apply it]

then back to permission tab and add u full control

just notice u must unhive it and then save the wim

"owner's dir"

just open the packages dirs u will see them in sub-dir

GL :)

more question if you don't mind :)

I have an iso mounted as DVD using daemon tools. I copied the contents of the ISO to a temp directory in my local harddrive.

1. Am I able to use the files in the temp folder?

2. If all I want is to remove package, should I be using pkgmgr.exe only?

3. Is this the correct AIK to use? http://www.microsoft.com/downloads/details...;displaylang=en

thanks for the help :)

0

Share this post


Link to post
Share on other sites

np

1. yes only, u cant change moute iso

2. well there another cmd "peimg.exe" i duno if it will do the "job" like pgrmgr.exe

3. yes

however as i see pgrmgr dont do a great job too i hope nuhi could do something about it

Edited by aviv00
0

Share this post


Link to post
Share on other sites
np

1. yes only, u cant change moute iso

2. well there another cmd "peimg.exe" i duno if it will do the "job" like pgrmgr.exe

3. yes

however as i see pgrmgr dont do a great job too i hope nuhi could do something about it

can you tell me how to use pkgmgr?

as I said above, I have copied the contents of the win2008 DVD into a temp folder on the local HDD.

thank you very much

ps. you said you were able to reduce your win2008 to less than a 1GB. I want to do the same but I'm not sure what program to use or the steps to achieve it. :)

Edited by jarthel
0

Share this post


Link to post
Share on other sites

u could find info in this thread if i dont wrong

0

Share this post


Link to post
Share on other sites
u could find info in this thread if i dont wrong

could you please tell me the post no? thank you

0

Share this post


Link to post
Share on other sites

sure post #23

use Windows Sim to add more configuration to xml if u like

GL

0

Share this post


Link to post
Share on other sites
ok np this is the list u should save

Microsoft-Windows-Fax-Server-Package

Microsoft-Windows-Foundation-Package

Microsoft-Windows-GroupPolicy-ClientExtensions-Package

Microsoft-Windows-GroupPolicy-ClientTools-Package

Microsoft-Windows-International-Core-Locale-NLS-Server2008-Package

Microsoft-Windows-QWAVE-Package

Microsoft-Windows-RDC-Package

Microsoft-Windows-SearchEngine-Server-Package

Microsoft-Windows-Server-Drivers-Package

Microsoft-Windows-Server-Features-Package

Microsoft-Windows-Server-LanguagePack-Package

Microsoft-Windows-ServerCore-Drivers-Package

Microsoft-Windows-ServerDesktopExperience

Microsoft-Windows-ServerStandardEdition

Microsoft-Windows-ServicingBaseline-ServerStandard-Package

Microsoft-Windows-SIS-Limited-Package

Microsoft-Windows-Telnet-Client-Package

Microsoft-Windows-TerminalServices-AppServer-Package

Microsoft-Windows-TerminalServices-SessionDirectoryServer-Package

Microsoft-Windows-WindowsFoundation-LanguagePack-Package

Microsoft-Windows-WirelessNetworking-Package

the bolds ones is my choose so if u dont wanna them u could remove them too

hi

i am not sure if in waik i should select the rest of the packages to uninstall or just add these.

i want to remove the maximum number of packages.

* i don't want Aero

* i want the option of adding desktop search (indexing) later on.

* i do want Office/Visual Studio

* i do want to play games.

* i do want to remote desktop to and fro from this computer.

could you be a bit more specific about how to remove packages from waik. i have already done the registry/hive part. now i have opened waik and opened the modified wim and a new answer file. what do i do now.

how much more disk space can i gain over simply vliting the original disc. (my vlited 2008 x64 uses about 4 gb disc space with a working add/remove without using vlite with extreme flag)

thanks

my vlite file

[Components]

;# Accessories #

Accessibility

Speech Support

Wordpad

;# Drivers #

Display adapters-Ati

Display adapters-Intel

Display adapters-nVidia

Diva Server

Modems

Printers-Apollo

Printers-Brother

Printers-Canon

Printers-Citizen

Printers-Dell

Printers-Diconix

Printers-Epson

Printers-Fuji Xerox

Printers-Fujitsu

Printers-Generic printer

Printers-Gestetner

Printers-HP

Printers-IBM

Printers-Infotec

Printers-Konica

Printers-Konica Minolta

Printers-Kyocera Mita

Printers-Lanier

Printers-Lexmark

Printers-Minolta

Printers-Minolta-QMS

Printers-NEC

Printers-NRG

Printers-Oce

Printers-Oki

Printers-Okidata

Printers-Olivetti

Printers-Panasonic

Printers-QMS

Printers-Ricoh

Printers-Samsung

Printers-Savin

Printers-Seikosha

Printers-Sharp

Printers-Sony

Printers-Star

Printers-Tally

Printers-Tektronix

Printers-Wipro ePeripherals

Printers-Xerox

QLogic Fibre Channel Adapter

Scanners

TV Tuners-ADS Technologies

TV Tuners-ASUSTeK Computer Inc.

TV Tuners-AVerMedia Technologies, Inc.

TV Tuners-Compro Technology Inc.

TV Tuners-Conexant Systems, Inc.

TV Tuners-Creatix

TV Tuners-Hauppauge

TV Tuners-KNC ONE GmbH

TV Tuners-KWorld

TV Tuners-Lumanate, Inc.

TV Tuners-Philips Semiconductors

TV Tuners-Pinnacle Systems

TV Tuners-TerraTec Electronic GmbH

TV Tuners-VidzMedia Pte Ltd.

TV Tuners-ViXS Systems Inc.

;# Hardware Support #

Internet Small Computer System Interface (iSCSI)

Modem Support

Smartcards

Windows Mobile Device Center

;# Languages #

Arabic

Brazillian

Bulgarian

Croatian

Czech

Danish

Dutch

Estonian

Finnish

French

German

Greek

Hebrew

Hungarian

Italian

Japanese

Korean

Latvian

Lithuanian

Norwegian

Polish

Portuguese

Romanian

Russian

Serbian

Simplified Chinese

Slovak

Slovenian

Spanish

Swedish

Table Driven Text Input Processor

Thai

Traditional Chinese

Turkish

Ukrainian

;# Multimedia #

Music and Video samples

Photo Metadata Handler

Sample Pictures

Shell event sounds

Wallpapers

Windows Aero Theme

;# Network #

File and printer sharing (Server)

Internet Information Services (IIS)

;# System #

IMAPIv2 Burning Support

Jet Database Engine

Malicious Software Removal Tool

Manual Install (Setup.exe)

MDAC

Natural Language

Run a legacy CPL elevated

Windows Easy Transfer

Zip Folder

Edited by gsharad007
0

Share this post


Link to post
Share on other sites

* i don't want Aero

remove Microsoft-Windows-ServerDesktopExperience package with pgrmgr [ i post tut here just look up a bit]

or use vlite to remove it after installing using waik [its save lots of space]

* i want the option of adding desktop search (indexing) later on.

better install it already with waik then use add feather after install i get error

* i do want Office/Visual Studio

pre-install net3 with waik [ search in foundation pack ]

* i do want to play games.

get game dll file from google or here

got info about the games u gonna play if there are any problem

* i do want to remote desktop to and fro from this computer.

pre-install terminal serivce with waik [ search in foundation pack ]

or add feather after install [ better waik fmo]

could you be a bit more specific about how to remove packages from waik. i have already done the registry/hive part. now i have opened waik and opened the modified wim and a new answer file. what do i do now.

uploaded bat files that get better packages removed

how much more disk space can i gain over simply vliting the original disc. (my vlited 2008 x64 uses about 4 gb disc space with a working add/remove without using vlite with extreme flag)

i would say more 500mb using packages remove

if u could test ur config and packages remove with vm its would be the best

cant ensure wont be problems

.

GL

.

tip:

get more info about the packages from here

http://technet2.microsoft.com/WindowsVista...33.mspx?pf=true

.

Work.rar

Edited by aviv00
0

Share this post


Link to post
Share on other sites
uploaded bat files that get better packages removed

just on a side note those two batch files could be one bat file like this

CALL up Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~x86~~6.0.6001.18000

GOTO :EOF


:up

start /w pkgmgr /o:E:\Work\WimMount;E:\Work\WimMount\Windows /up:%1 /l:log

echo %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL%

GOTO :EOF

0

Share this post


Link to post
Share on other sites

is doing pkgmgr /up the same as passing in a answer file with all those components removed.

0

Share this post


Link to post
Share on other sites

i thikn its better cos less errors u get

0

Share this post


Link to post
Share on other sites
i thikn its better cos less errors u get

speaking of errors i get this

2008-05-02 16:02:54, Info                  CBS    Pkgmgr: called with: "sources\6.0.6000.16386_amd64\pkgmgr.exe /o:f:\Server_2008_Share;f:\Server_2008_Share\Windows /up:Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 /l:log"
2008-05-02 16:02:54, Info CSI 00000001@2008/5/2:10:32:54.890 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x10001665c @0x1000102d2 @0x10001c82d @0x77d5964c NULL NULL)
2008-05-02 16:02:54, Info CSI 00000002@2008/5/2:10:32:54.906 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7ff4b83819e @0x7ff4b80eeca @0x10001836d @0x100009918 @0x10001060d @0x10001c82d)
2008-05-02 16:02:54, Info CBS Could not load SrClient DLL from path: SrClient.dll. Continuing without system restore points.
2008-05-02 16:02:54, Info CSI 00000003@2008/5/2:10:32:54.906 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7ff4b8709db @0x7ff4b850f35 @0x7ff4b80efe3 @0x10001836d @0x100009918 @0x10001060d)
2008-05-02 16:02:54, Info CBS Must be doing offline servicing, using stack version from: F:\Server2008_64\sources\6.0.6000.16386_amd64\cbscore.dll
2008-05-02 16:02:54, Info CBS Loaded Servicing Stack v6.0.6000.16386 with Core: F:\Server2008_64\sources\6.0.6000.16386_amd64\cbscore.dll
2008-05-02 16:02:55, Info CSI 00000004 CSI Store 1063616 (0x0000000000103ac0) initialized
2008-05-02 16:02:55, Info CBS Session: 4732:335242703 initialized.
2008-05-02 16:02:55, Info CBS Pkgmgr: Uninstalling package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
2008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386, Disposition = 1003, VersionComp: 1, ServiceComp: 1, BuildComp: 1, DistributionComp: 1, RevisionComp: 1, Exist: 1
2008-05-02 16:02:55, Info CBS Appl: detectParent (exact match): package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386, parent state: 0
2008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Disposition = 1003, VersionComp: 1, ServiceComp: 1, BuildComp: 1, DistributionComp: 1, RevisionComp: 1, Exist: 1
2008-05-02 16:02:55, Info CBS Appl: detectParent (exact match): package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, parent state: 7
2008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, disposition state from detectParent: 7
2008-05-02 16:02:55, Info CBS Appl: Evaluating package applicability for package Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, applicable state: 7
2008-05-02 16:02:55, Info CBS Exec: Processing started. Client: Package Manager, Session: 4732:335242703, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000
2008-05-02 16:02:55, Info CBS Appl: Evaluating package applicability for package Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, applicable state: 7
2008-05-02 16:02:55, Info CBS Plan: Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, current: Installed, pending: Default, start: Installed, applicable: Installed, targeted: Absent, limit: Absent
2008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386, Disposition = 1003, VersionComp: 1, ServiceComp: 1, BuildComp: 1, DistributionComp: 1, RevisionComp: 1, Exist: 1
2008-05-02 16:02:55, Info CBS Appl: detectParent (exact match): package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386, parent state: 0
2008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Disposition = 1003, VersionComp: 1, ServiceComp: 1, BuildComp: 1, DistributionComp: 1, RevisionComp: 1, Exist: 1
2008-05-02 16:02:55, Info CBS Appl: detectParent (exact match): package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, parent state: 7
2008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, disposition state from detectParent: 7
2008-05-02 16:02:55, Info CBS Appl: Evaluating package applicability for package Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, applicable state: 7
2008-05-02 16:02:55, Info CSI 00000005@2008/5/2:10:32:55.750 CSI Transaction @0x260a800 initialized for deployment engine {d16d444c-56d8-11d5-882d-0080c847b195} with flags 00000002 and client id [21]"TI5.4732:335242703:1/"

2008-05-02 16:02:55, Info CSI 00000006 Mismatched pending.xml format versions. We speak 1.0.0.0, it speaks 2.0.0.0
2008-05-02 16:02:55, Error CSI 00000007@2008/5/2:10:32:55.765 (F) d:\vistartm\base\wcp\componentstore\com\transaction.cpp(2721): Error STATUS_REVISION_MISMATCH originated in function ComStoreImpl::ParseTransactionFlagsFromPendingXml expression: (null)
[gle=0x80004005]
2008-05-02 16:02:55, Error CSI 00000008 (F) HRESULT_FROM_WIN32(1306) #635# from Windows::COM::CComponentStore::InternalTransact(...)
2008-05-02 16:02:55, Error CSI 00000009 (F) HRESULT_FROM_WIN32(1306) #633# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_Analyze(Flags = 0, riid = {f4d9decb-0250-4ad4-9500-85c7f2f281ec}, ppUnk = NULL
2008-05-02 16:02:55, Error CSI 0000000a (F) HRESULT_FROM_WIN32(1306) #632# from Windows::ServicingAPI::CCSITransaction_ICSITransaction::Analyze(flags = 0, riid = {f4d9decb-0250-4ad4-9500-85c7f2f281ec}, ppta = ppta)

2008-05-02 16:02:55, Info CSI 0000000b@2008/5/2:10:32:55.765 CSI Transaction @0x260a800 destroyed
2008-05-02 16:02:55, Info CBS Exec: Processing complete. Session: 4732:335242703, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, hr: 0x8007051a
2008-05-02 16:02:55, Error CBS Pkgmgr: Failed uninstall of package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, hr: 0x8007051a
2008-05-02 16:02:55, Info CBS Session: 4732:335242703 finalized. Reboot required: no
2008-05-02 16:02:55, Info CBS Pkgmgr: return code: 0x51a

0

Share this post


Link to post
Share on other sites

try do it on clean wim and just after all is removed use waik and then vlite

0

Share this post


Link to post
Share on other sites

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

  • Recently Browsing   0 members

    No registered users viewing this page.