Browsing Active Directory policy folders

Things you’d like to miss in the future...
Post Reply
insignis
Posts: 2
Joined: 07 Mar 2019 17:58

Browsing Active Directory policy folders

Post 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?

admin
Site Admin
Posts: 60594
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Browsing Active Directory policy folders

Post by admin »

I assume this is ticked?

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

insignis
Posts: 2
Joined: 07 Mar 2019 17:58

Re: Browsing Active Directory policy folders

Post by insignis »

Yes, it is.

admin
Site Admin
Posts: 60594
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Browsing Active Directory policy folders

Post 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";

Post Reply