Comments (5)
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.
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.
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.
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.
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)
- Feature Request for Verbose Logging
- Script crashes when located in a path containing special characters HOT 5
- further optimization HOT 4
- Script can no longer download using PowerShell
- Wifi connection problem HOT 8
- Change the use of ping to something else because some networks block its use HOT 3
- Ignore file not working HOT 5
- access denied HOT 2
- Compression fails when empty comment is present in ignore.txt HOT 4
- YDAY IS Global Delivery Service 🚚
- issue not blocking HOT 7
- Script uses 30% DNS HOT 5
- GPO question HOT 2
- GPO question - Follow-up HOT 4
- Issue on creating GPO task HOT 13
- StevenBlack hosts Alternative RPZ non unified hosts HOT 7
- I ran Hosts_Update.cmd on Windows HOT 7
- Use another source of hosts instead StevenBlack one HOT 3
- The system cannot find the batch label specified - Compress HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unified-hosts-autoupdate.