Skip to content

Hosts file editor not making backups and losing my file #37666

Open
@Bokkeman

Description

Microsoft PowerToys version

0.88.0

Installation method

Microsoft Store

Running as admin

Yes

Area(s) with issue?

Hosts File Editor

Steps to reproduce

I don't know - just run it for a while I guess

✔️ Expected Behavior

The documentation says that every time hosts is edited in PT, that a backup is made with date-time suffix in the name - no such files exist.
I expect my hosts file contents to persist, and backups to be made.
I don't see any settings in PT to control backup behaviour so I'm expecting it to be always on.

❌ Actual Behavior

After returning to my hosts file (I only ever use PT for editing) after a couple of weeks, I found it reset to just the default entries.
There must be some script/process on Windows that resets it which, while annoying, wouldn't be the end of the world if PT makes backups as promised.

Other Software

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Issue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-Hosts File EditorRefers to the Hosts file editor

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions