Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2012 (Access denied)

Sambhaji Khairnar 0 Reputation points
2024-04-30T04:38:39.93+00:00

Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2019 (Access denied) after in-place upgrade the windows server from 2012 R2 to 2016 then 2019

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,498 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,259 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,974 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,403 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Umar 160 Reputation points
    2024-04-30T05:30:17.7633333+00:00

    It seems like you're experiencing access denied issues after an in-place upgrade of your Windows Server from 2012 R2 to 2016, then to 2019. This could be due to changes in permissions or group policies during the upgrade process. Have you checked the permissions on the Scripts Folder in Sysvol to ensure they are configured correctly?

    0 comments No comments

  2. Daisy Zhou 19,031 Reputation points Microsoft Vendor
    2024-05-01T01:29:17.9733333+00:00

    Hello Sambhaji Khairnar,

    Thank you for posting in Q&A forum.

    1.Is there only one Domain Controller in the domain? If so, you can compare the default permissions on SYSVOL folder and scripts folder.

    Here are the default permissions on SYSVOL folder.
    User's image

    Here are the default permissions on scripts folder.

    User's image

    2.If you have more than one Domain Controller, you can check if you have the same problem on other Domain Controllers. If there is no problem on other DCs, it may be caused by AD replication or/and SYSVOL replication.

    3.Please check AD replication on PDC by running the commands below. If the result of these commands is OK with no error message, it means AD replication works fine.

    repadmin /showrepl >C:\rep1.txt

    repadmin /replsum >C:\rep2.txt

    repadmin /showrepl * /csv >c:\repsum.csv

    4.If AD replication is OK, then please check SYSVOL replication status.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.