Getting Past Software Restriction Policies





Introduction: Getting Past Software Restriction Policies

About: Twitter: _randName_

Those schools with a good IT background (has FTP for students e.g.) would usually set Software Restriction Policies on the computers to limit students (in forms of Games, malicious software or hacking). The main thing that students get irritated at is the inability to play games on the school computers. Of course, when you are supposed to do work, you'd better do so. There is also the frustration of not being able to run productivity applications (e.g. notepad++). Then there are also offices which have them. I shall not elaborate, as I am a mere student. The troubles are, however, still similar.

I will demonstrate a generic method to get past the SRP, and some short cuts and tips to improve speed and efficiency. I AM NOT LIABLE FOR YOUR USE OF THIS INSTRUCTABLE

UPDATE: For speedy tips, go to step 4.

Step 1: Checking Restriction Type

The first thing you should do is to check how far you are restricted. If you are restricted too far, even this instructable may not help you.

1) If you are in school, and there is a IT subject that they have there, check if they are learning a programming language that involves executables (e.g C++, Basic, Batch) . Ask one of the students of there is a certain filename that enables them to run the program that they compiled, and where does the special filename work (e.g in the computer labs only).

I had the luck (~whatever~ *rolls eyes*) of learning C++, and we needed to name the compiled file "cpp1.exe" (where 1 could be another 1 digit number) to be able to run it. Unfortunately, that only worked in a particular computer lab, and I had to change the program name everytime I ran it. It was troublesome...

2) If the above does not work, or that you feel it is not the best solution like me, what you should do an elementary check of is whether you can run from the temporary directory. The simplest way to do this is to get a standalone program (one that does not need DLLs or Binaries to run) and send it to a zipped archive. Then try to run it directly from the .zip file. If it works, you are in luck and most likely on the way to running full programs on the computers.

3) If all tests do not work, sorry, I have not met the circumstances to be able to help you. This instructable will be of no help to you. Sorry. (Even better, write to the admins)

Now you know which method to use. If it is the first, goodbye. I won't be helping you. If it is the second, carry on.

Step 2: Initalising Your Program Files

Now you know you can run your program from the temporary directory. What next? Firstly, make sure your program files are not all over the place. You need them quickly. If you have a whole folder with all the files, don't worry. Who I am directing the above to is those who have programs which share some files, and you don't want to be copying extra stuff.

With that settled, you have one more thing to do. Zip an executable like for the test, and don't close it or any warning messages that appear due to missing runtime files. If you do not have one handy, just open Notepad, type "PAUSE" and save it as a batch file (extension .bat) and zip it. Once the program is running, go to Explorer, type %TMP% in the address bar and go. This is your temporary folder. If you have "Show Hidden Files and Folders" activated in Folder Options, you will see a directory named "Temporary Directory n for x" where n is just a number (usually 1) and x is the name of your zip which you ran the program from. If you cannot see it, just type it directly into the address bar. We will thus call this folder "tmpdir"

Ok, for those who really need to see pictures, here they are. The zip is (from previous step).

Step 3: Run! (no, Not Literally)

Yay! You are almost there! Now it is almost done. Now, copy all your DLLs, runtime files etc into tmpdir. Also, you must check if is the main program in the original program folder, as some programs have a "Program" directory with all the programs in it, and thus everything else needs to be one folder up in the folder hierarchy (in this case, copy it into the %TMP% directory).

Now, either take the risk and close the error, quickly run the program and pray for everything to fall into place; or run the main exe in tmpdir and wait for it to finish loading, then close the error.

If all the above went well, then congrats! You can now run your favourite program (whether productivity apps or games) in either school, office or elsewhere.

For an even shorter method that I just found out, go on.

Step 4: A Shortcut

Actually, you could have just copied everything into the %TMP% folder. Why bother with tmpdir?

Well, I had a few reasons for using the tmpdir for so long and not experimenting with it. It was because tmpdir is good for emergency plug outs: the folder is destroyed once the exe is closed. This is good when you want to go stealth.

So, there is your warning, but of course you can choose to ignore.

NOTE: I may have edited this, but there may still be updates. Come back in about another week.



    • Oil Contest

      Oil Contest
    • Water Contest

      Water Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    12 Discussions

    If any of you are using Windows 7, use can try the Windows XP mode and if everything goes well then you should be able to pass software restrictions. For example I couldn't run command prompt, but with Windows XP mode I made myself administrator and I slowed the network to a crawl and ran my own products (programs I made) and more.

    I'm not sure if this will help, but I can get past any restrictions by simply placing what you want (EG a folder or file) on the desktop. The computers here automatically delete everything when you log off too.

    lol! great use the run command (its blocked at my school; as is cmd) however, even with the blocked command, using a bat file works. (or copying the file to a new name. (such as copying it to the network folder, then renaming sol.exe to solitarez.exe then it worked for me.

    i just change the names to iexplore.exe, notepad.exe, explorer.exe, etc... you can use the names of just about any windows program without dificulty. i also keep them in neat little folders on my usb drive. (phone, actually... the computer just sees it as a drive)

    7 replies

    I think your method can only work in the WINDOWS\System32 folder on our school computers. And it leaves a trace. Once you close the program, the tempdir is automatically deleted.

    what i meant was, i just copy the folder directly from program files to my usb drive, change the program name, and run the program from that folder on the drive. it works for most of my programs. (firefox, urlsnooper, vlc, ect...) and as far as i can tell, no trace is left, since it's run directly from the usb drive.

    The renaming does not allow the program to be run. And I detest renaming the files anyway.

    well, it's worked for me at every computer i've tried it on. (my school, my sister's school, my mom's work, kodak photo kiosk, and my work)

    Photo Kiosk, never thought about that, next time I get a monster from the drug store I'll have to try that.