Solved

Windows 7 "bat" file in startup folder

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

776 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