项目介绍

juliankay/FakeGPS 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,目前获得 135 个 Star、34 次 Fork。

仓库全名
juliankay/FakeGPS
Star 数
135
Fork 数
34
未关闭 Issue
20

README 摘要

FakeGPS Note: this driver is NOT maintained by the author at this time FakeGPS is a Windows driver which allows the user to provide geolocation information without a physical GPS device. Note: in order to use FakeGPS please download the released binary, not the source code. Why? Windows 10 includes Cortana, a digital assistant which can help you with location based reminders. When there is no GPS device the location…

完整内容见 GitHub 原始 README 或本页 。

常见问题

FakeGPS 用什么语言开发?

主要使用 C++ 编写,目前有 135 个 Star。

如何获取 FakeGPS 的源码?

可以直接克隆仓库:git clone https://github.com/juliankay/FakeGPS.git,默认分支为 master;安装与运行步骤见仓库 README。

FakeGPS 最近还在维护吗?

仓库最近一次更新为 2025年1月22日,当前有 20 个未关闭 Issue;Star 数为 135,可作为社区活跃度的参考。

关于

[NOT MAINTAINED] FakeGPS driver for Windows

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
216
价值分
91
活跃状态
活跃

语言占比

Batchfile
C
C#
C++

Release

贡献者

README

FakeGPS

Note: this driver is NOT maintained by the author at this time

FakeGPS is a Windows driver which allows the user to provide geolocation information without a physical GPS device.

Note: in order to use FakeGPS please download the released binary, not the source code.

Why?

Windows 10 includes Cortana, a digital assistant which can help you with location based reminders. When there is no GPS device the location services in Windows will try to guess where you are geographically using other means like Wi-Fi or IP address. These methods don’t always work, rendering the location-based features of Cortana as useless.

This is especially noticeable on virtual machines which provide geolocation of the cloud infrastructure, not where the user is.

For more information on why you might want this see Using Cortana with a Fake GPS Driver on Windows 10.

Requirements

  1. Windows 10 x64
  2. Test Mode Enabled (bcdedit /set testsigning on)

Note that Test Mode may be incompatible with BitLocker and Secure Boot.

Usage

Driver Installation

  • Ensure your system meets the requirements (Test Mode must be enabled)
  • Download the latest version of the released binary as a zip and extract to a folder
  • Install the driver using “Add Legacy Hardware” in Device Manager
  • Confirm you want to install the unsigned driver
    • The driver may say it failed to start on first use, see issue #3

Note the settings are currently stored in HKLM\System\CurrentControlSet\Enum\ROOT\UNKNOWN\0000\Device Parameters\FakeGPS but this will change, see issue #2

Command Line Options

Usage: FakeGPS -command

FakeGPS -g              get current status
FakeGPS -s <lat,long>   set latitude and longitude

Example:

PS> FakeGPS -s 51.51786,-0.102216
The following location has been set in the driver's registry settings:
Lat:    51.51786
Long:   -0.102216

PS> FakeGPS -g
The following location has been got from the Windows location API:
Lat:    51.51786
Long:   -0.102216

Note: Once you have set the latitude and longitude you may need to restart the device driver for it take effect. This is due to the Geolocation driver caching the last result and may be fixed in future versions.

Questions?

Please note that I no longer use this tool, and at the time of this update I have not touched the code in about three years, so while you’re free to create issues - I’m not going to be fixing them. ✌️

评论

暂无评论