exam questions

Exam MD-100 All Questions

View all questions & answers for the MD-100 exam

Exam MD-100 topic 3 question 42 discussion

Actual exam question from Microsoft's MD-100
Question #: 42
Topic #: 3
[All MD-100 Questions]

SIMULATION -
Please wait while the virtual machine loads. Once loaded, you may proceed to the lab section. This may take a few minutes, and the wait time will not be deducted from your overall test time.
When the Next button is available, click it to access the lab section. In this section, you will perform a set of tasks in a live environment. While most functionality will be available to you as it would be in a live environment, some functionality (e.g., copy and paste, ability to navigate to external websites) will not be possible by design.
Scoring is based on the outcome of performing the tasks stated in the lab. In other words, it doesn't matter how you accomplish the task, if you successfully perform it, you will earn credit for that task.
Labs are not timed separately, and this exam may more than one lab that you must complete. You can use as much time as you would like to complete each lab.
But, you should manage your time appropriately to ensure that you are able to complete the lab(s) and all other sections of the exam in the time provided.
Please note that once you submit your work by clicking the Next button within a lab, you will NOT be able to return to the lab.

Username and password -

Use the following login credentials as needed:
To enter your password, place your cursor in the Enter password box and click on the password below.

Username: Contoso/Administrator -
Password: Passw0rd!
The following information is for technical support purposes only:

Lab Instance: 11145882 -


You need to create an HTML report that shows which policies and policy settings are applied to CONTOSO\User1 on Client1. You must save the output to a file named Report.html in a folder named Folder1 on the C drive of Client1.
To complete this task, sign in to the required computer or computers.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
On Client1, log in as administrator.
Open command prompt and type:
gpresult /h CONTOSO\User1\C:\Folder1\Report.html
Reference:
https://www.google.co.za/search?biw=1366&bih=614&sxsrf=ALeKk01XD_luAn4X-bIMllUjpYBm0i7btQ%
3A1592996005097&ei=pTDzXqLCBaif1fAP1NODqAY&q=gpresult+%2Fh+report.html+location&oq=gpresult+html+report
+&gs_lcp=CgZwc3ktYWIQARgEMgIIADICCAAyBggAEBYQHjIGCAAQFhAeMgYIABAWEB4yBggAEBYQHjIGCAAQFhAeMgYIABAWEB4yCAgAEBYQChAeMgYI
ABAWEB46BAgAEEdQyOUnWMjlJ2CRhihoAHACeACAAZIDiAGSA5IBAzQtMZgBAKABAaoBB2d3cy13aXo&sclient=psy-ab

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
Maikeru_010
Highly Voted 4 years, 6 months ago
Given the fact you log in as administrator and need the gpresult of user 1 it should be: presult /h c:\folder1\report.html /user:CONTOSO\User1
upvoted 19 times
ANDREVOX
4 years, 5 months ago
Correct, this is the syntax format: gpresult /h c:\folder1\report.html /user:CONTOSO\User1
upvoted 17 times
RodrigoT
3 years, 5 months ago
Only if folder1 already exists. Otherwise you will get the error: "The system cannot find the path specified". In that case you would have to create the folder1 first. You can also navigate to the folder using cd and then run a simpler command without the path. Tested myself.
upvoted 1 times
...
...
...
Wilf32
Highly Voted 4 years, 3 months ago
I personally used this as it worked for me. gpresult /user user1 /H c:\folder1\report1.html
upvoted 11 times
...
pakenna08
Most Recent 1 year, 12 months ago
gpresult /h C:\Folder1\Report.html /user:user1 This worked for me?
upvoted 1 times
...
williamzwwu
3 years, 7 months ago
gpresult /h c:\folder1\report.html /user CONTOSO\User1
upvoted 5 times
RodrigoT
3 years, 5 months ago
This syntax also works. Tested.
upvoted 2 times
...
...
BAbdalla
3 years, 10 months ago
It's possible too with this command: GPRESULT /USER Contoso\User1 /H C:\Folder1\Report.html I tested this in my lab and the same result is captured.
upvoted 6 times
...
NMKDCR
4 years, 1 month ago
My PC does not work the way it should so it is a mess here on my PC lol I would go into DC and reset password of User1 and then do the job using User1 on Client 1 because my PC does not function the way it should and I cannot confirm anything unfortunately.
upvoted 1 times
...
AVP_Riga
4 years, 3 months ago
Just login as a User1 and write gpresult /h Report.html and move the file.
upvoted 2 times
AVP_Riga
4 years, 3 months ago
Or just type gpresult in cmd and you will see help and examples...
upvoted 1 times
...
markservices
4 years, 2 months ago
Yea you can do that if they provide the user credentials... So i would suggest, learn the IT way ;-)
upvoted 3 times
AVP_Riga
4 years, 2 months ago
move Report.html c:\folder1\
upvoted 1 times
...
...
...
waldiz78
4 years, 4 months ago
This syntax worked for me as well on powershell: gpresult /h c:\folder1\report.html /user contoso\user1 /H filename c:\folder1\report.html /USER domain\user /user contoso\user1
upvoted 1 times
...
thecomodor
4 years, 6 months ago
the /h switch can not be used with the user parameter so we should sign in to client 1 and run gpresult /h C:\folder1\Report.html https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/gpresult
upvoted 4 times
...
jsblah
4 years, 7 months ago
If you go into Powershell or cmd and type gpresult /? and spend just a few minutes reading the description of the syntax, it is not difficult to decipher that the format for this command is gpresult /user username /h path\filename.html I don't know what the person was smoking who wrote the answer, but you don't need a random website article to answer this question! (I do need to memorize the command format, however ;-)
upvoted 4 times
thecomodor
4 years, 6 months ago
we shouldn't use the /user switch
upvoted 2 times
ercluff
3 years, 11 months ago
JSBLAH's comment is correct. Don't confuse the /U switch with the /USER switch. The /U switch is used to identify the user account under which this command is to run, not the account for which it is reporting. It cannot be paired with the /H. But the /USER switch is to indicate the account for which the report is to provide information and it can be coupled with the /H.
upvoted 3 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 ...