I have an AutoHotKey hotkey that uses schtasks.exe to start a task which starts TCC (highest available privileges) [this avoids the UAC prompt] and that non-transient TCC executes admin.btm. Admin.btm sets titleprompt and changes the prompt from green to read, like this.
Normally, when working in such a TCC, the caption is (for example)
If I run a BTM in that TCC, the caption changes to
... and changes back. I have no gripes. I'm just wondering what's going on there?
activate "%_wintitle" set titleprompt=Administrator - %titleprompt prompt %@rereplace[32,31,%prompt]
Administrator - 24.02.49  v:\
Admin: Administrator - 24.02.49  v:\