MagicAndre1981 Posted September 28, 2010 Author Share Posted September 28, 2010 look at the Active Home Pro documenation Link to comment Share on other sites More sharing options...
ggbal Posted December 11, 2010 Share Posted December 11, 2010 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 Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted December 11, 2010 Author Share Posted December 11, 2010 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. Link to comment Share on other sites More sharing options...
ggbal Posted December 12, 2010 Share Posted December 12, 2010 Thanks for the quickly reply. So for standard user, is there any solution for this problem? Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted December 12, 2010 Author Share Posted December 12, 2010 no Link to comment Share on other sites More sharing options...
RD9678 Posted February 26, 2011 Share Posted February 26, 2011 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. Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted February 27, 2011 Author Share Posted February 27, 2011 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. Link to comment Share on other sites More sharing options...
Chip Posted June 16, 2011 Share Posted June 16, 2011 (edited) 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 Edited June 16, 2011 by Chip Link to comment Share on other sites More sharing options...
Chip Posted June 16, 2011 Share Posted June 16, 2011 (edited) 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? Edited June 16, 2011 by Chip Link to comment Share on other sites More sharing options...
Zilver Posted September 1, 2011 Share Posted September 1, 2011 Thanks a ton, this was very useful to me Link to comment Share on other sites More sharing options...
aliceccentric Posted October 14, 2011 Share Posted October 14, 2011 Awesome tip. Thanks; it worked beautifully! Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted October 14, 2011 Author Share Posted October 14, 2011 you're welcome Link to comment Share on other sites More sharing options...
anotherusername Posted December 24, 2011 Share Posted December 24, 2011 This doesn't work at all on my computer. I followed every step and it doesn't make any difference. You still have to answer the question about allowing programs to run.I don't know what else to post here. Is there some kind of log or something I can post that would show what's going on? Link to comment Share on other sites More sharing options...
MagicAndre1981 Posted December 24, 2011 Author Share Posted December 24, 2011 don't run the original program. run it with the schtask command. Link to comment Share on other sites More sharing options...
Incriminate Posted August 21, 2012 Share Posted August 21, 2012 This has been annoying me for a long time, while it takes a little time to set up. It means no more UAC for me Thanks AndréAnd for the guy that didn't know how to write the "é", press Alt Gr + E Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now