Share via

How to open .rar files in Windows sandbox without needing to install WinRAR every time?

Anonymous
2023-07-26T18:26:01+00:00

I have some rar files that might contain malware. I want to check the contents in windows sandbox. I am pretty new to this and dont know how I can do this without needing to install winrar every time just to open the contents of a rar file.

Windows for home | Windows 10 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

7 answers

Sort by: Most helpful
  1. Rodrigo Queiroz 77,245 Reputation points Independent Advisor
    2023-07-26T19:06:32+00:00

    Hi wadid,

    I'm Rodrigo and I'll help you.

    Windows 10 does not natively read .rar files, you will always need third-party software to be able to open these files in Sandbox mode. A good option is to keep a portable version of 7-zip (which can open .rar files too), copy to the Sandbox and use it to open the .rar files, without installing anything.

    Download 7-zip portable here:

    https://download2.portableapps.com/portableapps...

    The Installer will only extract the files to a folder, copy the 7-zip folder to the Sandbox to use it.

    Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    3 people found this answer helpful.
    0 comments No comments
  2. Rodrigo Queiroz 77,245 Reputation points Independent Advisor
    2023-07-27T14:28:09+00:00

    Yes, I missed this detail, I think some adjustments in the code should do the work. Looks like the project is active, you can make a pull request to implement this.,

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-07-26T21:05:49+00:00

    I did find this project: https://github.com/damienvanrobaeys/Run-in-Sandbox But testing it I found out that winrar rar archives dont work (you dont get offered a context menu for winrar files somehow). winrar.zip and 7zip.rar seems to work (I could only test zip not 7zip.rar).

    Thats a bit a pitty as the project seems pretty helpful. But I dont have a clue what needs to be altered in code.

    0 comments No comments
  4. Rodrigo Queiroz 77,245 Reputation points Independent Advisor
    2023-07-26T20:22:06+00:00

    Well, I tried to use a Sandbox configuration file and winget command to automatically install 7-zip but looks like Sandbox does not support Winget commands.

    0 comments No comments
  5. Anonymous
    2023-07-26T19:53:55+00:00

    Cool thank you! A more automated way would work with scripting I guess?

    0 comments No comments