Code Monkey home page Code Monkey logo

Comments (9)

Raphire avatar Raphire commented on July 29, 2024 1

That's great! It looks like we can force our way past the confirmation 😄

I'll update the script to use this method.

P.S. I really appreciate the quick response and help with figuring out this issue!

from win11debloat.

Raphire avatar Raphire commented on July 29, 2024

Heya,

I have run into this in the past, but I wasn't able to figure it out until now. It seems like restarting explorer.exe only works properly if the powershell process and OS architecture match (ie. powershell is run as a 64 bit process on a 64 bit OS).

Do you remember if this was also the case when you ran into this issue?

from win11debloat.

Gitzillas avatar Gitzillas commented on July 29, 2024

Thanks so much for getting back to me so quickly!

Yes, it is a 64bit process running on a 64bit OS. I re-ran it just to be sure and I get the explorer.exe crash with no reinitialization again.

from win11debloat.

Raphire avatar Raphire commented on July 29, 2024

Hmm that's interesting. Do you run any antivirus other than Windows Defender?

Also, could you be so kind to try it again for me with the latest version of the script? I have added a check that prevents the issue I discussed. It shouldn't do anything if the process and OS match, but I just want to confirm if Windows isn't up to any funny business 🙃

from win11debloat.

Gitzillas avatar Gitzillas commented on July 29, 2024

Yes, we run Crowdstrike. I could try running it before I install crowdstrike to see if that resolves it.

I pulled the latest version of the script and had the same thing happen. I'll run it before crowdstrike is installed and see if that makes a difference then get back to you. Thanks again!

from win11debloat.

Raphire avatar Raphire commented on July 29, 2024

Thanks!

I have found a different way to restart the explorer process that may work better. Could you try running this for me in powershell: Stop-Process -processName: Explorer

Explorer should automatically be restarted in this case, the current method the script uses relies on manually stopping explorere with taskkill /f /im explorer.exe and restarting it with Start-Process explorer.exe.

from win11debloat.

Gitzillas avatar Gitzillas commented on July 29, 2024

Stop-Process -processName: Explorer asked me to confirm but then it restarted explorer without issue. Not sure if the confirm will be an issue in your script or not.

from win11debloat.

Gitzillas avatar Gitzillas commented on July 29, 2024

Just pulled the newest version and ran again, explorer restarted perfectly! Thanks so much for your help!

from win11debloat.

Raphire avatar Raphire commented on July 29, 2024

That's great to hear! Thank you for your help aswell!

Closing issue

from win11debloat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.