Announcement

Collapse
No announcement yet.

Netlogon folder replication, and default permissions

Collapse
X
  • 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%\huttoenterprises.com\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%\huttoenterprises.com\scripts\dqrc.ic o"
    oShellLink.Description = "DesktopIconDescription"
    oShellLink.WorkingDirectory = "http://WebSiteAddress"
    oShellLink.Save
    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.

    Comment

    Working...
    X