2

I successfully placed GenP in the C drive. However, this is my host update log.

After running the program, I checked the host file again, and it had been restored to its original state.

2025-11-24 13:51:04 - Script execution started.
2025-11-24 13:51:04 - Hosts file has not changed since the last backup. Skipping backup.
2025-11-24 13:51:04 - Hosts file content retrieved.
2025-11-24 13:51:04 - Attempting to execute GenP.exe for blocklist.
2025-11-24 13:51:06 - GenP.exe executed successfully.
2025-11-24 13:51:06 - GenP.exe output missing or invalid.
2025-11-24 13:51:06 - Failed to run GenP to fetch the blocklist; please ensure the executable is present and try again.
2025-11-24 13:51:06 - Attempting to retrieve blocklist from fallback URLs.
2025-11-24 13:51:06 - Trying to access fallback URL.
2025-11-24 13:51:06 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:07 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:07 - Retrying in 2 seconds.
2025-11-24 13:51:09 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:09 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:09 - Retrying in 2 seconds.
2025-11-24 13:51:11 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:12 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:12 - Trying to access fallback URL.
2025-11-24 13:51:12 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:12 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:12 - Retrying in 2 seconds.
2025-11-24 13:51:14 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:15 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:15 - Retrying in 2 seconds.
2025-11-24 13:51:17 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:17 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:17 - Trying to access fallback URL.
2025-11-24 13:51:17 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:18 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:18 - Retrying in 2 seconds.
2025-11-24 13:51:20 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:20 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:20 - Retrying in 2 seconds.
2025-11-24 13:51:22 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:22 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:22 - Trying to access fallback URL.
2025-11-24 13:51:22 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:23 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:23 - Retrying in 2 seconds.
2025-11-24 13:51:25 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:25 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:25 - Retrying in 2 seconds.
2025-11-24 13:51:27 - Retrieving blocklist content from fallback URL.
2025-11-24 13:51:27 - Failed to connect to the provided URL; please check internet connectivity or the URL itself.
2025-11-24 13:51:27 - No valid blocklist entries retrieved from all sources. Attempting to restore hosts file from hosts.plain.
2025-11-24 13:51:27 - hosts.plain file does not exist; cannot restore hosts file.
2025-11-24 13:51:27 - Restoring hosts file from backup.
2025-11-24 13:51:27 - Copy operation successful: C:\Windows\System32\drivers\etc\hosts.bak -> C:\Windows\System32\drivers\etc\hosts
2025-11-24 13:51:27 - Exiting script.

Or did I do something wrong? Please tell me.

you are viewing a single comment's thread
view the rest of the comments

As your posted image indicates, it appears you may be accessing your content from China.

In several countries, including China, governments implement extensive internet censorship systems to regulate and block access to external websites, cloud services, and other online platforms.

These restrictions can prevent scripts like GenP from retrieving the blocklist.

This situation is entirely network-related and is not a problem with the script itself.

GenP runs correctly as long as the necessary domains and URLs are accessible.

Users behind such restrictions will need to use a VPN, change DNS (e.g., Cloudflare 1.1.1.1 or Google 8.8.8.8), or adjust their network to allow access to these external sources.


As for your suggestions, the issues you're encountering are specific to your country’s network restrictions.

This is not a GenP-related issue; the script itself works perfectly as intended.

The changes you've made are essentially workarounds for the restrictions imposed by your network.

The original script functions fine if the domains GenP uses, or the backup URLs, are accessible.

Problem 1:

  • This only matters if the hosts file contains unexpected content before the blocklist.

  • If the Advanced Method is used correctly and hosts.plain is applied for any existing content, the original detection works as expected.

Problem 2:

  • These adjustments are only necessary if the network blocks TLS 1.2+ connections.

  • The -UseBasicParsing parameter was originally needed on older versions of Windows (pre-PowerShell 5.1) because Invoke-WebRequest relied on Internet Explorer’s HTML engine to parse web pages. If IE was not installed or misconfigured, requests would fail.

  • On modern Windows systems (Windows 10/11) with PowerShell 5.1+, Invoke-WebRequest works independently of Internet Explorer, making -UseBasicParsing unnecessary.

  • Therefore, your fix is only relevant for very old systems or environments where IE-based parsing fails. For the vast majority of users today, the original script works perfectly without these adjustments.


In summary, your fixes address issues created by your network environment, not by the GenP script itself.

If the websites and fallback URLs were reachable, none of these adjustments would be needed.

We provide a script that works for most users worldwide, under normal network conditions.

Users behind network restrictions like yours need to adjust their network setup (e.g., use a VPN, change DNS, or configure their ISP) to allow access to these external resources.

this post was submitted on 24 Nov 2025
2 points (75.0% liked)

GenP

2161 readers
1 users here now

Welcome to GenP, the tool for endlessly extending the trial of Creative Cloud applications on Windows.

We’re on Stoat! Find us here.

founded 7 months ago
MODERATORS