Please Read: Significant Update Planned, Migrating Forum Software This Month

See more
See less

Netlogon folder replication, and default permissions

  • Filter
  • Time
  • Show
Clear All
new posts

  • Netlogon folder replication, and default permissions

    Ok I am thinking of putting my logon script and a file that is referenced in the script in the netlogon shared folder. The script references a path %SYSVOL%\\scripts. Will these files be replicated accross the domain? Here is the script for reference. Thanks so much for everyones help and input.

    Set WshShell = CreateObject("WScript.Shell")
    set objFSO = CreateObject("Scripting.FileSystemObject")

    strDesktop = WshShell.SpecialFolders("Desktop")

    IF Not objFSO.FileExists(strDesktop & "\DesktopIconName.lnk") THEN
    set oShellLink = WshShell.CreateShortcut(strDesktop & "\DesktopIconName.lnk")
    oShellLink.TargetPath = "http://WebSiteAddress"
    oShellLink.WindowStyle = 1
    oShellLink.IconLocation = "%SYSVOL%\\scripts\dqrc.ic o"
    oShellLink.Description = "DesktopIconDescription"
    oShellLink.WorkingDirectory = "http://WebSiteAddress"
    set oShellLink = NOTHING
    END IF

    Set WshShell = NOTHING
    Set objFSO = NOTHING
    Colorado Marijuana Dispensary
    Last edited by meterman; 16th August 2011, 12:18.

  • #2
    Re: Netlogon folder replication, and default permissions

    The netlogon folder is where your scripts are meant to be anyway. At least thats what i think.

    Yes it i also replicated between DC's.