Giter VIP home page Giter VIP logo

Comments (5)

ScriptTiger avatar ScriptTiger commented on June 2, 2024

Just to clarify, you are talking about the final prompt the script gives you after it has finished running and offers to open your hosts file, right?

Does the update process succeed and have you manually opened the hosts file yourself to verify the update was successful? The only issue is just that the script cannot successfully open your hosts file?

Can you replicate the issue and copy and paste all of the output here?

from unified-hosts-autoupdate.

azumukupoe avatar azumukupoe commented on June 2, 2024
PS C:\ProgramData\chocolatey\lib\unified-hosts-autoupdate\tools\Unified-Hosts-AutoUpdate-master> .\Hosts_Update.cmd
Initializing...
Checking connectivity to raw.githubusercontent.com...                                                                   raw.githubusercontent.com reached successfully                                                                          Your current script version is 1.50                                                                                     Checking for script updates...                                                                                          Your script is up to date
You currently have a scheduled task already in place
Would you like to run the current task now? [Y,N]?Y
Activating update task...
SUCCESS: Attempted to run the scheduled task "Unified Hosts AutoUpdate".
Update task is running...
Update task has completed
Would you like to open your current hosts file before exiting? [Y,N]?Y
File type 'AppX4ztfk9wxr86nxmzzq47px0nh0e58b8fw' not found or no open command associated with it.
The system cannot find the file %1=C:\WINDOWS\System32\drivers\etc\hosts.
Cleaning temporary files...

from unified-hosts-autoupdate.

ScriptTiger avatar ScriptTiger commented on June 2, 2024

Can you confirm you are using Notepad++ as your default text editor? If not, can you tell me what your default text editor is?

Can you also tell me what operating system you are using?

Can you run the following command, then copy and paste the output here?
reg query HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice /v PROGID

from unified-hosts-autoupdate.

azumukupoe avatar azumukupoe commented on June 2, 2024

I do use Notepad++ but it's not set as default

I'm using Windows 11 Pro 22000.469

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice
PROGID REG_SZ AppX4ztfk9wxr86nxmzzq47px0nh0e58b8fw

from unified-hosts-autoupdate.

ScriptTiger avatar ScriptTiger commented on June 2, 2024

I'll let this issue sit for a while and see if others have any input.

There are several different ways Windows displays the application name, sometimes just putting the common name, sometimes prepending "Applications", and sometimes using another unique application identifier, and even the same applications can be presented differently depending on if they were installed through the Microsoft Store, using a downloaded installer, or if they were a downloaded package not requiring installation.

Can anyone confirm that apps on Windows 11 have a standard to start with "App", followed by 33 ASCII characters? If not, what's the new standard? I don't have a Windows 11 to play with at the moment, but I'll definitely revisit this as soon as I do.

from unified-hosts-autoupdate.

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.