- Setup
- Nix Users
- Docker Setup
- Configuration Reference
- Account Configuration
- Features Overview
- Disclaimer
Requirements: Node.js ≥ 20 and Git
Works on Windows, Linux, macOS, and WSL.
All systems:
git clone https://github.com/TheNetsky/Microsoft-Rewards-Script.git
cd Microsoft-Rewards-ScriptOr download the latest release ZIP and extract it.
Windows: Rename manually:
src/accounts.example.json → src/accounts.json
Linux / macOS / WSL:
cp src/accounts.example.json src/accounts.jsonThen edit:
src/accounts.json— fill in your Microsoft account credentials.src/config.json— review or customize options.
All systems:
npm run pre-buildThis command:
- Installs all dependencies
- Clears old builds (
dist/) - Installs Playwright Chromium (required browser)
All systems:
npm run build
npm run startIf using Nix:
-
Run the pre-build step first:
npm run pre-build
-
Then start the script:
./run.sh
This will launch the script headlessly using xvfb-run.
- Remove local
/node_modulesand/distif previously built. - Remove old Docker volumes if upgrading from older versions.
- You can reuse your existing
accounts.json.
- Clone the repository and configure your
accounts.json. - Ensure
config.jsonhas"headless": true. - Edit
compose.yaml:- Set your timezone (
TZ) - Set the cron schedule (
CRON_SCHEDULE) - Optionally enable
RUN_ON_START=true
- Set your timezone (
- Start the container:
docker compose up -d
- Monitor logs:
docker logs microsoft-rewards-script
The container includes a randomized delay (about 5–50 minutes by default)
before each scheduled run to appear more natural. This can be configured or disabled via environment variables.
services:
microsoft-rewards-script:
image: ghcr.io/your-org/microsoft-rewards-script:latest
container_name: microsoft-rewards-script
restart: unless-stopped
volumes:
- ./src/accounts.json:/usr/src/microsoft-rewards-script/dist/accounts.json:ro
- ./src/config.json:/usr/src/microsoft-rewards-script/dist/config.json:ro
- ./sessions:/usr/src/microsoft-rewards-script/dist/sessions
environment:
TZ: "Europe/Amsterdam"
NODE_ENV: "production"
CRON_SCHEDULE: "0 7,16,20 * * *"
RUN_ON_START: "true"
# MIN_SLEEP_MINUTES: "5"
# MAX_SLEEP_MINUTES: "50"
# SKIP_RANDOM: "true"
deploy:
resources:
limits:
cpus: "1.0"
memory: "1g"- volumes
accounts.jsonandconfig.jsonare mounted read-only to prevent accidental edits.sessionspersists login sessions and fingerprints across runs.- If
jobState.enabledis used, mount its directory as a volume.
- CRON_SCHEDULE
- Uses standard crontab syntax (e.g., via crontab.guru).
- Schedule is evaluated inside the container using the configured
TZ.
- RUN_ON_START
- Runs the script once immediately on startup, then continues on schedule.
- Randomization
- Default delay: 5–50 minutes.
- Adjustable via
MIN_SLEEP_MINUTESandMAX_SLEEP_MINUTES, or disable withSKIP_RANDOM.
Edit src/config.json to customize behavior.
Below is a summary of available options (matches the latest version in the repository).
| Setting | Type | Default | Description |
|---|---|---|---|
baseURL |
string | "https://rewards.bing.com" |
Microsoft Rewards base URL |
sessionPath |
string | "sessions" |
Directory to store browser sessions |
headless |
boolean | false |
Run browser invisibly |
parallel |
boolean | false |
Run desktop and mobile simultaneously |
runOnZeroPoints |
boolean | false |
Run even when no points are available |
clusters |
number | 1 |
Number of concurrent account clusters |
globalTimeout |
string | "30s" |
Timeout for all actions |
searchOnBingLocalQueries |
boolean | false |
Use local query list |
| Setting | Type | Default | Description |
|---|---|---|---|
saveFingerprint.mobile |
boolean | false |
Reuse mobile fingerprint |
saveFingerprint.desktop |
boolean | false |
Reuse desktop fingerprint |
| Setting | Type | Default | Description |
|---|---|---|---|
doDailySet |
boolean | true |
Complete daily set |
doMorePromotions |
boolean | true |
Complete more promotions |
doPunchCards |
boolean | true |
Complete punchcards |
doDesktopSearch |
boolean | true |
Perform desktop searches |
doMobileSearch |
boolean | true |
Perform mobile searches |
doDailyCheckIn |
boolean | true |
Complete daily check-in |
doReadToEarn |
boolean | true |
Complete Read-to-Earn |
| Setting | Type | Default | Description |
|---|---|---|---|
searchSettings.useGeoLocaleQueries |
boolean | false |
Use region-based queries |
searchSettings.scrollRandomResults |
boolean | true |
Scroll randomly on results |
searchSettings.clickRandomResults |
boolean | true |
Click random links |
searchSettings.searchDelay.min |
string | "3min" |
Minimum delay between searches |
searchSettings.searchDelay.max |
string | "5min" |
Maximum delay between searches |
searchSettings.retryMobileSearchAmount |
number | 2 |
Retry mobile searches amount |
| Setting | Type | Default | Description |
|---|---|---|---|
logExcludeFunc |
string[] | ["SEARCH-CLOSE-TABS"] |
Exclude from console logs |
webhookLogExcludeFunc |
string[] | ["SEARCH-CLOSE-TABS"] |
Exclude from webhook logs |
| Setting | Type | Default | Description |
|---|---|---|---|
proxy.proxyGoogleTrends |
boolean | true |
Proxy Google Trends requests |
proxy.proxyBingTerms |
boolean | true |
Proxy Bing term requests |
| Setting | Type | Default | Description |
|---|---|---|---|
webhook.enabled |
boolean | false |
Enable Discord webhook |
webhook.url |
string | "" |
Webhook URL |
conclusionWebhook.enabled |
boolean | false |
Enable summary webhook |
conclusionWebhook.url |
string | "" |
Summary webhook URL |
Edit src/accounts.json — the file is an array of accounts:
[
{
"email": "email_1",
"password": "password_1",
"proxy": {
"proxyAxios": true,
"url": "",
"port": 0,
"username": "",
"password": ""
}
},
{
"email": "email_2",
"password": "password_2",
"proxy": {
"proxyAxios": true,
"url": "",
"port": 0,
"username": "",
"password": ""
}
}
]Notes
- The file is a flat array — not
{ "accounts": [ ... ] }. - Only
email,password, andproxyare supported. proxyAxiosenables Axios-level proxying for API requests.
- Multi-account and session handling
- Persistent browser fingerprints
- Parallel task execution
- Proxy and retry support
- Human-like behavior simulation
- Full daily set automation
- Mobile and desktop search support
- Vacation and risk protection
- Webhook notifications
- Docker scheduling support
Use at your own risk.
Automation of Microsoft Rewards may lead to account suspension or bans.
This software is provided for educational purposes only.
The authors are not responsible for any actions taken by Microsoft.