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 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,448 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,896 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,504 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 13,735 Reputation points
    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.