Can no longer run batch files unless as administrator

DaleM

New member
Local time
4:53 PM
Messages
10
Windows 7 64-bit Home Premium - Dell 660 w/i5 Intel - 8GB RAM

I've been running the same batch files for several years with the same login account. Now, all of a sudden, I have to run them as administrator. My personal account already is an 'administrator' and not a standard user account.

These batch files are for various backups I make daily and all use the 'robocopy' command. Why, now, do I have to right-click a batch file and run it as administrator when I never had to before? I haven't had any recent updates to Windows. Not that big a deal but my curiosity is piqued.
 

My Computer My Computer

At a glance

Windows 7 Home Premium 64-biti58GBNVIDIA GeForce GTX 960
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium 64-bit
CPU
i5
Motherboard
Dell
Memory
8GB
Graphics Card(s)
NVIDIA GeForce GTX 960
Hard Drives
Crucial 500GB SSD
Antivirus
Microsoft Security Essentials
Browser
IE 10

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bit 7601 ...AMD C-60 APU with Radeon(tm) HD Graphics4.00 GBAMD Radeon HD 6290 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware
Post #5 was essentially the same issue. Reading on to post #8 got me to thinking though. I had set the PATH command to be able to run SCANPST.EXE to repair some Outlook 2010 .PST files and Windows could never find the SCANPST.EXE file when running the OLFix Outlook-Reperatur.exe program so I had set the path to the location of SCANPST.EXE.

For some reason I could run the batch files by running them as administrator but not by double-clicking the batch file itself. Apparently Windows wasn't finding the 'robocopy.exe' program due to the PATH variable being set. Remove the PATH entry, rebooted, and now it's working fine.

Guess I'll just have to remember that when/if I ever need to fix an Outlook .PST file again.

Thanks for the help.
 

My Computer My Computer

At a glance

Windows 7 Home Premium 64-biti58GBNVIDIA GeForce GTX 960
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium 64-bit
CPU
i5
Motherboard
Dell
Memory
8GB
Graphics Card(s)
NVIDIA GeForce GTX 960
Hard Drives
Crucial 500GB SSD
Antivirus
Microsoft Security Essentials
Browser
IE 10
Back
Top