Call of Duty®

Call of Duty®

View Stats:
frankie Jun 14, 2024 @ 9:58am
4
MW3 randgrid.sys error (fix?)
Hello all, hopefully this can help some of you out.
So recently I added an SSD to my build for my games exclusively. After setting up the SSD I moved over a few Steam games from old HDD to SSD using Steams in program file mover. I tried launching CoD MW3 and it would say playing for a few seconds then back to "Play" option. I tried looking for crash logs or anything that would lead me to why, watched multiple "fix" videos, but nothing. I tried starting the game while watching my task manager to see if CoD.exe was evening opening. I realized that the bootstrapper.exe would open and that was all. So I go into my game files and there is a bootstrapper crash log, cool, so I open the log and see that it says \??\C:\Program Files (x86)\Steam\steamapps\common\Call of Duty HQ\randgrid.sys (3) . Funny I thought because the C: drive is the old hardrive that I MOVED the game from. For whatever reason it was still trying to open a single file from that HDD. I deleted that file from the COD folder on the SSD, verified integrity of files and obviously it redownloaded that file. Still wouldn't launch and the crash log said the same. It was trying to open that one file from the old game location.
-- Solution: this may be funny to some, or a quick fix, or maybe not even the correct fix, but it works. I simply recreated that exact folder in that exact location to the old HDD, copy and pasted the randgrid.sys file on the SSD that was failing to open on the SSD, and moved it back to the old HDD game location. MW3 launched right up.
Why it is trying to read that one file from the old location of the game? I have no clue.
So I have the whole COD installed on my SSD and the one file on my HDD.
< >
Showing 1-15 of 28 comments
AkiraJkr Jun 14, 2024 @ 10:55am 
Yeah, it's a problem I've documented and flgave two proper solutions on my guide for quite a while and honestly...I just tried to get their attention to it, maybe completely pointless since it's unknown.

I mean, they have to pay attention to that issue at some point.

It's gonna be there still when Black Ops 6 launches, after all.

https://x.com/AkiraJkr1/status/1801671890949337537
Last edited by AkiraJkr; Nov 5, 2024 @ 5:33am
Lif3snatcher Jun 15, 2024 @ 9:21pm 
2
2
1
i created this script to handle it for me
create a new text file past this in inside without quotations marks and rename from .txt to .bat then right click run as admind and tell it where the install folder is located.
"@echo off
echo Please enter the Steam installation folder for Call of Duty.
echo For example, if your Steam library is located in D:\SteamLibrary, enter: D:\SteamLibrary\steamapps\common\Call of Duty HQ
set /p INSTALLDIR="Enter the folder location: "
if "%INSTALLDIR%"=="" (
echo No folder location was entered. Exiting.
exit /b
)
echo You have entered: %INSTALLDIR%

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

echo Randgrid installing
sc create atvi-randgrid_sr 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_sr D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
if %errorlevel% neq 0 (
echo Failed to update service permissions.
exit /b
)

pause
"
rey lunar Jul 20, 2024 @ 12:40am 
Holy SHET YOU GUYS MY COD WASNT LAUNCHING FOR 5 MONTHS STRAIGHT PSYQO SEND ME YOUR DISCORD I WANT TO SEND YOU 25 BUCKS
hey can i add you on discord i cant figure out how to fix it
Allie Oct 5, 2024 @ 8:24am 
Its actually hilarious that the remaking folder method works, multi billion dollar company BTW
Il Gato Oct 5, 2024 @ 3:20pm 
Thank you so much :steamthumbsup:
I also switched drives, and experienced this exact error. Solution worked. Thanks dude
Concrete Oct 25, 2024 @ 4:58pm 
dude thanks so much
ethansiad98 Oct 26, 2024 @ 1:11am 
Originally posted by Lif3snatcher:
i created this script to handle it for me
create a new text file past this in inside without quotations marks and rename from .txt to .bat then right click run as admind and tell it where the install folder is located.
"@echo off
echo Please enter the Steam installation folder for Call of Duty.
echo For example, if your Steam library is located in D:\SteamLibrary, enter: D:\SteamLibrary\steamapps\common\Call of Duty HQ
set /p INSTALLDIR="Enter the folder location: "
if "%INSTALLDIR%"=="" (
echo No folder location was entered. Exiting.
exit /b
)
echo You have entered: %INSTALLDIR%

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

echo Randgrid installing
sc create atvi-randgrid_sr 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_sr D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
if %errorlevel% neq 0 (
echo Failed to update service permissions.
exit /b
)

pause
"
Man, If i was gày, I would suck you D, thank you finallyyyyyyyyyyyyy!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I gifted you all my steam points take my points u genius
Fabix-Ninja Oct 27, 2024 @ 4:16am 
Originally posted by Lif3snatcher:
i created this script to handle it for me
create a new text file past this in inside without quotations marks and rename from .txt to .bat then right click run as admind and tell it where the install folder is located.
"@echo off
echo Please enter the Steam installation folder for Call of Duty.
echo For example, if your Steam library is located in D:\SteamLibrary, enter: D:\SteamLibrary\steamapps\common\Call of Duty HQ
set /p INSTALLDIR="Enter the folder location: "
if "%INSTALLDIR%"=="" (
echo No folder location was entered. Exiting.
exit /b
)
echo You have entered: %INSTALLDIR%

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

echo Randgrid installing
sc create atvi-randgrid_sr 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_sr D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
if %errorlevel% neq 0 (
echo Failed to update service permissions.
exit /b
)

pause
"
Can you help me with this? Please
Originally posted by Lif3snatcher:
i created this script to handle it for me
create a new text file past this in inside without quotations marks and rename from .txt to .bat then right click run as admind and tell it where the install folder is located.
"@echo off
echo Please enter the Steam installation folder for Call of Duty.
echo For example, if your Steam library is located in D:\SteamLibrary, enter: D:\SteamLibrary\steamapps\common\Call of Duty HQ
set /p INSTALLDIR="Enter the folder location: "
if "%INSTALLDIR%"=="" (
echo No folder location was entered. Exiting.
exit /b
)
echo You have entered: %INSTALLDIR%

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

echo Randgrid installing
sc create atvi-randgrid_sr 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_sr D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
if %errorlevel% neq 0 (
echo Failed to update service permissions.
exit /b
)

pause
"
Thats a nice way to do this!
Fabix-Ninja Oct 27, 2024 @ 7:35am 
Originally posted by Fabix-Ninja:
Originally posted by Lif3snatcher:
i created this script to handle it for me
create a new text file past this in inside without quotations marks and rename from .txt to .bat then right click run as admind and tell it where the install folder is located.
"@echo off
echo Please enter the Steam installation folder for Call of Duty.
echo For example, if your Steam library is located in D:\SteamLibrary, enter: D:\SteamLibrary\steamapps\common\Call of Duty HQ
set /p INSTALLDIR="Enter the folder location: "
if "%INSTALLDIR%"=="" (
echo No folder location was entered. Exiting.
exit /b
)
echo You have entered: %INSTALLDIR%

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

echo Randgrid installing
sc create atvi-randgrid_sr 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_sr D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
if %errorlevel% neq 0 (
echo Failed to update service permissions.
exit /b
)

pause
"
Can you help me with this?


Originally posted by Tschaturanga aka Tschati:
Originally posted by Lif3snatcher:
i created this script to handle it for me
create a new text file past this in inside without quotations marks and rename from .txt to .bat then right click run as admind and tell it where the install folder is located.
"@echo off
echo Please enter the Steam installation folder for Call of Duty.
echo For example, if your Steam library is located in D:\SteamLibrary, enter: D:\SteamLibrary\steamapps\common\Call of Duty HQ
set /p INSTALLDIR="Enter the folder location: "
if "%INSTALLDIR%"=="" (
echo No folder location was entered. Exiting.
exit /b
)
echo You have entered: %INSTALLDIR%

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

echo Randgrid installing
sc create atvi-randgrid_sr 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_sr D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
if %errorlevel% neq 0 (
echo Failed to update service permissions.
exit /b
)

pause
"
Thats a nice way to do this!
I don't know how to do this. I tried but it doesn't work for me. If you know how to set this script, help me if you can.
Lif3snatcher Nov 5, 2024 @ 4:47am 
Wow i totally forgot i had even posted that and thanks for the rewards and hilarious responses i need to update most likely since BO6 has release that script may not work correctly anymore i have to look at the files and see how they are sorted now and i'll update it
AkiraJkr Nov 5, 2024 @ 5:32am 
They are still sorted the exact same.
Fabix-Ninja Nov 10, 2024 @ 3:42pm 
Originally posted by Lif3snatcher:
Wow i totally forgot i had even posted that and thanks for the rewards and hilarious responses i need to update most likely since BO6 has release that script may not work correctly anymore i have to look at the files and see how they are sorted now and i'll update it
Can I add you on a Steam to help me with this? Lif3snatcher
Last edited by Fabix-Ninja; Nov 10, 2024 @ 3:42pm
< >
Showing 1-15 of 28 comments
Per page: 1530 50

Date Posted: Jun 14, 2024 @ 9:58am
Posts: 28