Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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 Answer 1

up vote 2 down vote accepted

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

share|improve this answer
    
I second that, it should work. You can edit the registry of wim files. –  MDT Guy Apr 30 '13 at 18:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.