J4NY4R Posted June 1, 2015 Share Posted June 1, 2015 Hi thereThere is a batch file that is to be runned from C:\ directory. It is going to install a driver. (The batch file with some other needed files are in a folder)@devcon remove root\mcamvusb@devcon install mcamvusb.inf root\mcamvusbBut when running as administrator the .bat file, just the command prompt opens and closes without doing more. If I copy/paste the files to system32 directory and run the .bat file from direcory "C:\Windows\System32" everything is Ok. How can I run the batch file from "C:" drive? Link to comment Share on other sites More sharing options...
knowledge-Spammer Posted June 1, 2015 Share Posted June 1, 2015 Hi thereThere is a batch file that is to be runned from C:\ directory. It is going to install a driver. (The batch file with some other needed files are in a folder)@devcon remove root\mcamvusb@devcon install mcamvusb.inf root\mcamvusbBut when running as administrator the .bat file, just the command prompt opens and closes without doing more. If I copy/paste the files to system32 directory and run the .bat file from direcory "C:\Windows\System32" everything is Ok. How can I run the batch file from "C:" drive?can u not just add it to C:\Windows\Setup\Scripts?post the .bat file and were u want it to go ill make it in to a exe if it helps u and i think i can bypass the administrator so it not need to run as admin do u need it to run one time or more ? Link to comment Share on other sites More sharing options...
J4NY4R Posted June 1, 2015 Author Share Posted June 1, 2015 Let me clarify the story. To crack a software, the instructions is as: 1. Installing the software2. Copy/pasting the cracked files over the original ones in the installed directory3. Installing the USB emulator (you can download it here) The issue is about the 3rd step. According to instructions, the above "USB-Emul_Win64" folder should be placed in C:\ directory and then run as admininstor the install.bat file (It must be done in "disable driver signature enforcement" mode). In Windows 7 x64 everything goes well but in Windows 8.1 x64 no! The install.bat file does not install the driver but if I instead of C:\ directory paste the content of "USB-Emul_Win64" folder to C:\Windows\System32 directory, then install.bat file installs the driver. Why I can't run the batch file from any directory except ...\System32? (As I said in Windows 7 x64 it is done well) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.