Solved

Windows 7 "bat" file in startup folder

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wireless name in LAN adapter 14 70
Need to Purchase Windows 7 or 10 PRO OEM 7 95
Supermicro 91 error 8 37
RAID 1 volatile subkey Windows 7 64 bit 14 35
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…
Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
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…
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…

828 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