nivaldia Posted November 7, 2019 Share Posted November 7, 2019 Hi, I'm in Windows 8.1: I execute under w8.1 Taskkill explorer.exe and it does not log off, it returns after seconds: taskkill /IM Explorer.exe /F program.exe (THEN EXPLORER RETURNS) Start explorer.exe Explorer MAY return only when program is off, in Windows 7 it works good Link to comment Share on other sites More sharing options...
Avitar Posted November 8, 2019 Share Posted November 8, 2019 13 hours ago, nivaldia said: Hi, I'm in Windows 8.1: I execute under w8.1 Taskkill explorer.exe and it does not log off, it returns after seconds: taskkill /IM Explorer.exe /F program.exe (THEN EXPLORER RETURNS) Start explorer.exe Explorer MAY return only when program is off, in Windows 7 it works good Lemme help you out here young grasshopper... @echo off title ScriptTitle color A setlocal ENABLEDELAYEDEXPANSION cls REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoRestartShell /t REG_BINARY /d 00 taskkill /IM Explorer.exe /F program.exe REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoRestartShell /t REG_BINARY /d 01 start explorer.exe pause Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.