diff --git a/Servers/Windows Server/Group Policy Objects/Desktop Shortcut to UNC Path.md b/Servers/Windows Server/Group Policy Objects/Desktop Shortcut to UNC Path.md new file mode 100644 index 0000000..c4b9632 --- /dev/null +++ b/Servers/Windows Server/Group Policy Objects/Desktop Shortcut to UNC Path.md @@ -0,0 +1,27 @@ +**Purpose**: +To deploy a shortcut to the desktop pointing to a network share's root path. (e.g. "\\STORAGE.BUNNY-LAB.IO"). There is a quirk with how Windows handles network shares and shortcuts and doesn't like when you point the shortcut to a root UNC path. + +### Group Policy Location +``` mermaid +graph LR + A[Create Group Policy] --> B[User Configuration] + B --> C[Preferences] + C --> D[Windows Settings] + D --> E[Shortcuts] +``` + +### Group Policy Settings +- **Action**: `Update` +- **Name**: `` +- **Target Type**: `File System Object` +- **Location**: `Desktop` +- **Target Path**: `C:\windows\explorer.exe` +- **Arguments**: `\\storage.bunny-lab.io` +- **Start In**: `` +- **Shortcut Key**: `` +- **Run**: `Normal Window` +- **Icon File Path**: `%SystemRoot%\System32\SHELL32.dll` +- **Icon Index**: `9` + +### Additional Notes +Navigate to the "**Common**" tab in the properties of the shortcut, and check the "**Run in logged-on user's security context (user policy option)**". \ No newline at end of file