Friday, August 3, 2018

How to Configure Folder Redirection in Windows Server 2016



How to Configure Folder Redirection in Windows Server 2016
What is Folder Redirection? 
This article shows you how simply you can redirect folder in Windows Server with group policy. The folder redirection is the way to keep a profile folders to a network location or other location in the local computer. Typically user profiles and settings are stored in local profile. By redirecting folders, you can  access to data regardless of which computers you are logs in.
In addition to the immediate benefit of having that data on a file server that is much easier to keep backed up, the user also gets the benefit of being able to go to multiple computers in your organization and still have access to their data. Using the default Windows settings and the default share settings on your file server, these redirection will be even made available offline automatically for your users.
The Policy-Based QoS node
This quality of service (QoS) node, known as the Policy-Based QoS node, defines policies that manage network traffic. For example, you might want to ensure that users in the Finance department have priority to run a critical network application during the end-of-year financial reporting period. You can do that by using the Policy-Based QoS node.
In the User Configuration node only, the Windows Settings folder contains the additional Folder Redirection node. With folder redirection, you can redirect user data and settings folders such as AppData, Desktop, Documents, Pictures, Music, and Favorites from their default user profile location to an alternate location on the network, where you can manage them centrally.
Infrastructure Requirement :
·         1 DC SERVER (EXAMPLE-DC01) 
·         Client PC running Windows 10 (CLIENT-10)
Lets get started.
01 – Create a Shared Folder
1 – On EXAMPLE-DC01, on the taskbar, click the File Explorer icon, In the navigation pane, click This PC. 

2 – In the details pane, double-click Local Disk (C:), and then on the Home tab, click New folder.
3 – In the Name text box, type Redir, and then press Enter.
2.png
3.png
4 – Right-click the Redir folder, click Share with, and then click Specific people.
4.png
5 – In the File Sharing dialog box, click the drop-down arrow, select Everyone, and then click Add.
6.png
6 – For the Everyone group, click the Permission Level drop-down arrow, and then click Read/Write.
5.png
7 – Click Share, and then click Done.
7.pngClose the Local Disk (C:) window
02 – Create a GPO to redirect the Documents folder
1 –  In Server Manager, click Tools and then click Group Policy Management.

19
2 – In the navigation pane, right-click the Windows.ae domain, and then click Create a GPO in this domain and Link it here.
8.png
3 – In the New GPO dialog box, in the Name text box, type Folder Redirection, and then click OK.
9.png
4 – In the navigation pane, right-click Folder Redirection, and then click Edit.
10.png
5 – In the Group Policy Management Editor window, under User Configuration, expand Policies,expand Windows Settings, and then expand Folder Redirection.
11.png
6 – Right-click Documents, and then click Properties.
12.png
7 – In the Document Properties dialog box, on the Target tab, click the Setting drop-down arrow, and then select Basic-Redirect everyone’s folder to the same location.
13.png
8 – Ensure that the Target folder location box is set to Create a folder for each user under the root path.
14.png
9 – In the Root Path text box, type \\EXAMPLE-DC01\Redir, and then click OK.
15.png
10 – In the Warning dialog box, click Yes.
16.pngClose the Group Policy Management Editor
03 – Test Folder Redirection
1 –  Sign in to CLIENT-10 as Windows\Administrator with the password asd@123. 

32
2 – Right-click Start, and then click Command Prompt.
5
3 – In the Command Prompt window, type the following command, and then press Enter:
Gpupdate /force
17.png
4 – In the command prompt window, when prompted, type the following, and then press Enter:
Y
18.png
5 – Sign in to CLIENT-10 as Windows\Administrator with the password asd@123.
32
6 – On the taskbar, click the File Explorer icon. 

19.png
7 – In the navigation pane, in the Quick Access section, right-click Documents, and then click Properties.
20.png
8 – Verify that on the General tab, the Location field has a value of \\EXAMPLE-DC01\redir\Administrator.
21.pngIf this is not successful, repeat steps 2 through 7, and then check the redirection once again.
9 – Sign out of CLIENT-10.


Friday, July 13, 2018

USB thumb drive issue can be fix

Use following command in windows command prompt.

DISKPART> list

Microsoft DiskPart version 10.0.16299.15

DISK        - Display a list of disks. For example, LIST DISK.
PARTITION   - Display a list of partitions on the selected disk.
              For example, LIST PARTITION.
VOLUME      - Display a list of volumes. For example, LIST VOLUME.
VDISK       - Displays a list of virtual disks.

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          465 GB      0 B
  Disk 1    Online           30 GB    29 GB

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> clean

DiskPart succeeded in cleaning the disk.

DISKPART> create partition primary

DiskPart succeeded in creating the specified partition.

DISKPART> format fs=fat32 quick

  100 percent completed

DiskPart successfully formatted the volume.

DISKPART>