1

I have WIM files in Windows Deployment Services with various images for computers. Unfortunately, I'm not using MDT or system center or anything automated to create these images - just installed on a computer, customized, syspreped and captured an image. One day I'll improve that process, but not today.

Using DISM I can add drivers and files and such. But what I really need to one of them is remove a windows service that is causing problems. I'd love to be able to do it without going through sysprepping and recapturing the image.

On a live windows install, I'd just run "sc delete servicename". Is there way I can do the equivalent on a mounted WIM image?

Grant
  • 17,671
  • 14
  • 69
  • 101
  • dism supports removing roles i think, its been awhile since I've used dism. If not you can mount the wim then regedit the service entry. – tony roth Apr 25 '13 at 20:16

1 Answers1

2

I'd mount the wim file via dism then use regedit to load the system key then remove the service.

tony roth
  • 3,844
  • 17
  • 14