.. /Gpscript.exe
Used by group policy to process scripts
Paths:
- C:\Windows\System32\gpscript.exe
- C:\Windows\SysWOW64\gpscript.exe
Execute
-
Executes logon scripts configured in Group Policy.
Gpscript /logon
- Use case
- Add local group policy logon script to execute file and hide from defensive counter measures
- Privileges required
- Administrator
- Operating systems
- Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
- ATT&CK® technique
- T1218
-
Executes startup scripts configured in Group Policy
Gpscript /startup
- Use case
- Add local group policy logon script to execute file and hide from defensive counter measures
- Privileges required
- Administrator
- Operating systems
- Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
- ATT&CK® technique
- T1218