New
#80
Fixed it went for an ordinary link directly to app and now it works.
Cheers for speedy help on this one.
If you get chance can you view my other ticket and give me your expert advice please ?
Cheers
@Brink
I read this useful tutorial in the past even on Windows 7 Forums and especially I successfully applied Method 2: "To Create Elevated Shortcut for User using runas Command".
Pardon me if I have missed something but could it be applied also to "wushowhide.diagcab"?
I tried unsuccessfully.
If you know a way.
Thanks.
Hello,
I am wondering why the command parameters has to be specified this way:
when running a program using CMD program, one can only useCode:/c start "Task Name" "Full path of application file"
RegardsCode:/c "Full path of application file"
Jaime
Hello Jaime,
I have always had success with "start" included in the command in Task Manager, while it may not always work without it. Basically, just to make sure the task's script runs.
The start command can be used to run a command/batch file (task script in this case) in a separate command window or to launch an application from command line.
@Brink,
I have written CMD and VBScript files that can automatically create an elevated app shortcut with no UAC prompt. They apply to built-in apps such as Command Prompt, PowerShell, and Registry Editor as well as third-party apps such as WAU Manager. Users just have to take three steps:
1. Double-click on the script file "Create an elevated shortcut.cmd".
2. Enter the application's name, to be used as the task name and shortcut name.
3. Enter the application's full path.
Then, the scripts will create a scheduled task with highest privileges and a CMD file, used as a shortcut, on the desktop. The scripts are in this attached file: Create_an_elevated_shortcut.zip. Would you consider including it in this tutorial?
PS A small problem in my deleted post has been fixed in this post.
Last edited by Matthew Wai; 24 Jan 2020 at 02:28.