I am in deep shit. I have for some time tried to get a logoff script to run. In gpedit.msc that should be possible, under winnt\system32\grouppolicy\user\scripts\logoff. I've added an .bat file there which copies some files for me, but it didn't run.
So, I looked under the "Administrative Templates" in gpedit.msc to find something to enable the scripts to run. And I thought I found it, under "Administrative Templates\Windows components\Microsoft management console\restricted/permitted snap-ins\group policy\" I found a key named "scripts (logon/logoff)" which I enabled.
Did this work?! Hell no!! It only resulted in that when I try to logon a message flashes on the dialog where it says "running logoff scripts" and it logs me back off! I cannot logon from safe mode or anything, as soon as i I logon windows logs me back off, just as it would run a logoff command and not any script. And for that matter the logoff script should run when I logon :Z
Do anybody know how I can get out of this evil situation? I think I found a bug or an evil script
So, I looked under the "Administrative Templates" in gpedit.msc to find something to enable the scripts to run. And I thought I found it, under "Administrative Templates\Windows components\Microsoft management console\restricted/permitted snap-ins\group policy\" I found a key named "scripts (logon/logoff)" which I enabled.
Did this work?! Hell no!! It only resulted in that when I try to logon a message flashes on the dialog where it says "running logoff scripts" and it logs me back off! I cannot logon from safe mode or anything, as soon as i I logon windows logs me back off, just as it would run a logoff command and not any script. And for that matter the logoff script should run when I logon :Z
Do anybody know how I can get out of this evil situation? I think I found a bug or an evil script
Comment