I have a program that for the life of me I cannot get to run as a standard user it will only run as an admin.

I've tried to create a task in the task scheduler using this process.

Open up Task Scheduler through the start menu search box (usually you can just type task), and then on the right-hand side click the “Create Task” link.

The first thing you need to do is give the task a short, simple name, preferably without any spaces in it. Then check the box for “Run with highest privileges”

Now switch to the Actions tab, click the New button, and then browse down to the application that you are trying to start.

Close out of the dialog by clicking the OK button, which should create the new task in the list. You can right-click on it and choose “Run” at this point, simply to make sure that it launches the application the way you were expecting.

At this point our scheduled tasks setup is done, so you can close out, just remember the name of task.

Create the Shortcut to Start the Task

Right-click anywhere on the desktop and choose New \ Shortcut from the menu.

Now here’s where the real magic happens… we need to add a command that will run the scheduled task, passing in the name of the task that we used.

Text

schtasks /run /tn “TASKNAMEINQUOTES”

Now give your shortcut some useful name, and then click next to create it.

This will run if I'm an admin, but normal domain user tries to launch the shortcut it just pops up a screen and disappears and never lunches. I've tried to even create a task scheduler to just run cmd and that doesn't work either user can't run any tasks.

I'm at a loss. I've spent days on trying to get this one app (which is our ERP) to run under windows 10. Just isn't working.

The times where I have had this issue with specific software with not much wiggle room, I have just very quietly made the user a power user and most times it has worked. Have you tried adjusting the users privileges without going full-fledged admin? Have you tried editing the permissions of the executable/containing folder(s)?

What user is the task set to run as. If you run it as SYSTEM it should work but if you are running it as a specific user it will probably fail because the user attempting to run has no highest privilege to run it as.

Alternatively see if you can work out why the program fails, maybe you could add permissions on a folder instead to get it to work?

The times where I have had this issue with specific software with not much wiggle room, I have just very quietly made the user a power user and most times it has worked. Have you tried adjusting the users privileges without going full-fledged admin? Have you tried editing the permissions of the executable/containing folder(s)?

I have given the users full rights in the program folder where the .exe is. if a user is an admin it does work, but I'd have to make everyone a admin cause its the ERP that everyone uses.

I have given the users full rights in the program folder where the .exe is. if a user is an admin it does work, but I'd have to make everyone a admin cause its the ERP that everyone uses.

Have you checked if there is a registry key they might need access to?

OP, if you haven't done this before, it's really easy. Just download and run Process Monitor (free from SysInternals), run it, start the trouble program, press Ctrl+E in the ProcMon window, and filter by process name. It'll tell you all of the registry keys and files that the process tried to access, the action it tried (read/write/etc), and whether or not it was successful.

Trying to use process monitor to figure this out. I have the normal users logged in. I run the application as the user. It pops up and asks for admin right to run the app. I see nothing at this point in process monitor that is not working or denied. I go ahead and type the admin credentials in and the program launches. LOTS of data in process monitor, but I don't see anything denied. (is that cause at this point its running as a admin and rights are granted as needed) If so how do I find what is being denied as the user?

Trying to use process monitor to figure this out. I have the normal users logged in. I run the application as the user. It pops up and asks for admin right to run the app. I see nothing at this point in process monitor that is not working or denied. I go ahead and type the admin credentials in and the program launches. LOTS of data in process monitor, but I don't see anything denied. (is that cause at this point its running as a admin and rights are granted as needed) If so how do I find what is being denied as the user?

What user is the task set to run as. If you run it as SYSTEM it should work but if you are running it as a specific user it will probably fail because the user attempting to run has no highest privilege to run it as.

Alternatively see if you can work out why the program fails, maybe you could add permissions on a folder instead to get it to work?

BTW I did change the task to SYSTEM and the user still can't run the task.

If its an ERP, that means it has custom codes/scripts in it. Those files could be calling who knows what to run the program correctly. I hate to say it, but I would quietly make them admins and use GPO's to trick the rest into thinking its a normal user profile.

Procmon does request admin cred. Which I supply then lunch the app. Then ERP asks for creds. too.

Procmon requires admin creds. ERP should require any additional credentials if you're running it as a regular user. Did you disable the task you set up?

I did disable all tasks. Back to my beginning problem. If a normal users on a new copy of windows 10 with the ERP installed tries to launch the application it prompts for a username and password See here

Procmon does request admin cred. Which I supply then lunch the app. Then ERP asks for creds. too.

Procmon requires admin creds. ERP should require any additional credentials if you're running it as a regular user. Did you disable the task you set up?

I did disable all tasks. Back to my beginning problem. If a normal users on a new copy of windows 10 with the ERP installed tries to launch the application it prompts for a username and password See here

Vendor doesn't support windows 10. Requires a upgrade to the ERP which will cost a couple hundred thousand when all said and done with customizations and what have you.

Jackal,Not sure what you mean by create an account just for that.

So if I back up a notch back to my original post. Shouldn't I be able to create a schedule task just to launch a CMD prompt that has elevated "admin" rights? IE Run as Admin? If I could do that I can create a script that would run the app in question. But right now I have the task and it runs fine for me, but if a user runs it doesn't run.