Saturday, 1 December 2012

Solution to RIP Games NPSWF32 Error

The game data is usually compressed and then packed up in pirated copies. The usual rant about a flaw in RIP 4 Games is that it throws up an error as follows,

'Unable to create folder 'NPSWF32\'  The system cannot find the path specified.'

This is followed by,

.RipForGames.bat Not Founded

This happens only in Windows Vista/7, its because of an issue with privacy / security settings. The batch file is denied permission to create its own directory, the solution however is easy, if you understand what you are doing obviously.

First of all we need the location that needs permission, let's start by downloading 7-zip (a freeware). 

  1. Now, extract and install 7-zip onto your system.
  2. Go to the folder in which the "Setup.exe" for the game is present
  3. Right click on the "Setup.exe" 
  4. Select 7-zip -> Extract to "/Setup"
  5. Now you'll find a folder "Setup", open it and you'll find two files and a folder in it
  6. Now double-click the file name ".text" and it should show the "Open With" dialog box
  7. Select "Wordpad" or "Notepad" (Notepad would make the text look very garbled, so I recommend using Wordpad)
  8. Now the file would open, search for "NPSWF32" inside the document, when it is found, look at the entire line, it should contain a directory
  9. Usually, it would be

(If yours is the same, then to make it simpler download this, run it as Administrator and it'll do all the command prompt work for you.)

Where C: is the Windows Directory, now this is the directory which the Setup needs, so we have to create it and give access to it. 

There are 2 ways to do this,

1. Command Prompt
2. Windows Explorer

1. Command Prompt:

This makes use of command prompt in your OS to give the necessary permissions in the required locations.

First we have to take hold of WinSxS folder, so type in,

takeown /f C:\Windows\WinSxS /r /d y

Now after taking ownership, we have give Access Control (Permissions)

so, type this (after the first command has been executed)

icacls C:\Windows\WinSxS /grant administrators:F /t

Next, we have to create a directory named "WMSET10" in it, create it after browsing to "C:\Windows\WinSxS" or using command prompt (md command)

Now that you've created WMSET10, you'll have to create "wpdmtp" in it, this again needs permission, so now type in,

takeown /f C:\Windows\WinSxS\WMSET10 /r /d y


icacls C:\Windows\WinSxS\WMSET10 /grant administrators:F /t

Next we have to create wpdmtp folder, and then we type in the following to grant permission to it,

takeown /f C:\Windows\WinSxS\WMSET10\wpdmtp /r /d y

icacls C:\Windows\WinSxS\WMSET10\wpdmtp /grant administrators:F /t

Now, we have to create "xscan-xp", follow the same steps as above, create the folder, now give permission using

takeown /f C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp /r /d y

icacls C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp /grant administrators:F /t

Next, create NPSWF32 in same way, using this give permission

takeown /f C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp\NPSWF32 /r /d y

icacls C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp\NPSWF32 /grant administrators:F /t

You are now all set, create the final Batch file in it. To do this, open NotePad (Run Dialog Box, type Notepad)

Go to File -> Save as and Type in Filename as "ak47.bat"
Now in Save As Type select "All Files"

Save it in C:\Windows\WinSxS\wpdmtp\xscan_xp\NPSWF32, you are now all set and done.

Now run you game's Setup.exe and it should install without any problems!


2. Windows Explorer

This is a lot more easier in my view, it should work if you hold an administrator account. So, now after getting to know the directory which is needed to be created (in my case), that is,


Navigate to C:\Windows, now right click on WinSxS, and follow as in screenshots.

Go to Security Tab and then Click on "Edit"

Highlight Users (Computer_Name\Users)

Check "Full Control" in the Permissions for Users and click "Apply" & "Ok"

Now a dialog box should pop up like below,

Click Yes and confirm if needed.

Do the same by creating the consecutive folders, going to their properties, changing the Security/Permission and in the end create the batch file as follows.

To do this, open NotePad (Run Dialog Box, type Notepad)

Go to File -> Save as and Type in Filename as "ak47.bat"
Now in Save As Type select "All Files"

Save it in C:\Windows\WinSxS\wpdmtp\xscan_xp\NPSWF32, that's it.

Now you can install the game, problem fixed!! Any queries? Let me know below in comments or contact me


  1. 10xxxxxxxxxxxxxxxxxxx veryyyyyyyyyyyyyy much

  2. hello there thanks, mmmm the .bat is doing its job, but i also try the 2nd method via win explorer, at the properties of winsxs i cant change or edit the checkbox... thanks

  3. in my computer cannot

  4. were should i paste the fix-bat file?

  5. cannot find the folder wpdmtp in winsxs folder....pls help


  6. thank you so much i am so happy you guys are so helpfulllllllllll

  7. i cant thank you enough my friend

  8. This comment has been removed by the author.

  9. I found it works if you don't create the ak47.bat file yourself - setup.exe will do that.
    Paste the following into a batch file (ie. 'fix.bat') to achieve all this:

    takeown /f C:\Windows\WinSxS /r /d y
    icacls C:\Windows\WinSxS /grant administrators:F /t

    md C:\Windows\WinSxS\WMSET10
    takeown /f C:\Windows\WinSxS\WMSET10 /r /d y
    icacls C:\Windows\WinSxS\WMSET10 /grant administrators:F /t

    md C:\Windows\WinSxS\WMSET10\wpdmtp
    takeown /f C:\Windows\WinSxS\WMSET10\wpdmtp /r /d y
    icacls C:\Windows\WinSxS\WMSET10\wpdmtp /grant administrators:F /t

    md C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp
    takeown /f C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp /r /d y
    icacls C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp /grant administrators:F /t

    md C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp\NPSWF32
    takeown /f C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp\NPSWF32 /r /d y
    icacls C:\Windows\WinSxS\WMSET10\wpdmtp\xscan_xp\NPSWF32 /grant administrators:F /t


  10. You are just awesome.......Thank you very much

  11. You are a masterpiece

  12. nfs carbon setup file not opening
    7zip show error- access is deined
    I take full permission & create folders in winsxs

  13. when i open the text file it shows some weird language help

    please reply

  14. Thanks yarrrrr.......... NPSWF32 problem solved but it still shows the error rip for games.bat not found....... How to solve

  15. Thanks U very much

  16. When i type

    C:\Users\admin>takeown /f C:\Windows\WinSxS /r /d y
    ERROR: The current logged on user does not have ownership privileges on
    the file (or folder) "C:\Windows\WinSxS".

    help me with this. by maillimg o

  17. Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\admin>takeown /f C:\Windows\WinSxS /r /d y
    ERROR: The current logged on user does not have ownership privileges on
    the file (or folder) "C:\Windows\WinSxS".

    Help me by e-mailing on


Thank or comment your problem...