korang Posted June 6, 2017 Share Posted June 6, 2017 OK, so I have created script to do the DUCKy 2 second has grab. Currently it leaves a Windows Explorer opened where it has mapped to \\172.46.16.1\s. I have tried a few different DUCKY calls to close this window. Does anyone have a good solution to closing a windows explorer window? Sorry for all the noob questions. Also, once testing is complete to do plan on sharing. Quote Link to comment Share on other sites More sharing options...
Lord_KamOS Posted June 6, 2017 Share Posted June 6, 2017 This powershell command will do it. Stop-Process -ProcessName explorer explorer = the program you want to kill Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.