can I use %logonserver% in UNC?

Home Forums Scripting General Scripting can I use %logonserver% in UNC?

This topic contains 3 replies, has 2 voices, and was last updated by Avatar Anonymous 2 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Avatar
    mla
    Participant
    #166560

    Hi,
    I have a GPO (Enterprise Mode for IE11) that uses pointing to xml file. So, in GPO settings I have to provide the path to XML.
    it works fine with UNC path. The file placed on one of DCs
    \server_namesysvolsysvoldomainscripts

    The question: can I replace server_name to %logonserver%?
    Thanks.

    Avatar
    Anonymous
    #371952

    You may be able to try that environment variable, but the better solution would be to use your domain name instead of the server name (\my_domainsysvol…). That way, whichever DC answers, assuming you have no faults with DC replication, the sysvol share will be the same.

    Avatar
    mla
    Participant
    #309876

    Thanks for suggesting the right alternative… will try it Monday…
    I think there should be an option “Mark as an answer” on the Petri Forums like MS.
    May the owner has a reason why it is not here… But definitely I would like to mark right and good suggestions…

    Avatar
    Anonymous
    #371953

    Let’s hope my ‘idea’ actually does the trick.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.