Use a batch file for restarting explorer.exe | Win7/Vista/WinXP

I think a lot of people may met with this message in Windows:”The device ‘Generic volume’ cannot be stopped right now”. The solution for it is restart “explorer.exe” process then you can safely remove device(Check details here: Fix “The device ‘Generic volume’ cannot be stopped right now” issue).

 

 Let’s start!

What if you manual this everytime which means you always get this issue? In this case, I suggest you to create a batch file to do this automatically. So everytime when you wanna restart explorer.exe just click on a batch file it can auto kill explorer process and open it up then close batch after 3 seconds.

 

Here is the code:

Save this code to the Notepad and rename it with a descriptive name such as restart_explorer.bat and make sure you change the file type to .bat.

 

</catmee> 文章全部原创、谢绝转载,作者「BianLei」,如果喜欢欢迎分享链接,相关内容参见本站版权声明
本站相关:哔哩哔哩 | QQ空间 | YouTube ★★★ 打赏:支付宝 ★★★
Tagged . Bookmark the permalink.

Comment Anonymously? No Problem! | 可以匿名评论了我会说?

Fill up Email address to subscribe reply and display your avatar from Gravatar (If any)
填写邮箱即可显示您在Gravatar的头像