exam questions

Exam MD-101 All Questions

View all questions & answers for the MD-101 exam

Exam MD-101 topic 2 question 33 discussion

Actual exam question from Microsoft's MD-101
Question #: 33
Topic #: 2
[All MD-101 Questions]

HOTSPOT -
Your network contains an Active Directory domain named contoso.com. The domain contains 500 computers that run Windows 8.1. Some of the computers are used by multiple users.
You plan to refresh the operating system of the computers to Windows 10.
You need to retain the personalization settings to applications before you refresh the computers. The solution must minimize network bandwidth and network storage space.
Which command should you run on the computers? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: scanstate.exe -
The ScanState command is used with the User State Migration Tool (USMT) 10.0 to scan the source computer, collect the files and settings, and create a store.
For example, to create a Config.xml file in the current directory, use: scanstate /i:migapp.xml /i:migdocs.xml /genconfig:config.xml /v:13

Box 2: genconfig:file.xml -
Reference:
https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-scanstate-syntax#how-to-use-ui-and-ue

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Piscinita
Highly Voted 5 years, 10 months ago
I would choose "Hardlink"
upvoted 25 times
PESK
5 years, 9 months ago
...and you would be wrong. The /hardlink option can only be used when a location is specified, as in this case, with the /genconfig option.
upvoted 7 times
bobboobsmith
5 years, 6 months ago
But /genconfig CAN'T be used when /nocompress is used as stated in the answer's documentation. Read the documentation: /nocompress Disables compression of data and saves the files to a hidden folder named "File" at StorePath\USMT. Compression is enabled by default. Combining the /nocompress option with the /hardlink option generates a hard-link migration store. You can use the uncompressed store to view what USMT stored, troubleshoot a problem, or run an antivirus utility against the files. You should use this option only in testing environments, because we recommend that you use a compressed store during your actual migration, unless you are combining the /nocompress option with the /hardlink option.
upvoted 5 times
...
Rammonon
4 years, 4 months ago
A: Scanstate.exe /iMigApp.xml A: /Hardlink /nocompress /ui :Contoso\* Scannstate is used with the User State Migration Tool (USMT). It scans a source computer that collects files and settings. The /Hardlink is used when refreshing computers on existing hardware, it increases performance, decreases disk utilization and other resources.When using hardlink you have to select /nocompress. The /ui:Contoso\ is defining a Domain then Username to be entered. Hence you combine /Hardlink /nocompress /ui:Contoso\<Username> or </all>
upvoted 10 times
...
...
Moorebid
4 years, 1 month ago
I agree, hardlink is specifically used in an upgrade scenario and that is what the question is asking about; hardlink is also used with the /nocompress option as well..
upvoted 2 times
...
...
AnoniMouse
Highly Voted 4 years, 1 month ago
I have been doing this for ages. It is SCANSTATE coming from the User State Migration Tool, with the option /HARDLINK to save the files locally on the device and not get wiped during the refresh
upvoted 13 times
RodrigoT
3 years, 3 months ago
You're right, and here is the proof: https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-hard-link-migration-store The first paragraph says everything.
upvoted 6 times
...
...
dlast
Most Recent 2 years, 1 month ago
/Genconfig parameter doens't work together with /ui see https://learn.microsoft.com/en-us/windows/deployment/usmt/usmt-scanstate-syntax#incompatible-command-line-options Should be /hardlink
upvoted 1 times
...
rajpatel007
3 years, 2 months ago
2nd answer is incorrect
upvoted 1 times
...
rajpatel007
3 years, 2 months ago
Using a hard-link migration store saves network bandwidth and minimizes the server use needed to accomplish the migration So Scanstate.exe and /hardlink
upvoted 3 times
...
anzer123
3 years, 9 months ago
https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-scanstate-syntax /hardlink Enables the creation of a hard-link migration store at the specified location. The /nocompress option must be specified with the /hardlink option.
upvoted 1 times
...
BAbdalla
3 years, 9 months ago
If /hardlink /nocompress command is used, where will we specify that we should copy the user's application settings, as requested in the question? As such, I believe the /genconfig:file1.xml option is correct, as this way we specify that we want to copy the users' settings.
upvoted 1 times
...
Perycles
4 years, 1 month ago
hardlync is the answer ! this option is the best the minimize bandwith et storage usage. Settings are "hardlink" marked during the upgrade to Windows 10, and so don't deleted.
upvoted 3 times
...
Malfureeon
4 years, 1 month ago
I dont know if there was a change, but according to the Microsoft document, /genconfig and /nocompress can be used together. I personally believe that the given answers are correct on this question. https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-scanstate-syntax
upvoted 1 times
...
slaoui
4 years, 2 months ago
You cannot use /nocompress with /encrypt or /localonly (https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-scanstate-syntax#incompatible-command-line-options) /genconfig generates the optional Config.xml file, but does not create a migration store (https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-scanstate-syntax#migration-rule-options) Answer is /scanstate and /hardlink
upvoted 6 times
...
Ste
4 years, 2 months ago
/genconfig generates a config file. Therefore doesn't do any migration of data. Further, /genconfig CANNOT be used with /UI. So the given answer is incorrect on 2 counts. I would chose /Hardlink as this can be used with /nocompress. /localonly is to be used when there are removeable drives, which can be discounted as the question doesn't mention these.
upvoted 3 times
...
Tomtom11
4 years, 3 months ago
A hard-link migration store functions as a map that defines how a collection of bits on the hard disk are “wired” into the file system. You use the new USMT hard-link migration store in the PC Refresh scenario only. This is because the hard-link migration store is maintained on the local computer while the old operating system is removed and the new operating system is installed. Using a hard-link migration store saves network bandwidth and minimizes the server use needed to accomplish the migration.
upvoted 4 times
...
fdiskolo
4 years, 4 months ago
The question is written in the worst possible way. In fact, if you test all possible cases by using the four options (hardlink, localonly, etc) you'll find that ALL of these options will cause a scanstate syntax error. Genconfig options can't be used together with nocompress and/or ui. On the other side, hardlink and/or encrypt require a store location, which is not provided in the command sample. So...It's technically impossible to properly answer to this question.
upvoted 4 times
bastinez
4 years, 4 months ago
This is correct. All answers available are wrong. I'm inclined to think that /HardLink is the answer they are looking for. Reviewing Hard-Link stores at the following address indicates that they are ideal for OS Refresh scenarios. https://docs.microsoft.com/en-us/windows/deployment/usmt/migration-store-types-overview The other issue with /genconfig is that it does not preserve personalization settings; It creates a file that can be used in scanstate.exe with the /config switch. There's no real mention of a next step in the question implying to me that this is the final step in the objective. This is getting into the speculative but for what is happening in this question, /Hard-Link makes a lot more sense than /genconfig.
upvoted 2 times
...
...
hawkens
4 years, 4 months ago
/encrypt is for encrypting the migration store /genconfig Generates the optional Config.xml file, but does not create a migration store. To ensure that this file contains every component, application and setting that can be migrated, you should create this file on a source computer that contains all the components, applications and settings that will be present on the destination computers. /Localonly is used in case of removeable drives /Hardlink seems to be the best answer (local storage on the samen machine). The question states the there should be used no network storage
upvoted 1 times
...
cubalondon
4 years, 4 months ago
This is the more logical explanation I have found about this scenario, and everything points to Hardlink. https://docs.microsoft.com/en-us/windows/deployment/deploy-windows-mdt/refresh-a-windows-7-computer-with-windows-10
upvoted 1 times
...
hawkens
4 years, 6 months ago
It's hardlink! Nail his answer is correct, follow the link provided https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-hard-link-migration-store#bkmk-when
upvoted 3 times
Balena
4 years, 4 months ago
It's hardlink! Agreed. Not only it does preserve bandwidth by not using it at all, but also storage space because hardlink only records pointers on the local disk, to where the "to migrated" objects reside. So very little space and very fast.
upvoted 1 times
...
...
Nail
4 years, 8 months ago
scanstate.exe, hardlink. https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-hard-link-migration-store A hard-link migration store enables you to perform an in-place migration where all user state is maintained on the computer while the old operating system is removed and the new operating system is installed; this is why it is best suited for the computer-refresh scenario. Use of a hard-link migration store for a computer-refresh scenario drastically improves migration performance and significantly reduces hard-disk utilization, reduces deployment costs and enables entirely new migration scenarios.
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...