Toggle navigation
TechnoWikis.com
Email or Username
Password
Remember
Login
Register
|
I forgot my password
All Activity
Questions
Hot!
Pending
Ask a Question
Privacy Policy
Contact
Configuring images in Windows Server 2012 - Part 2
Home
Tutorials
Microsoft
Windows Server
Configuring images in Windows Server 2012 - Part 2
(adsbygoogle = window.adsbygoogle || []).push({});
+4
votes
192
views
Configuring images in Windows Server 2012 - Part 2
asked
Jun 23, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
reopened
Jun 23, 2019
|
192
views
answer
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Add answer
Cancel
1
Answer
+5
votes
Best answer
Previously in the tutorial of Part 1 we saw the concept of the images, why it should be used and we started the configuration of an image loading the corresponding drivers.
Add packages and updates
As we saw previously we could add drivers with the tool
Dism.exe
through the command line, now using this same tool we will add a package, this can contain updates in files with extension.
cab
o.
msu
, for example:
Dism.exe / image: c: \ mount / Add-Package / PackagePath: "c: \ updates \ Update for Windows
Server 2012 (KB2756872) ".
We can use the option
/ Get-Package
, to know the packages that we have installed.
Add Features and Applications
We can list the features that we have available in our image with the option
/ Get-Features
, using it in the following way:
Dism.exe / image: c: \ mount / Get-Features
After we have them in knowledge we can activate them to convenience using
/ Enable-Feature
e as we see in the following example:
Dism.exe / image: c: \ mount / Enable-Feature / all / FeatureName: NetFx3ServerFeatures
We can also add application packages that are in format.
appx
and are used both in Windows 8 and in
Windows Server 2012
, to achieve this we can use the following commands:
/ Add-ProvisionedAppxPack-age
/ Get-ProvisionedAppxPackage
/ Remove-ProvisionedAppxPackage
Make Commit of the image
Once we finish configuring our applications, set the permissions and user roles, and have left the operating system updated to date, comes the next step that is to commit the image, that is, close the changes to be able to use it in a real installation, for this we have available the /
Commit
command that as we have been doing we will execute it on the command line with the
Dism.exe
tool.
It is important to mention that we can do the reverse of the changes and leave the original image if instead of doing /
Commit
we use instead /
discard
.
Here is an example of what we have been trying:
Dism.exe / Unmount-Wim / MountDir: c: \ mount / commit
Once the commit of the changes is done, we generate the file.
wim
with which we can deploy our image on the corresponding servers.
Construction and capture (Build and capture)
This consists of
deploying
the operating system, provisioning it with all the updates, applications, drivers and after it is stable to capture it, so that we can have it available as an image, we must keep in mind that to do this we must make the image as much as possible. It is possible to eliminate the specific configurations using the
Sysprep.exe
utility, thus making the system equal to the time of the first startup after installation.
As we have seen these tools are available to help us save valuable time when installing our servers, as system administrators we must be clear that it is very important to keep the updated images, both in update packages, as drivers or drivers , so that the post-installation process takes the least amount of time possible.
With this we conclude the tutorial part 2 and we must already be able to generate our images and save time and costs when installing
Windows Server 2012
servers
.
answered
Jun 23, 2019
by
stackoverflow
(
3.5m
points)
edited
Jun 23, 2019
ask related question
comment
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Related questions
+3
votes
1
answer
Configuring images in Windows Server 2012 - Part 1
asked
Jun 23, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
|
214
views
+4
votes
1
answer
Activate WiFi in Windows Server 2019, 2016, 2012
asked
Jun 15, 2020
in
Windows Server
by
backtothefuture
(
552k
points)
|
798
views
+5
votes
1
answer
Handling user accounts in Windows Server 2012
asked
Jun 23, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
|
201
views
+4
votes
1
answer
Windows Server 2012 - Account Lock
asked
Jun 23, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
|
219
views
+4
votes
1
answer
Windows Server 2012 - Delegation of Zones
asked
Jun 23, 2019
in
Windows Server
by
backtothefuture
(
552k
points)
|
211
views
Sponsored articles cost $40 per post. You can contact us via
Feedback
All categories
Tutorials
7.5k
Microsoft
1.9k
Windows 10
1.1k
Office
365
Windows Server
92
Windows 7 / Vista / XP
8
Windows 8
4
Exchange
4
WindowsServer
45
Windows11
248
Windows10
35
Android
1.4k
Security
120
Linux / Unix
543
Internet
757
Virtualization
104
Apple
611
Networks
64
Other Devices
321
Other Applications
184
Hardware
19
Development
53
Digital Marketing
47
Databases
14
Graphic Design
30
Guides
794
GraphicDesign
54
Networking
4
PlayStation
186
Gaming
55
Linux/Unix
85
Manzana
33
Otherdevices
38
Otherapps
49
Digitalmarketing
39
Safety
1
Developing
2
Help
685
Social Networks
34
Android Tutorial
549
iPhone Tutorial
267
News
17
Social
6
Phone
11
Telephone
9
Applications
167
Smartphones
3
Cell Phones
11
Applications
25
Travels
6
Photo
21
Education
18
Games
25
Internet
14
Music
8
Technique
10
Video
6
Windows
5
Apple
2
Cell Phones
3
TikTok
216
Trips
2
House
1
Operating System
5
Tips & Tricks
892
Solutions
6
Tutorials
3
FAQ
1
Applications
5
Cell Phones
2
Tutorials
4
Computers
6
Tutoriales
2
8
Technology
2
In Computers
1
In Applications
2
Tutorials Tutorials
9
Applications Applications
25
Aplicaciones Applications
4
Devices Devices
5
Tutoriales Tutorials
1
Tutorials u00a0 Tutorials
2
Applications u00a0 Applications
2
Devices u00a0 Devices
1
OS OS
1
Etc Etc
2
Most popular questions within the last 30 days
Please leave a comment about whether the solution works or not (with device model)
[X]Close
10,659
questions
10,791
answers
510
comments
3
users