This message was deleted.
# _general
s
This message was deleted.
s
do you maybe mean klist purge?
d
klist only works for Kerberos machine token without logging off isn't it? I forgot to mention user tokens, so the data presented in whoami /all
m
I wrote an utility for that like 15 years ago 😄 One of those lost tools... What it was doing (back on Windows Server 2003) was to use
runas
to spawn a new process (this is authenticated, so you get new token), kill "old" explorer and start a new one.
d
yeah I come across that one constantly
Copy code
taskkill.exe /F /IM explorer.exe
runas /user:%USERDOMAIN%\%USERNAME% explorer.exe
Just wondering if there's something for that in Windows nowadays already, as some guy in my current project says "I did that last year, it's a MS command" and that's it..... no more info. I simply think he's pretending to be wise and interesting as he doesn't know "the command" and isn't willing to check it (while he's got nothing to do for 2 days already).
m
I would be very surprised if this is included in Windows, that would require quite a lot of code to change and I don't expect Microsoft to do it (to cover a rather niche problem). I know of a way to do it if your SID has been changed (user), but don't believe that is any magical
command
d
rofl, he just came back to me saying "yeah I checked my documentation and it was for machine token, it's the klist thing". to bad for him we run Ivanti IWC with website security set to logging all website visits for contractors, he was simply talking sh*t