MSFN Forum: [Guide] Win server 2008 - MSFN Forum

Jump to content


vLite Forum Rules

If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
  • 10 Pages +
  • « First
  • 6
  • 7
  • 8
  • 9
  • 10
  • You cannot start a new topic
  • You cannot reply to this topic

[Guide] Win server 2008 How To Bulid up ur OS, Check post #1 for more info Rate Topic: -----

#141 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 27 November 2008 - 02:22 PM

7bingo7 about Phrase two - Pre-processing

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 User is offline   romanian 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 16-November 08

Posted 28 November 2008 - 11:06 AM

Well that answered my question ^^ Now I get why you specified that. Thanks ^^

#143 User is offline   weEvil 

  • n00b
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 21-August 06

Posted 28 November 2008 - 12:08 PM

View Postaviv00, on Nov 27 2008, 03:22 PM, said:

7bingo7 about Phrase two - Pre-processing

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 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 29 November 2008 - 09:47 AM

@weEvil
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 :) ofc

This post has been edited by aviv00: 29 November 2008 - 09:57 AM


#145 User is offline   wnuku 

  • Group: Members
  • Posts: 9
  • Joined: 04-August 07

Posted 06 December 2008 - 02:31 PM

Hi,
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
Look for updated version here.
(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 User is offline   romanian 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 16-November 08

Posted 08 December 2008 - 12:06 PM

View Postwnuku, on Dec 6 2008, 02:31 PM, said:

Hi,
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 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 27 December 2008 - 03:27 PM

thx wnuku for gr8 tool

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 User is offline   wnuku 

  • Group: Members
  • Posts: 9
  • Joined: 04-August 07

Posted 08 January 2009 - 03:19 PM

Hi,

ok, my tool has been updated ;) ( this update is relevant for those, who are planning to use it with command line scripts or with win7 (win6.1))
download source code
download binary
Sorry for long delay, but i was very busy (still i am :P). To clear owners of PackagesPending use '/m' switch with command args. Use '/?' for more info.
Any future suggestions are welcome ;)

This post has been edited by wnuku: 08 January 2009 - 03:31 PM


#149 User is offline   Grope For Luna 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 06-April 06

Posted 11 January 2009 - 11:12 AM

View Postwnuku, on Jan 8 2009, 06:49 PM, said:

Hi,

ok, my tool has been updated ;) ( this update is relevant for those, who are planning to use it with command line scripts or with win7 (win6.1))
download source code
download binary
Sorry for long delay, but i was very busy (still i am :P). To clear owners of PackagesPending use '/m' switch with command args. Use '/?' for more info.
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 User is offline   Grope For Luna 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 06-April 06

Posted 12 January 2009 - 10:19 PM

Edit: n/m I forgot to clear owners of PackagesPending.

This post has been edited by Grope For Luna: 12 January 2009 - 10:24 PM


#151 User is offline   Grope For Luna 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 06-April 06

Posted 14 January 2009 - 09:04 PM

Has anyone had success preinstalling packages to Server 2008 R2, specifically DesktopExperience? Everything seems to work, no errors, but when I install the image to VMWare, Desktop Experience (and the other packages I preinstalled) isn't installed and it isn't even in the list of features. I did a search for wmplayer in the VMWare system and the files are in WinSxS so they are stored in the image. I'm using the new beta WAIK for Win 7 and 2008 Server R2.

<?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 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 15 January 2009 - 07:52 AM

i used dism and preinstall first InkSupport and then desktop xp

#153 User is offline   Grope For Luna 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 06-April 06

Posted 15 January 2009 - 01:09 PM

View Postaviv00, on Jan 15 2009, 11:22 AM, said:

i used dism and preinstall first InkSupport and then desktop xp


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:

Posted Image

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. :unsure:

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 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 15 January 2009 - 02:39 PM

DISM.exe /Image:C:\work\wimmount /Enable-Feature /FeatureName:%1

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 User is offline   Grope For Luna 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 06-April 06

Posted 17 January 2009 - 01:13 PM

With 2008 Server R2, I've noticed that if I use the Registry Tweak app posted by Wnuku, I can't install any features, and it appears to remove the features I'm trying to install.

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. :angry:

After pre-installing the features I want, I save the image and run the tweak, which then allows me to remove packages.

#156 User is offline   Grope For Luna 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 06-April 06

Posted 17 January 2009 - 01:21 PM

Is there any way to regenerate the catalog file without using the Image Manager? I have the 32 and 64bit versions installed on Vista 32 and 64 respectively and it usually fails with this error message. This is the new version with the new WAIK beta.

Posted Image

The log created indicates it's a problem with the program, not the image.

Attached File  20090115_3828.txt (5.6K)
Number of downloads: 7

#157 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 17 January 2009 - 03:31 PM

DISM.exe /Image:C:\work\wimmount /Enable-Feature /FeatureName:WirelessNetworking

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 User is offline   Grope For Luna 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 06-April 06

Posted 17 January 2009 - 05:14 PM

I noticed in the package list posted by7bingo7 that some of them have en-US versions as well. Is it necessary to remove both versions of the package? I notice in the Image Manager that the packages/features are duplicated in the language section so every package/feature probably has a en-US counterpart.

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 User is offline   Grope For Luna 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 06-April 06

Posted 17 January 2009 - 05:27 PM

View Postaviv00, on Jan 17 2009, 07:01 PM, said:

DISM.exe /Image:C:\work\wimmount /Enable-Feature /FeatureName:WirelessNetworking

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.

#160 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 18 January 2009 - 07:51 AM

here is my bat files

maybe u remove it by mistake?

use f.bat to see which feather is available

Attached File(s)

  • Attached File  Work.rar (777bytes)
    Number of downloads: 70

This post has been edited by aviv00: 18 January 2009 - 07:52 AM


Share this topic:


  • 10 Pages +
  • « First
  • 6
  • 7
  • 8
  • 9
  • 10
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy