There are four types you can have.
1. Group Policy logon / logoff scripts.
2. Group Policy Computer startup / shutdown scripts.
3. Domain User logon scripts.
4. Local user logon scripts.
Type 1 script executes when a USER logs on or logs off. And it executes with that user privilege.
Type 2 script executes when the COMPUTER starts up or shuts down. It executes in context of “Local System Account”.
Type 3 script executes when a domain user logs on. The difference is type 3 works on all Windows versions whereas type 1 only works with Windows 2000 and up.
Type 4 script: the name says itself. It only executes when the user logs on locally.