How do I get the domain policy script to run every time

su su 0 Reputation points
2023-03-22T06:26:26.89+00:00

The login script is set in the domain environment group policy. The terminal is found to obtain the relevant policy, but not every terminal runs when logging in. How can I force the terminal to log in?

Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 14,180 Reputation points MVP
    2023-03-24T20:30:57.7066667+00:00

    if you are sure about taking policy

    • and you can check with gpresult /r

    Verify the login script permissions: Ensure that the login script file has the appropriate permissions for the users who need to execute it. The users should have at least "Read" and "Execute" permissions on the script file.

    Check the Event Viewer for Group Policy errors: On the terminal, open the Event Viewer (eventvwr.msc) and navigate to "Windows Logs" > "System". Look for any errors or warnings related to Group Policy processing. These logs can provide insights into any issues that may be preventing the login script from executing.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.