[Guide] Win server 2008 How To Bulid up ur OS, Check post #1 for more info
#141
Posted 27 November 2008 - 02:22 PM
u forgot to notice that in the regedit the owners key reg need to be able to remove them
cos then the system will always look for the owner and wont able to remove it
#142
Posted 28 November 2008 - 11:06 AM
#143
Posted 28 November 2008 - 12:08 PM
aviv00, on Nov 27 2008, 03:22 PM, said:
u forgot to notice that in the regedit the owners key reg need to be able to remove them
cos then the system will always look for the owner and wont able to remove it
Owner's key? What does it do?
This was not mentioned before, I did a search on the forum for "owner's key".
#144
Posted 29 November 2008 - 09:47 AM
its mentioned here
http://www.msfn.org/board/index.php?showto...st&p=730473
those key folders need to be removed else the packages wont be removed
cos it package's owner wont let it
anyway im very recommending to use web edition of server 2008
its have much less packages to remove
and all the packages the user need for workstation is there
like desktop xp , and wirelessnetwork too and the tcp tweaked is should be
and iis
This post has been edited by aviv00: 29 November 2008 - 09:57 AM
#145
Posted 06 December 2008 - 02:31 PM
this topic was wery helpful for me, but after few tries i decided to little speed-up my experiments
So i wrote a little script that enables all packages in windows\system32\config\SOFTWARE registry file by setting Visibility to 0x00000001 and removing "Owners" subdirectories. here it is :
download binary
(both download files contains Win32Security library (in binary or source code form) for some native registry calls that are missing in managed .NET)
To use it just mount install.wim with imagex (or gimagex, whatever), run my app and type the path to the mounted install.wim (You can provide this path as a run parameter as well). I hope that my tool will be usefull for You
This post has been edited by wnuku: 08 January 2009 - 03:20 PM
#146
Posted 08 December 2008 - 12:06 PM
wnuku, on Dec 6 2008, 02:31 PM, said:
this topic was wery helpful for me, but after few tries i decided to little speed-up my experiments
So i wrote a little script that enables all packages in windows\system32\config\SOFTWARE registry file by setting Visibility to 0x00000001 and removing "Owners" subdirectories. here it is :
download source code (C# .NET 2.0)
download binary
(both download files contains Win32Security library (in binary or source code form) for some native registry calls that are missing in managed .NET)
To use it just mount install.wim with imagex (or gimagex, whatever), run my app and type the path to the mounted install.wim (You can provide this path as a run parameter as well). I hope that my tool will be usefull for You
Your effort is much appreciated. Havent used i yet but will do so for my next rebuild. Hope it works well.
#147
Posted 27 December 2008 - 03:27 PM
i tested server 7 and PackagesPending need to have owners clean too
could u update ur tool ?
shortcut for owner removal
export the regdir
rename the owner to xxxx using notepad
del the regdir from the hive
import back the reg file to hive
This post has been edited by aviv00: 08 January 2009 - 03:29 AM
#148
Posted 08 January 2009 - 03:19 PM
ok, my tool has been updated
download source code
download binary
Sorry for long delay, but i was very busy (still i am
Any future suggestions are welcome
This post has been edited by wnuku: 08 January 2009 - 03:31 PM
#149
Posted 11 January 2009 - 11:12 AM
wnuku, on Jan 8 2009, 06:49 PM, said:
ok, my tool has been updated
download source code
download binary
Sorry for long delay, but i was very busy (still i am
Any future suggestions are welcome
Thanks. Here's a direct link.
http://www.fileden.com/files/2008/9/20/210...ak_bin_v1.1.rar
#150
Posted 12 January 2009 - 10:19 PM
This post has been edited by Grope For Luna: 12 January 2009 - 10:24 PM
#151
Posted 14 January 2009 - 09:04 PM
<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="configure" permanence="permanent"> <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7000.0" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> <selection name="WirelessNetworking" state="true" /> <selection name="InkSupport" state="true" /> <selection name="HandwritingRecognition" state="true" /> <selection name="DesktopExperience" state="true" /> <selection name="SearchEngine-Server-Package" state="true" /> <selection name="WindowsServerBackup" state="true" /> <selection name="WindowsServerBackupCommandlet" state="true" /> <selection name="NetFx3" state="true" /> </package> </servicing> <cpi:offlineImage cpi:source="wim:E:/server08/sources/install.wim#Windows 7 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
#152
Posted 15 January 2009 - 07:52 AM
#153
Posted 15 January 2009 - 01:09 PM
aviv00, on Jan 15 2009, 11:22 AM, said:
I still use the pkgmgr commands which call dism. I assume it works the same way. What do you use to regenerate the catalog? Image manager or dism? I usually get an error when I load the wim into the Image Manager:

and sometimes I don't, but the install still doesn't work. Desktop Experience wasn't installed and it wasn't in the list of available features.
I used the guide by 7bingo7 and the tool by wnuku and everything seemed to work fine with no reported errors. I did notice this in the logs however:
2009-01-14 23:40:10, Info CBS Appl: detect Parent, Package: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, Parent: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~6.1.7000.0, Disposition = Detect, VersionComp: EQ, ServiceComp: GE, BuildComp: GE, DistributionComp: GE, RevisionComp: GE, Exist: present 2009-01-14 23:40:10, Info CBS Appl: detectParent: package: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, parent found: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~6.1.7000.0, state: Absent 2009-01-14 23:40:10, Info CBS Appl: detect Parent, Package: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, disposition state from detectParent: Absent 2009-01-14 23:40:10, Info CBS Appl: Evaluating package applicability for package Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, applicable state: Absent 2009-01-14 23:40:10, Info CBS Plan: Skipping package since its start state and target state are both absent for package: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, current: Staged, pending: Staged, start: Absent, applicable: Absent, targeted: Absent, limit: Absent
There were "skipping package" entries for all the features i was trying to preinstall.
I just managed to load the WIM into Image Manager again and I can't see any of my "preinstalled" features in the list of features. It's almost as if the "preinstalling" process is actually removing them.
#154
Posted 15 January 2009 - 02:39 PM
echo %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL%
replace the %1 with the InkSupport and then desktop xp
dont use the old pkgmgr but u could use the old wimfilter to mount the wim file
This post has been edited by aviv00: 15 January 2009 - 02:40 PM
#155
Posted 17 January 2009 - 01:13 PM
eg. I run the tweak: install_wim_tweak.exe (with or without the /m option) on a fresh WIM
I run the install command: dism.exe /Image:e:\mount /Enable-Feature:WirelessNetworking /LogPath:install-log.txt
It gives me an error:
Deployment Image Servicing and Management tool Version: 6.1.7000.0 Image Version: 6.1.7000.0 Enabling feature(s) [==========================100.0%==========================] Error: 0x800f080c DISM failed. No operation was performed.For more information, review the log file.
I then run a get-featureinfo command: dism.exe /Image:e:\mount /Get-FeatureInfo:WirelessNetworking
and get the same error code [0x800f080c ( CBS_E_UNKNOWN_UPDATE named update not present in package )]:
Deployment Image Servicing and Management tool Version: 6.1.7000.0 Image Version: 6.1.7000.0 Error: 0x800f080c Feature name WirelessNetworking is unknown. A Windows feature name was not recognized. Use the /Get-Features option to find the name of the feature in the image and try the command again.
It doesn't actually remove any files, just the name in the catalog.
If I install the features on a fresh WIM without running the tweak, everything installs fine, except for NetFx3 which won't pre-install under any circumstances.
After pre-installing the features I want, I save the image and run the tweak, which then allows me to remove packages.
#156
Posted 17 January 2009 - 01:21 PM

The log created indicates it's a problem with the program, not the image.
20090115_3828.txt (5.6K)
Number of downloads: 7
#157
Posted 17 January 2009 - 03:31 PM
echo %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL%
here the right cmd to enable feature
This post has been edited by aviv00: 17 January 2009 - 03:32 PM
#158
Posted 17 January 2009 - 05:14 PM
Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0 Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~6.1.7000.0 Microsoft-Windows-WMI-SNMP-Provider-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0 Microsoft-Windows-WMI-SNMP-Provider-Package~31bf3856ad364e35~amd64~~6.1.7000.0
#159
Posted 17 January 2009 - 05:27 PM
aviv00, on Jan 17 2009, 07:01 PM, said:
echo %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL%
here the right cmd to enable feature
It's the same thing, whether you use /FeatureName:WirelessNetworking or just /Enable-Feature:WirelessNetworking . The end result is that I get the Error: 0x800f080c and it's no longer visible in the image. Do you use the reg tweak before you enable features? I thought that was only necessary for removing features, not enabling them. The guide 7bingo7 posted said to apply the tweak before enabling packages, although that was for 2008 Server SP1, not R2.
Have you enabled the NetFx3 feature in R2 ?
BTW, why do you repeat the %ERRORLEVEL% 6 times? It will only have one value after an operation.



Help


Back to top









