Solved

Remove a user account from WIM

Posted on 2011-09-02
5
2,743 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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 …
One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

708 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

17 Experts available now in Live!

Get 1:1 Help Now