Access untrusted publisher application in windows10 | Nagarams Blog

Wednesday 7 September 2016

Access untrusted publisher application in windows10

Rate this Post:


Recently I encountered a situation in windows 10. I tried to install D-Link USB modem in Windows 10 but it blocked the installation saying "For your own protection the application is blocked because it is from un-trusted publisher".
Access untrusted publisher application in windows 10
I googled for help, then installed the modem by sign-in to the Administrator account by activating it via command prompt. Then modem application is working well in admin A/C. When i switch back to user A/C (Which also had Admin rights) try to open the application, then it says again the same message.

Then i tried the way explained in our old post "How to give Admin rights to a specific User or All Users for an Application". but it didn't work well.

Finally I tried a way which work. I will explain the procedure from Installation Application as Admin onward.

Install Application in Admin A/C:

The Built-In Administrator A/C is not active by default, we have to activate it form user A/C.

1. Click on Start Menu, Type CMD, then right click on Command Prompt, click on RUN AS ADMINISTRATOR, click CONTINUE on pop up window.
2. In command Prompt type
net user administrator /active:yes
then press ENTER. You can set password to Admin A/C by typing (It is optional)
net user administrator yourpasswordhere
3. Now, Log-off the user A/C. Click START menu, Click on the USER name on the TOP, Right click, click on Log-off

4. Click on the Administrator A/C. Install the application in general procedure.
5. log-off Admin A/C. Log-in to user A/C

Now try to open the application you just installed either normally or run as administrator. if it open then fine if not then follow the below procedure.

1. Right click on the Application short cut on desktop then copy the complete path from target

Or
get the complete path from the respective directory
2. Open the NOTEPAD. paste the path in it
3. save it as a batch file by selecting file type as ALL & enter the file name with .BAT extension  "anyname.bat"
4. then run the batch file as admin then application will run.

if you want to give admin rights to this batch file to avoid repeating right click, run as admin and all, then

1.Create the shortcut of batch file on desktop or some where.
2. Right click on shortcut file, open properties
3. click on ADVANCED as shown in above figure

4. TICK on Run as admin, then OK

you can also change the icon by clicking the change icon in shortcut properties.

then you don't have to run the shortcut file of application as admin.

now you can run the application which is blocked by windows 10 via command prompt.

finally you can disable the Built-in Administrator A/C, if you don't want to see two A/Cs on welcome window by typing 
net user administrator /active:no
in COMMAND PROMPT from user A/C by running command prompt as admin.

Other wise simply

Open command prompt as ADMIN, then type the entire path in it then press enter. It will open. But you have to do this every time when ever you want to open the application

You may also like:
Thank you
Please leave your comments

No comments :

Post a Comment