Solved

Remove a user account from WIM

Posted on 2011-09-02
5
2,812 Views
Last Modified: 2012-05-12
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
Comment
Question by:adml_shake
5 Comments
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 36476704
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
 
LVL 41

Accepted Solution

by:
graye earned 50 total points
ID: 36481446
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
 
LVL 59

Expert Comment

by:LeeTutor
ID: 36814501
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
 
LVL 1

Author Comment

by:adml_shake
ID: 36814502
The comment by the second poster worked out to be the best solution for me.  Need to award the points
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
laptop problem 21 93
Intel wireless adapter shuts down when logging off Windows 7 13 55
Update on Win 7 30 69
Disabling windows sounds in Windows 7 registry setting 5 33
Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now