Page 1 of 1

Browsing Active Directory policy folders

Posted: 07 Mar 2019 18:14
by insignis
I've had this issue for a few versions now (just upgraded from 17 to 19) and it's just never bothered me enough to report, but...

When working on files related to group policy, I'm in a folder like
\\domainname\SYSVOL\domainname\Policies\{GUID}\Machine\Scripts\Startup

When I browse there from the root, everything works fine. When I'm trying to restore a remembered session to a location like this, or if I paste the location in the address bar, I get an error like:

Not Found: Location Or Item
Could not find:
C:\Windows\SYSVOL_DFSR\domain\Policies\{[i]GUID[/i]}\Machine\Scripts\Startup


The problem looks to be that under the SYSVOL share, the domainname is actually an NTFS junction (at least, DIR at command prompt says <JUNCTION> instead of <DIR>). Locally, on the domain controller, C:\Windows\SYSVOL_DFSR\sysvol\domainname does in fact point to C:\Windows\SYSVOL_DFSR\domain\, but that's hardly helpful when accessing it remotely.

Is there a workaround, or is this a bug?

Re: Browsing Active Directory policy folders

Posted: 07 Mar 2019 18:20
by admin
I assume this is ticked?

Configuration | General | Controls and More | Miscellaneous | Resolve junctions

Re: Browsing Active Directory policy folders

Posted: 07 Mar 2019 20:05
by insignis
Yes, it is.

Re: Browsing Active Directory policy folders

Posted: 08 Mar 2019 11:57
by admin
Tricky!

If you run this script through the address bar (adjust the path to your actual path), what do you get?

Code: Select all

exist "\\domainname\SYSVOL\domainname\Policies\{GUID}\Machine\Scripts\Startup";