Jump to content

Use New Win8 Versions of Tools in W7T?


bphlpt

Recommended Posts

Hey Legolash2o,

Have you had a chance to try the new Win8 versions of the tools such as DISM on Win7? I saw a write up about some of the new features here - http://www.msfn.org/...025#entry991025. An especially intriguing new feature to me is the /Remove Parameter in the /Disable-Feature command.

DISM includes a new option in Windows 8. The /Remove Parameter in the /Disable-Feature command.

The syntax is the following:

DISM.exe /Online /Disable-Feature /Featurename:<name> /Remove

If you use the Disable-Feature in Vista and Windows 7, the files from the disabled feature are still stored in the WinSxS folder and you get NO additional free HDD space when disabling a feature.

The /Remove-Flag changes this in Windows 8. NOW ALL THE FILES ARE REMOVED FROM THE WINSXS Folder!

Example:

Run DISM.exe /Online /English /Get-Features /Format:Table to see which featues you have and you see something like this:

----------------------------------------------------- | -----------------------------

Feature Name | State

----------------------------------------------------- | -----------------------------

SimpleTCP | Enabled

If you now run DISM.exe /Online /Disable-Feature /Featurename:SimpleTCP /Remove the SimpleTCP feature is disabled and the files associated with the SimpleTCP Feature are removed. If you run /Get-Features again you see this:

----------------------------------------------------- | -----------------------------

Feature Name | State

----------------------------------------------------- | -----------------------------

SimpleTCP | Disabled with Payload Removed

Payload Removed = DLLs removed from WinSxS. if you now want to enable the features, the "Turn Windows Features on or off" asks to download the missing files. So this is the safe way to disable features and getting more free HDD space.

Link to comment
Share on other sites

  • 2 weeks later...

I'm way beyond my comfort zone here, but does this mean the following would work? Install the OS in VM, run DISM with /Remove, sysprep the image, capture the install.wim and then use that to make an install disk? And will this work on Win7? Just a wild thought.

Cheers and Regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...