PrepAway - Latest Free Exam Questions & Answers

You need to ensure that each user has a separate folder in Sync1

Your network contains an Active Directory forest named contoso.com. The forest contains four
domains. All servers run Windows Server 2012 R2.
Each domain has a user named User1.
You have a file server named Server1 that is used to synchronize user folders by using the Work
Folders role service.
Server1 has a work folder named Sync1.
You need to ensure that each user has a separate folder in Sync1.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
From Windows Explorer, modify the Sharing properties of Sync1.

B.
Run the Set-SyncServerSetting cmdlet.

C.
From File and Storage Services in Server Manager, modify the properties of Sync1.

D.
Run the Set-SyncShare cmdlet.

Explanation:
The Set-SyncShare cmdlet modifies the settings for a sync share.
Example: Modify a sync share to add a user group
This example modifies settings on the share named Share01, and enables the user group named
ContosoEngGroup to access the share.
The first command uses the Get-SyncShare cmdlet to retrieve the sync share for Share01, and
assigns the results to the variable $Current.
The second command uses the Set-SyncShare cmdlet to modify the sync share and add the current
user and the ContosoEngGroup to the list of users allowed to access the share.
PS C:\> $Current = Get-SyncShare Share01
PS C:\> Set-SyncShare Share01 -User $Current.user,”ContosoEngGroup”
PS C:\> Get-SyncShare Share01 // See %username below% !!
ConflictResolutionPolicy : KeepLatest
Description :
DevicePolicy : Share01
Enabled : True
ExclusiveAccessToUser : False
Name : Share01
Path : K:\Share01
StagingFolder : K:\EcsStagingArea\Share01
StagingQuota : 1099511627776
StagingQuotaPerUser : 10737418240
Type : User Data
User : {HRGroup, EngGroup}
UserFolderName : %username% // <– This line!!
PSComputerName

Set-SyncShare

http:HYPERLINK “http://technet.microsoft.com/enUS/library/dn296649.aspx#_blank”//technet.microsoft.com/en-US/library/dn296649.aspx

13 Comments on “You need to ensure that each user has a separate folder in Sync1

  1. MancaMulas says:

    I’m picking up my own post on 412 v.2, to let you know that none of this answers are truly correct:

    “MancaMulas says:
    February 13, 2016 at 3:51 pm
    A and B can be cut off, they have nothing to do with the question.
    D also doesn’t work since the parameter -UserFolderName, like some users are saying, doesn’t exist on the set-syncshare only on new-syncshare command, so it cannot work.
    The only one that makes some sense here is answer C, although in my opinion, and from what i’ve tested in my lab, i don’t think it’s totally correct, because you can’t change the folder naming format in the properties of a sync share.
    So i agree with @JohnnyDivin’Duck, none of this answer make real sense.
    Either this is crappy question or the answers in the real exam aren’t the onbes shown here.”

    Take a look at other opinions if you don’t agree with me: http://www.aiotestking.com/microsoft/you-need-to-ensure-that-each-user-has-a-separate-folder-in-sync1/




    0



    0
    1. MancaMulas says:

      Also to add proof to my statement:

      New-SyncShare -UserFolderName

      -UserFolderName
      Specifies a folder-naming format for the user folder on the sync share. To maintain compatibility with existing user folders that use aliases for their names, specify [user], which is required, or omit this parameter. To eliminate conflicts between identical user aliases in different domains, specify [user]@[domain]. You can also specify a relative path under the sync share root; for example, UserData\[user].
      Sync share creates each user folder during the first sync operation, if it doesn’t already exist. If the user folder exists, confirm that the user has Read/Write or Full Control permissions and is the owner of their folder, unless the folder is owned by an Administrators group.




      0



      0
    1. Ricky says:

      Thanks for sharing this with us. I’ve read the comments for the same question from multiple versions. The majority voted for C, which I was going for as well. But your newly found knowledge has convinced me to choose D.

      Here’s what I think. Both C and D gained the most votes as the correct answer. So going for D could be right.

      More importantly, -UserFolderName works with New-SyncShare. I would think that it should work with Set-SyncShare as well. Even though MS hasn’t stated this specifically, but it would make sense. My point is, the 2 commands are very similar and should share similar functions, so it’s not hard to believe that this DOES actually work and that MS just didn’t update the Technet articles etc.




      0



      0
  2. Muki says:

    Nah Set-Syncshare won’t take the parameter “userfoldername”.
    I’ve just tested it in my Lab and confirmed this.

    “Set-SyncShare: A parameter cannot be found that matches parameter name ‘userfoldername’.”

    It works fine with the New-SyncShare command.

    The commands shown in the answer are just for modifying settings on the share named Share01, and enables the user group named ContosoEngGroup to access the share.

    https://technet.microsoft.com/en-us/library/dn296649(v=wps.630).aspx

    It’s funny that it shows as if the commands would actually work and configure the user folder name on the share.
    It’s very deceptive whether it was done deliberately or not.
    Same goes for testing king’s screenshot.




    0



    0
      1. Muki says:

        Have you tried this in Lab yourself?
        Like I said, Set-Syncshare won’t take the parameter “userfoldername”.

        In the previous comment, I was pointing out that the explanation in the provided answer and testing king’s screenshot were not genuine, hence being deceptive.




        0



        0

Leave a Reply