Logon scripts are usually located in the [[Active Directory Central Store]].
[Assign a logon script to a local user - Windows Server | Microsoft Learn](https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/assign-logon-script-profile-local-user)