Solved shutdown in batch file requires Administrator

Remush

New member
Local time
12:33 PM
Messages
6
Hi all,

I've been using GFI Backup 2009 for backups for a while, it does everything I want, and sends email reports after backup is complete.

One of its features is to shutdown the computer after a backup, this rarley works, as it wont shutdown if a program is already running, including GFI backup, so its poorly designed, and no longer supported. I work around this problem with its other shutdown options, which is to run a program at backup completion, I browse to a batch file that contains the following.

shutdown /s /f /t 60

This is working on most of my computers, however I just setup a new system for our community centre running windows 7 with all the latest updates, and on this particular system, when its finished the backup and run the batch file, I see a cmd window appear and it repeats the shutdown command down the cmd window, without actually running it. like this.

shutdown /s /f /t 60
shutdown /s /f /t 60
shutdown /s /f /t 60
shutdown /s /f /t 60
shutdown /s /f /t 60
shutdown /s /f /t 60

However, if I execute the command in a run prompt it works, if I right click on the batch file, and run as Administrator it works.

So I don't know why my other win 7 computers are working fine, and the new one is not.

Any suggestions and comments are very welcome,

Thanks you.
 

My Computer

OS
Win XP 32
What happens if you right click on the GFI Backup 2009 executable and select Properties.
Click on the Compatibility tab and check Run this program as an Administrator?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
[solved]

What happens if you right click on the GFI Backup 2009 executable and select Properties.
Click on the Compatibility tab and check Run this program as an Administrator?

Thanks Ztruker, your solution has worked.

Much appreciated.
 

My Computer

OS
Win XP 32
Great! Thanks for letting me know.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Back
Top