# How can a Linux OS spoof Windows?

**URL:** https://discuss.privacyguides.net/t/how-can-a-linux-os-spoof-windows/30646
**Category:** Questions
**Created:** 2025-08-30T16:45:06Z
**Posts:** 23

## Post 1 by @SilverFox — 2025-08-30T16:45:06Z

Hello all,

As Linux users make up less than 10% of all computer users, that makes them much more fingerprint-able. So spoofing Windows in some way seems like a good idea for improved privacy. I have seen browser extensions in the Chrome web store (for the Brave browser). That seemed to be partially successful, after keying in the site [deviceinfo.me](http://deviceinfo.me).

Are there other ways to spoof Windows? Say, through the Terminal? Please advise. Thank you.

---

## Post 2 by @TheManWithNoPlan — 2025-08-30T23:33:09Z

I’ve been wondering the same thing. It’s annoying and I’d also like to see it changed.

One thing you can do, unrelated to this, is change the timezone by launching the browser in the terminal with the TZ= variable set.

I’m using Brave Browser right now with this:

TZ=someSpoofedValue /usr/bin/brave-browser-stable

where someSpoofedValue comes from a script I wrote that just picks a random timezone from a list.

Mullvad browser spoofs it by default. I haven’t checked with LibreWolf.

Even using a VPN, javascript can pull the system time from your computer, so it’s kind of funny to see it in Mullvad browser where the VPN exit point has a value, then 2 spoofed values. I don’t know why there’s 3 values instead of two.

I use [deviceinfo.me](http://deviceinfo.me) to look at those values. Apparently there’s browser extensions that will change the OS, but then you’re using a browser extension that you don’t know if you can trust, and that makes you fingerprintable by using it.

---

## Post 3 by @SilverFox — 2025-08-30T23:51:47Z

Hi, thanks for the reply, and for the helpful tips.

I tried Mullvad browser, keyed in [deviceinfo.me](http://deviceinfo.me), but it still said I was using Linux. I emailed their support, to ask them if I needed to take additional steps.

I am a little afraid of Librewolf. They described themselves as “super-woke”. I’m not keen on a radical leftist handling my data.

You are right about browser extensions possibly being malicious, or simply unknown. Thanks for the heads-up.

Best regards!

---

## Post 4 by @jordan — 2025-08-31T01:17:47Z

You can’t hide what operating system you’re running, that’s why Tor Browser and Mullvad Browser only spoof the value that aligns with your operating system (Android, Windows, Mac, Linux).

> **[What information about the computer on which it is running does the Tor...](https://forum.torproject.org/t/what-information-about-the-computer-on-which-it-is-running-does-the-tor-browser-currently-reveal/15578)**
>
> Hi everyone, This might be related to the “change JS version to Windows” conversation. I was under the impression that the browser was pretending to run on Windows, as for years it seemed like the websites I visited with the Tor Browser assumed...

Statement from Mullvad Browser team:

> [@Tor Browser - User Agent Spoofing Changes (Still secure?)](https://discuss.privacyguides.net/t/tor-browser-user-agent-spoofing-changes-still-secure/22110/3):
>
> They know, because user agent is not the only way to determine the OS with JavaScript. So if you look at the user agent and JavaScript, and see a mismatch OS, you can infer the user is lying and use those parameters to block them.

---

## Post 5 by @SilverFox — 2025-08-31T01:42:35Z

Thanks very much, Jordan.

---

## Post 6 by @Machkiel — 2025-08-31T09:45:41Z

> [@SilverFox](#):
>
> Are there other ways to spoof Windows? Say, through the Terminal?

Command “wget” allows setting the user agent, for example:

```
wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0" "https://www.example.com/file.zip"
```

You can run a Windows installation in a virtual machine. It is not the same thing, but that is similar to spoofing the Linux hypervisor’s operating system.

I am not saying this next one is a good idea, but you could also try running Windows executables under Wine.

---

## Post 7 by @SilverFox — 2025-08-31T14:23:25Z

Thank you very much, Machkiel.

---

## Post 8 by @SilverFox — 2025-08-31T16:52:52Z

Hi, ManWithNoPlan,

I heard back from Mullvad browser support. They mentioned that their browser no longer changes the user agent. They said it was causing more harm than good, so they removed that feature.

---

## Post 9 by @TheManWithNoPlan — 2025-08-31T17:09:17Z

You misunderstood what I was writing. It had nothing to do with spoofing the OS but rather just one value of many other fingerprintable ones. I probably should not have put it in this thread.

That said, did they by chance give you a link as to why they stopped changing the user agent? I’d be curious to read why it isn’t a good idea for them, if they did.

---

## Post 10 by @SilverFox — 2025-08-31T17:38:22Z

No problem. Mullvad support did not go into specifics as to why they discontinued making all users look the same. They just said that it created more problems than it solved, and let it go at that.

---

## Post 11 by @marthamp — 2025-09-01T15:48:06Z

For fingerprinting concerns instead consider VirtualMachine. You can run windows in VM should that be your choice. Contrarily I use a xubuntu VM exclusively for amazon. One VM per isolating experience like online banking. Because in each instance I am self identifying via signin.

---

## Post 12 by @SilverFox — 2025-09-05T17:18:04Z

Thanks very much, and I am sorry for the delayed reply. May I ask, do you use a separate VM for each online bank account? Or do you do all online bank accounts with a single VM? Thank you again.

---

## Post 13 by @Tux — 2025-09-05T22:50:10Z

What are you trying to keep private exactly? The online bank you are connecting to needs to know who you are. If you just want to make your browsing more private, one of the best things you can do is to disable ALL third-party content with uBlock/uMatrix. This will break a pretty significant number of websites but will prevent cross-site tracking (e.g. by Google through embedded Youtube videos). Spoofing the OS doesn’t really buy you much, and the service you are accessing will always collect some amount of information you can only somewhat obfuscate with Tor or VPNs.

---

## Post 14 by @SilverFox — 2025-09-06T01:34:24Z

Thank you, Tux. My concern is being fingerprinted, and Linux stands out more as there are far fewer Linux users.

Yes, I have heard to use a separate browser (maybe Chrome) for Youtube, Gmail, etc, so Google can’t see what you are doing on your main browser. Thanks again.

---

## Post 15 by @SwampTrainer — 2025-09-07T07:19:15Z

I’ve found 3 options:

1 and 2: The Chameleon and Random User Agent (switcher) FF extension will let you spoof your user agent. Chameleon lets you spoof tons of things, but obviously it comes up as an extension being used. IMO, rather have every 5 minutes showing a new and unique fingerprint. However, when testing on CreepJS, the header says Windows/Mac OS, but processor still comes in as “Linux X86” so it’s not perfect.

Option 3: Using a Windows VM.

Though, I’m about to try this wget option and see if it survives a restart.

---

## Post 16 by @SwampTrainer — 2025-09-07T11:13:24Z

Hey again - so the wget option isn’t global for all browsers, just when using wget to scrape a site or download files.

It looks like there’s a method in vanilla FireFox where you go into about:config and add a string under general.useragent.override with the user agent you want, but I can’t get that to persist in Librewolf. Just search for that and it’ll come up for FF.

For Librewolf it seems possible with some changes to the config file, but not all user agent testing sites will be fooled by the spoof, which might make you more unique. Apparently Mullvad dropped the spoofing.

---

## Post 17 by @Machkiel — 2025-09-07T11:36:57Z

> [@SwampTrainer](#):
>
> Hey again - so the wget option isn’t global for all browsers, just when using wget to scrape a site or download files.

Correct.

Additionally, you can add a list of URLs to a plain text file, for example “download.txt”, and have “wget” download all of those:

```
wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0" --input-file=./download.txt
```

---

## Post 18 by @anon63378630 — 2025-09-07T12:38:58Z

Changing user agent is not effective for spoofing OS.

---

## Post 19 by @Tux — 2025-09-08T04:19:11Z

The issue that you are facing is that the OS is only one of many fingerprints. See [here](https://arkenfox.github.io/TZP/tzp.html) for example to see part of what is exposed. Only spoofing the OS doesn’t really buy you anything. You are better off using a standardized set of attributes (as Tor or Arkenfox do) than just trying to hide or arbitrarly spoof things.

---

## Post 20 by @ImTooPhaT — 2025-09-08T11:41:24Z

> [@marthamp](#):
>
> For fingerprinting concerns instead consider VirtualMachine. You can run windows in VM should that be your choice.

To be honest, I haven’t thought about doing this because I’ve been trying not to use Windows since the beginning of the year. But I might try the VM option for online shopping.

---

## Post 21 by @U53R — 2025-09-15T18:04:52Z

> [@jordan](#):
>
> You can’t hide

As I understand, you **CAN**

Here is two tools for that:

### Browser with various randomisations

> **[GitHub - daijro/camoufox: 🦊 Anti-detect browser](https://github.com/daijro/camoufox)**
>
> 🦊 Anti-detect browser

### Random user agent

Prevents even from JS detection, you can use it for spoofing only one user agent if you don’t need random features.

Personally I use it on tablets and phones in Firefox to fool crappy websites like Pinterest or TikTok that I am visiting from PC and not to annoy me with mobile apps.

> **[Random User-Agent (Switcher) – Get this Extension for 🦊 Firefox (en-US)](https://addons.mozilla.org/en-US/firefox/addon/random_user_agent/)**
>
> Download Random User-Agent (Switcher) for Firefox. Automatically change the user agent after a specified period of time to a randomly selected one, thus hiding your real user agent

---

## Post 22 by @anon39279085 — 2025-09-15T19:00:19Z

randomizing your user agent is not going to prevent fingerprinting completely, camoufox may be valid but I will not comment for sure without knowing and arkenfox exists.

Just use Mullvad browser and blend in

---

## Post 23 by @U53R — 2025-09-15T19:05:48Z

> [@anon39279085](#):
>
> randomizing your user agent is not going to prevent fingerprinting

It is more to hide OS. It will _slightly_ reduce fingerprinting as you will look like windows user.

But note **NEVER** set chrome user agent when you are on Firefox (some fingerprinting scripts check spidermonkey behavior).

Just set something really popular. Like:  
Firefox on Windows (valid user agents can be found on [useragents.me](http://useragents.me)). Set CUSTOM user agents in main settings of extension
