MSFN Forum: FAQ: What is the UAC? - Part2 - MSFN Forum

Jump to content


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

FAQ: What is the UAC? - Part2 How do I disable UAC Prompt for an application Rate Topic: -----

#21 User is offline   Necuima1 

  • Group: Members
  • Posts: 7
  • Joined: 26-June 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 03 July 2010 - 02:01 AM

View PostMagicAndre1981, on 02 July 2010 - 04:45 PM, said:

copy the shortcut the the following folder:

C:\Users\YOURUSERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup


Fantastic!!!! I still get the fleeting message in a window that is hard to read just before the app starts, but start it does, and seems to run just fine. Many many thanks for your advice - much appreciated:-)

A friend suggested using Camstudio2.0 to record what was happening on the screen and it captured the elusive message which says "SUCCESS: Attempted to run the scheduled task" followed by the task name. Is there a way to suppress this message - i.e., stop it from appearing? Thanks again.

This post has been edited by Necuima1: 04 July 2010 - 06:50 PM



#22 User is offline   Necuima1 

  • Group: Members
  • Posts: 7
  • Joined: 26-June 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 July 2010 - 04:43 AM

As per the message above...

A friend suggested using Camstudio2.0 to record what was happening on the screen and it captured the elusive message which says "SUCCESS: Attempted to run the scheduled task" followed by the task name. Is there a way to suppress this message - i.e., stop it from appearing?

Thanks in anticipation.

#23 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 22 July 2010 - 08:45 AM

you mean the cmd window? Open the properties of the shortcut and select "start minimized".

#24 User is offline   Necuima1 

  • Group: Members
  • Posts: 7
  • Joined: 26-June 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 23 July 2010 - 04:08 PM

View PostMagicAndre1981, on 22 July 2010 - 08:45 AM, said:

you mean the cmd window? Open the properties of the shortcut and select "start minimized".


Ahhh - yes, that fixed it - many thanks again!!

#25 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 23 July 2010 - 05:25 PM

You're welcome :)

#26 User is offline   rayg 

  • Group: Members
  • Posts: 1
  • Joined: 04-September 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 September 2010 - 12:25 AM

Hi Andre

This is may be too late for the thread but shortcut works fine from desktop (THANKS) but not from Startup
I've checked it in there from both the link above and also / All Programs / Startup
Not sure if you have had this problem before with any of your programs

#27 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 05 September 2010 - 07:35 AM

Hi,

I have no issues with the startup folder. What is not working?

André

#28 User is offline   lee911 

  • Group: Members
  • Posts: 2
  • Joined: 26-September 10
  • OS:Vista Home x86
  • Country: Country Flag

Posted 26 September 2010 - 09:11 PM

With a bit of trial and error, this works for me. And it worked inside the Startup folder as well. One question though and I suspect this may be a problem with the software I'm launching. In properties, I have "run/Minimized" selected but it does not minimize. Is there any fix for this? Or it is what it is?

I'm running Vista Home. And the software is called Active Home Pro (X10 Home Automation software0.

Thanks
Lee

#29 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 27 September 2010 - 03:45 AM

the minimize belongs to the cmd window of schtask.exe not the tool your are running. Does it have a commandline parameter to start it minimized?

#30 User is offline   lee911 

  • Group: Members
  • Posts: 2
  • Joined: 26-September 10
  • OS:Vista Home x86
  • Country: Country Flag

Posted 27 September 2010 - 10:35 PM

@MagicAndre1981: I wouldn't even know where to look for that?

#31 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 28 September 2010 - 10:40 AM

look at the Active Home Pro documenation

#32 User is offline   ggbal 

  • Group: Members
  • Posts: 2
  • Joined: 11-December 10
  • OS:none specified
  • Country: Country Flag

Posted 11 December 2010 - 04:43 PM

I followed the step. But still the standard user gets the UAC prompt saying the publisher is unverified. Here is the task xml.

Please help.

<?xml version="1.0" encoding="UTF-16" ?>
- <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
- <RegistrationInfo>
<Date>2010-10-07T22:37:54.9815795</Date>
<Author>MyDomain\User</Author>
</RegistrationInfo>
<Triggers />
- <Principals>
- <Principal id="Author">
<UserId>MyDomain\User</UserId>
<LogonType>InteractiveToken</LogonType>
<RunLevel>HighestAvailable</RunLevel>
</Principal>
</Principals>
- <Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
- <IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>P3D</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
- <Actions Context="Author">
- <Exec>
<Command>"C:\Tools (x86)\BJ\TdxW\TdxW.exe"</Command>
</Exec>
</Actions>
</Task>

Thanks,

GG

#33 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 11 December 2010 - 05:36 PM

this is correct. Standard suers have no 2 tokens, so <RunLevel>HighestAvailable</RunLevel> is user rights adnd you get the UAC prompt. This workaround only works for users which are part of the admin group.

#34 User is offline   ggbal 

  • Group: Members
  • Posts: 2
  • Joined: 11-December 10
  • OS:none specified
  • Country: Country Flag

Posted 11 December 2010 - 07:30 PM

Thanks for the quickly reply. So for standard user, is there any solution for this problem?

#35 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 11 December 2010 - 08:43 PM

no

#36 User is offline   RD9678 

  • Group: Members
  • Posts: 1
  • Joined: 06-February 11
  • OS:none specified
  • Country: Country Flag

Posted 26 February 2011 - 02:01 PM

I have followed your steps. When I log in with the account with Admin Privileges this works. When I log in with the standard user privileges and get to the Actions Tab step, click on OK, and I see "Task schedule cannot create the task. The user account is unknown, the password is incorrect, or the user account does not have permission to create this task". I have switched to the admin account with the Create Task window and still get the same error. I try importing the task from the windows scheduler where I created the initial autoElevate task, and it imports until I get to the step to click OK, and then I get the same error message as above. I seem to be doing something incorrectly.

#37 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 27 February 2011 - 07:22 AM

When you run with standard user rights, this doesn't work, because only admin have the 2 tokens. You can select "Run whether the user is logged on or not" and pick the admin account. With this you can run programs, but you don't see the GUI. So this is only helpful for background tasks.

#38 User is offline   Chip 

  • Group: Members
  • Posts: 2
  • Joined: 16-June 11
  • OS:none specified
  • Country: Country Flag

Posted 16 June 2011 - 03:29 PM

Andre, thanks for this information!! This is very useful!

I used this procedure successfully for one of my own programs. However, I have another 3rd-party program that I would like to add. That program expects an ini file to be in the program's startup directory. Presently, the shortcut says that my startup directory is "C:\WINDOWS\SYSTEM32". Right-clicking on the startup icon and changing the startup directory doesn't seem to do the job. I prefer not to copy the ini file to the System32 directory unless I have to. Any suggestions?


------------------------

Never mind!! Ignore my question and please ignore the duplicate "ignore me" post. I just joined the forum.

I found the location in the MMC Taskscheduler where I can set the startup directory.

Thanks again for this very helpful post!


Chip

This post has been edited by Chip: 16 June 2011 - 03:36 PM


#39 User is offline   Chip 

  • Group: Members
  • Posts: 2
  • Joined: 16-June 11
  • OS:none specified
  • Country: Country Flag

Posted 16 June 2011 - 03:34 PM

Never mind!! Ignore my question.

I found the location in the MMC Taskscheduler where I can set the startup directory.

Thanks again for this very helpful post.

Chip

-----------
Is there a way to delete a duplicate posting?

This post has been edited by Chip: 16 June 2011 - 03:37 PM


#40 User is offline   Zilver 

  • Group: Members
  • Posts: 1
  • Joined: 01-September 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 September 2011 - 05:36 AM

Thanks a ton, this was very useful to me :thumbup

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy