Solved

Windows 7 "bat" file in startup folder

Posted on 2010-08-20
2
1,087 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 500 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

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
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.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

734 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