Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3791
  • Last Modified:

Remove a user account from WIM

When making a image of one of our new desktops getting win7 x64, to put on our WDS server one of the admin accounts didn't get removed.  Is there a way I can mount this image and remove the account with out having to re-sysprep the whole thing?
0
adml_shake
Asked:
adml_shake
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
from a command prompt
DISM.exe /Mount-Wim /WimFile:C:\test\images\myimage.wim /index:1    /MountDir:C:\test\offline
c:\test must exist
goto the directory and to the users folder and remove what you want
dism.exe /commit-wim
dism.exe /unmount-wim
0
 
grayeCommented:
I presume you're talking about the profile for admin account, right?   If so, then ve3ofa's answer is correct

If, on the other hand, you're talking about a local account that was created on that PC, then no.... you'll have to "go live", fix it, and re-image.
0
 
LeeTutorretiredCommented:
I've requested that this question be deleted for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 
adml_shakeAuthor Commented:
The comment by the second poster worked out to be the best solution for me.  Need to award the points
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now