?
Solved

Windows 7 "bat" file in startup folder

Posted on 2010-08-20
2
Medium Priority
?
1,093 Views
Last Modified: 2012-05-10
I am trying to run this "bat" file from the startup folder but it will not work because of the User Account Control.  If I turn off UAC and add a security policy to run this "bat" file in elevated mode then it will work.  I don't like the idea of turning off the UAC option so is there any other way to run this?  Here is the bat file I am trying to run:
AT /Del /Yes
AT 06:30 /every:M,T,W,Th,F,S,Su cmd /c C:\AT-CMD\Date-Rtn\STCM-Log.bat

As you can see at 6:30 am every day I want it to run another "bat" file so I figure fixing one of these will fix the other.

This PC is running Windows 7 Pro and is not being used by any users so "running the bat file as administrator option is not possible. They use this PC for file sharing only.
0
Comment
Question by:sambec22
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 3

Accepted Solution

by:
alexfarias earned 2000 total points
ID: 33484992
Create a scheduled task
0
 
LVL 3

Expert Comment

by:alexfarias
ID: 33485021
is simple and will work very well
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
OfficeMate Freezes on login or does not load after login credentials are input.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question