Comments (23)
Not near a computer but I will try to fix it tomorrow morning.
from disablewintracking.
Ran into same issue with WD/WFS registry keys and onedrive filesync, also not available for troubleshooting at the moment.
from disablewintracking.
Hmm, I'm not seeming to have this issue. Can anyone else try? Gonna put a cannot reproduce tag for now.
from disablewintracking.
@th3r3isnospoon Are you running a cracked (non-paid) version of Windows 10? We're not microsoft, we don't care what you do, but it's an important question because tracking related services might already be disabled in those for obvious reasons...
from disablewintracking.
@Ruined1 No sir. It is a legitimate copy of Windows 10. I was thinking about the errors though. Would those errors pop up if I had run a previous version of this program? I did run the old version and press revert, then I ran the newer version of this program and those are the errors that came back. The latest rev would not add the IP's/Domain's into the hosts file, but the older version prior to this release worked. I double checked and when I run the older version with elevated privileges it successfully edits the host file.
from disablewintracking.
These two lines are correct, as you probably deleted the services with a previous revision, so they don't exist to modify:
23:46:44 ERROR: Services: Diagnostics Tracking Service unable to be stopped.
Traceback (most recent call last):
File "<string>", line 358, in disableservice
File "disablewintracking\win32serviceutil", line 409, in StopService
File "disablewintracking\win32serviceutil", line 318, in ControlService
File "disablewintracking\win32serviceutil", line 80, in SmartOpenService
error: (1060, 'GetServiceKeyName', 'The specified service does not exist as an installed service.')
23:46:44 ERROR: Services: Diagnostics Tracking Service unable to be stopped.
Traceback (most recent call last):
File "<string>", line 358, in disableservice
File "disablewintracking\win32serviceutil", line 409, in StopService
File "disablewintracking\win32serviceutil", line 318, in ControlService
File "disablewintracking\win32serviceutil", line 80, in SmartOpenService
error: (1060, 'GetServiceKeyName', 'The specified service does not exist as an installed service.')
I'm looking into the rest.
from disablewintracking.
@Ruined1 That would make sense, I did delete them with the previous revision. I will try this on another machine sometime today and report back. Thanks!
from disablewintracking.
@Ruined1 all of these error messages make sense. Except for the registry key error, I'll look into that later. As for the DiagTrack log, it makes sense because Python can't access the logger once it's cleared and locked because system has access denied to it, only the user himself can modify it.
from disablewintracking.
EDIT: THIS COMMENT WAS BASED ON COMMIT e7afd5c
Will be uploading results from latest commit...
I Ran the latest commit, with all checks and DISABLE services, on a test machine with a brand new 64-bit Windows 10 clean install.
I hope this is useful to you, as I can now easy provide it in the future from a clean install every time.
Console Output:
- Registry: Unable to modify Service dmwappushsvc key.
- Registry: Service DiagTrack key successfully modified.
- Services: dmwappushsvc unable to be stopped.
- Services: Diagnostics Tracking Service successfully stopped.
- Services: Diagnostics Tracking Service unable to be stopped.
- DiagTrack Log: Succesfully cleared and locked.
- Done. It's recommended that you reboot as soon as possible for the full effect.
- If any errors were found, please make a GitHub ticket with the contents of DisableWinTracking.log
Log
- Traceback (most recent call last):
- File "E:\CUSTOM
2\DISABL1\DisableWinTracking-WIP.py", line 187, in goprivate
modifytelemetryregs(telemetryval="0") - File "E:\CUSTOM
2\DISABL1\DisableWinTracking-WIP.py", line 376, in modifytelemetryregs
modifyregistry(regdict=telemetrydict, bit=32) Why are we calling 32bit on a 64bit system? - File "E:\CUSTOM
2\DISABL1\DisableWinTracking-WIP.py", line 476, in modifyregistry
_winreg.SetValueEx(modreg, registry[2], 0, registry[3], registry[4])
- File "E:\CUSTOM
- ValueError: Could not convert the data to the specified type.```
(Ignore the Path/Filename.. Assume it is run.py)
from disablewintracking.
Latest test on clean install 64-bit Win 10 shows aces:
- Services: Diagnostics Tracking Service successfully stopped.
- Services: Diagnostics Tracking Service unable to be stopped.
- DiagTrack Log: Succesfully cleared and locked.
- Done. It's recommended that you reboot as soon as possible for the full effect.
- If any errors were found, please make a GitHub ticket with the contents of DisableWinTracking.log
Marking fixed and closing.
from disablewintracking.
Awesome thanks @10se1ucgo @Ruined1 !
from disablewintracking.
File "E:\CUSTOM~2\DISABL~1\DisableWinTracking-WIP.py", line 376, in modifytelemetryregs modifyregistry(regdict=telemetrydict, bit=32) Why are we calling 32bit on a 64bit system?
Because the Telemetry registry things isn't a 64 bit regkey AFAIK. I'll look into this further.
from disablewintracking.
I'm also having issues with latest version. After running it my hosts files and firewall rules were deleted. And there are no errors in the log. However the old version has following enitries in the log:
Domains successfully appended to HOSTS file.
IPs succesfully blocked.
The new version does not display any of those.
from disablewintracking.
The new version did not change anything in regards to IP blocking, so it's def not a problem from the update.
from disablewintracking.
Old version updates hosts file and firewall rules - new doesn't. There is def a problem somewhere. Unfortunately new version does not log anything suspicious.
from disablewintracking.
The new version does log things EVEN BETTER for devs. DisableWinTracking.log.
Also, I just showed to you that it works for me. Something is up on your side. Mind giving a bit more information, e.g. Windows version, 64-bit/32-bit, Windows edition?
from disablewintracking.
@skibbipl try this
https://github.com/10se1ucgo/DisableWinTracking/releases/tag/v2.4.1
from disablewintracking.
I use 64-bit polish windows. But I think I found the problem. If I select Telemetry + Block tracking domains hosts file is nulled. If I select only block... it works fine. Firewall rules are created correctly.
from disablewintracking.
Really? That's odd. I'll look into this. Going to re-open for now.
from disablewintracking.
Here's my test, making sure the compiled EXE is the same as the source code I'm running.
- On my Laptop 64 bit win10
- running through the interpreter from the source code, the HOSTS is modified
- running from the compiled EXE, the HOSTS is CLEARED, but not re-modified
- close and reopened the compiled EXE, the HOSTS is still blank (default HOSTS file)
- running through the interpreter from the source code, HOSTS is still blank (default HOSTS file)
- On my Testbench 64 bit win10
- running from the compiled EXE, the HOSTS is CLEARED, but not re-modified
Both OS's were installed from the same media.
There is something very strange going on here, and I don't like it...
Maybe I'm too tired to see something obvious...
from disablewintracking.
I may have been able to fix it with the latest commit, we'll see.
from disablewintracking.
@Ruined1 It works!!!
Services: dmwappushsvc key successfully modified.
Services: DiagTrack key successfully modified.
Services: dmwappushsvc unable to be stopped.
Services: Diagnostics Tracking Service unable to be stopped.
Services: Diagnostics Tracking Service unable to be stopped.
DiagTrack Log: Succesfully cleared and locked.
Telemetry: AllowTelemetry key successfully modified.
Domain block: Domains succesfully appended.
Extra domain block: Domains succesfully appended.
IP Blocking: Succesfully blocked.
WifiSense/Defender: Unable to modify Windows Defender Spynet key.
WifiSense/Defender: Unable to modify Windows Defender Sample Submission key.
WifiSense/Defender: WifiSense Open-ness key successfully modified.
WifiSense/Defender: WifiSense Credential Share key successfully modified.
WifiSense/Defender: Windows Defender Delivery Optimization Download key successfully modified.
OneDrive: : ListPin key successfully modified.
OneDrive: : FileSync key successfully modified.
OneDrive: Succesfully uninstalled.
Done. It's recommended that you reboot as soon as possible for the full effect.
If any errors were found, please make a GitHub ticket with the contents of DisableWinTracking.log
from disablewintracking.
@10se1ucgo Eureka! I'm going to check this on a test bench with a clean install and manually check all the keys/settings/etc to make sure, but I think it's good!
from disablewintracking.
Related Issues (20)
- malik HOT 3
- is it ok or not? HOT 2
- yeee HOT 3
- help HOT 3
- bello HOT 3
- Help HOT 3
- 0 HOT 2
- permisson denied HOT 4
- Xbox party chat connection issues HOT 1
- CRITICAL: DiagTrack: Error code: 1 - ('', "'sc' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n") HOT 1
- Deletes services with Disable method selected HOT 1
- "File not found" when trying to remove OneDrive HOT 4
- First time user. Everything worked but one drive. HOT 1
- samsung-galaxy-ON6
- not work !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HOT 2
- s
- ERROR: Hosts: Failed to modify hosts file HOT 1
- Fails to edit the hosts file with Administrator privliges. (Solution included) HOT 1
- We forked DWT, so it can live on! Please reference our fork in the readme! HOT 2
- About #460
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 disablewintracking.