Task Scheduler deleting bat file and removing permissions for folder.

Sniper15

New member
Local time
5:04 AM
Messages
1
I have a simple bat file that launches firefox and runs an in-browser macro that logs me on. It's worked flawlessly, at 7am and 3pm every day.
Suddenly today, Task Scheduler launches it and mid-bat file, deletes it.
- I tried to copy paste the macro back in and rename it, it tells me I don't have permission to do that.
- I take ownership of the entire folder, and it still says I don't have permission.
- I created a new folder and put the macros back inside it, and re-made the ask in Task Scheduler. It deleted itself and wrecked the permissions for the new folder.
- I put the tasks themselves under System32. It deleted the bat file again.

- The clock on/clock off bat files work fine when launched manually. Something about the Task Scheduler is screwing them up, even when I hit "Run with the highest privilege" checkbox.

I'm on Windows 7 Home Premium. I've had Windows Updates disabled since January so nothing could have changed overnight like that.
Please tell me someone knows how to fix this and why it's screwed up?
 

My Computer My Computer

At a glance

Windows 7 Home Premium
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium
Hi Sniper,
FF updated 2 days ago, is TS looking at/for the old version??

Roy
 

My Computer My Computer

At a glance

W7 home premium 32bit/W7HP 64bit/w10 tp insid...E5300 dual core3gbNvidia Geforce 7100 Nforce 630i
Computer type
PC/Desktop
Computer Manufacturer/Model Number
medionl/Aspire 6930G/acer x55a
OS
W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
CPU
E5300 dual core
Motherboard
medion MS7366
Memory
3gb
Graphics Card(s)
Nvidia Geforce 7100 Nforce 630i
Monitor(s) Displays
avixc
Internet Speed
n (isp resticted to 72)
Antivirus
mse/pands
Browser
palemoon
Other Info
Belkin Fd7050 n USB using Railink RT2870 drivers, more upto date
Can be your antivirus that found your bat file suspicious.
 

My Computers My Computers

  • At a glance

    Windows 7 HP 64i5 6600K - 800MHz to 4200MHz4+4G GSkill DDR4 3000IG - Intel 530
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    custom build
    OS
    Windows 7 HP 64
    CPU
    i5 6600K - 800MHz to 4200MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500Mb/s
    Browser
    Firefox 64
    Other Info
    TinyWall firewall
  • At a glance

    Windows 7 Proi7-4500U 800MHz to 3.0GHz(4+4)G DDR3 1600IG intel 4400 + NVIDIA GeForce GT 745M
    Computer type
    Laptop
    System Manufacturer/Model Number
    Asus Q550LF
    OS
    Windows 7 Pro
    CPU
    i7-4500U 800MHz to 3.0GHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics Card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs +
    1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox
    Other Info
    TinyWall firewall
Hello Sniper15,

Have you tried rewriting your batch file a couple of times, preferably to algorithms that don’t achieve your goal, and seeing if the problem persists? Does the problem occur if all that the contents of your batch file had was a single “pause” or “echo” statement?

Reduce your batch file to it’s simplest non-functioning form. Upload the batch file to us along with the exported Task Scheduler task. If we can mimic the problem we can solve it.
 

My Computer My Computer

At a glance

Windows 10, Windows 8.1 Pro, Windows 7 Profes...
Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
Back
Top