这是用户在 2024-9-3 14:45 为 https://www.reddit.com/r/XboxGamePass/comments/1f40kll/fix_error_0x1_gamepass_for_call_of_duty_moder... 保存的双语快照页面,由 沉浸式翻译 提供双语支持。了解如何保存?
Skip to main content Fix error (0x1) GamePass for Call Of Duty Modern Warfare 3 : r/XboxGamePass
Go to XboxGamePass

Fix error (0x1) GamePass for Call Of Duty Modern Warfare 3

Games - General

UPDATED: Fix for Call of Duty: Call of Duty Modern Warfare 3 Crashing (Error 0x1) (Windows 11/10)

So I got the battle pass today to try BO6, and to my surprise, the game would start and crash 3 seconds in. I went online to check if anyone else was having this problem, and surprise surprise, a ton of people are experiencing this issue. It's been persistent for more than a month with no official fix from any of the Activision devs.

Click this for the video link if you are having trouble following up

How to Run the Call of Duty Randgrid Service Setup Script

  1. Copy the script into a new text file.

  2. Save the file with a .bat extension (e.g., "cod_service_setup.bat").

  3. Right-click the .bat file and choose "Run as administrator".

  4. When prompted, enter your Call of Duty Xbox app installation folder.

  5. The script will: Remove the existing service if found Install the Randgrid service Update Randgrid permissions

  6. If you see any error messages, make sure you're running as admin and the folder path is correct.

How to Manually Set Up the Call of Duty Randgrid Service

NOTE: ONLY DO THESE STEPS IF THE WINDOWS 11/10 SCRIPT PROVIDED BELOW THE MANUAL STEPS DO NOT WORKS. DO NOT RUN BOTH

1.Open Command Prompt as Administrator.
2.Check if the service exists:

sc query atvi-randgrid_msstore

3.If it exists, remove it:

sc delete atvi-randgrid_msstore

4.Install the Randgrid service:

sc create atvi-randgrid_msstore type= kernel binPath= "C:\XboxGames\Call of Duty\Content\randgrid.sys"

(Replace the path with your actual installation folder)

5.Set the service permissions:

Windows 11

sc sdset atvi-randgrid_msstore D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

Windows 10:

sc sdset atvi-randgrid_msstore D:(A
;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

Note: Make sure you have the correct path to randgrid.sys before running these commands. Do not run both the manual steps and the automatic script only run one or the other.

WINDOWS 11 SCRIPT IF YOU DO NOT WANT TO DO THE MANUAL STEPS

echo Please enter the Xbox app installation folder for Call of Duty.
echo For example: C:\XboxGames\Call of Duty
set /p INSTALLDIR="Enter the folder location: "

sc query atvi-randgrid_msstore >nul 2>&1
if %errorlevel% == 0 (
    echo Service atvi-randgrid_msstore was found, removing...
    sc delete atvi-randgrid_msstore
    if %errorlevel% neq 0 (
        echo Failed to remove the service. Please run this script as an administrator.
        exit /b
    )
) else (
    echo Service atvi-randgrid_msstore is not installed.
)

echo Randgrid installing
sc create atvi-randgrid_msstore type= kernel binPath= "%INSTALLDIR%\randgrid.sys"
if %errorlevel% neq 0 (
    echo Failed to create the service. Please check the folder path and run this script as an administrator.
    exit /b
)

echo Updating Randgrid permissions
sc sdset atvi-randgrid_msstore D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

WINDOWS 10 SCRIPT IF YOU DO NOT WANT TO DO THE MANUAL STEPS

@echo off

echo Please enter the Xbox app installation folder for Call of Duty.
echo For example: C:\XboxGames\Call of Duty
set /p INSTALLDIR="Enter the folder location: "

sc query atvi-randgrid_msstore >nul 2>&1
if %errorlevel% equ 0 (
    echo Service atvi-randgrid_msstore was found, 
removing...
    sc delete atvi-randgrid_msstore
    if %errorlevel% neq 0 (
        echo Failed to 
remove the service. Please run this script as an administrator.
        pause
        exit /b
    )
) else (
    echo Service atvi-randgrid_msstore is not installed.
)

echo Randgrid installing
sc create atvi-randgrid_msstore type= kernel binPath= "%INSTALLDIR%\randgrid.sys"
if %errorlevel% neq 0 (
    echo Failed to create the service. Please check the folder path and run this script as an administrator.
    pause
    exit /b
)

echo Updating Randgrid permissions
sc sdset atvi-randgrid_msstore D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

echo Service installation and configuration completed successfully.
pause


Sort by:
Best
Open comment sort options
Edited

Having the same error. The script is complaining when executing it, so I am trying to redo it step by step. Currently failing on the service creation. the line is throwing:

Set-Content : A positional parameter cannot be found that accepts argument 'type='.

EDIT: Alright. This absolutely works. My mistake was running it in powershell instead of the regular command prompt (admin). Thank you!!!

Happy i could help Comment Image

More replies

This post should get more upvotes Dude this worked for me like magic ty!

However, I don't know why the old notepad didn't recognize it's bat file I had to download the new version

agreed lol hasnt worked for me yet but he sure put way more effort than any of the devs this issue isnt even new and a lot of people have complained about it yet no devs have actually addressed it or provided a solution.

Xbox support told me to reinstall the game lol I contacted them again, gave them access to my pc they spent ~ an hour trying to fix it told me to "rest assured" it will work after restarting my pc. It didn't lmoa

Lol that's funny but i don't blame them this is a Activision problem, what's more baffling is that this has been going on for more than a month with no official work around, i just wanted to try the new BO6 beta and i was greeted by this little cretin

More replies
More replies
More replies

Thank you man you’re the GOAT, after one month of garbage solution this on works really appreciate it 

Happy it worked man Comment Image

More replies

It worked !

Thanks alot

Glad i could help man Comment Image

More replies

Just to address this since I guess has not been explained, go for the \content folder inside the call of duty folder when choosing the path , otherwise you’ll get a 0xffff error

( something like “c:\xbox games\call of duty\content” )

love you

omfg. i tried for weeks to get it to run.
u are a mf legend

Glad i could help Comment Image

More replies

To those coming here for the fix, add \Content to the end of the path.

OP, THANK YOU! Finally was able to get this fixed on my end. This has been a consistent issue since MWIII came out on GP. I got some good use out of my Series X while I couldn't play this on PC, but now it's go-time.

Happy i could help

More replies

This fixed it for me thank you! Didn’t work at first but I noticed the file path is slightly different on mine and once I changed that it worked a treat. Activitison owe you

Glad i could help

More replies

YOU ARE A LEGEND! I've been trying stuff all weekend and had a feeling that something else was causing the game to crash. Glad I can get at least 1 night on the beta :)

If anyone gets error 0x2 after running this fix, just run the Call of Duty app as administrator.

Glad i could help

More replies

WORKS amazing great job OP

Happy i could help

More replies

My error code is 0x9, will it work?