Shutdown Shortcut behavior when executed

tonyolson

New Member
I created a desktop (shutdown) shortcut on both my desktop and laptop PC's both running Vista Home Premium.

On my desktop I click the shortcut and get a shutdown will occur in "X" minutes message (I'm paraphrasing) and everyting is shut down in an orderly manner.

On my laptop using a wireless keyboard and mouse (the reason I really wanted the shortcut) I click on the shortcut and get a "open file- security warning" - Do you want to open this file?

I've been checking security settings on both PC's but have been unable to get rid of this Security warning dialog box on my laptop.

Any ideas? :huh: Thanks.

Tony
 

My Computer

Hi Tony,

Right click on the shortcut and click on Properties. Under the General tab, if you have a Unblock button, click on it to unblock the shortcut to allow it run normally.

Hope this helps,
Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Thanks again for the rapid reply Brink. I created the (desktop) Shutdown shortcut as you instructed and I did see an "unblock" button under the General tab in it's properties. I clicked on it to unblock it and closed/saved the shortcut.

I clicked on the shortcut and got the same "open file- security warning" - Do you want to open this file?" message as before.

I think I may do a "repair" Vista install on my laptop and try this again.

On my desktop this shutdown shortcut does appear to work without the unblock command button in the properties (which probably has nothing to do with the problem on my laptop). I used the Vista shortcut wizard to create both with the command "shutdown.exe -s -t 01".

Tony
 

My Computer

Strange. You would get that message if the shortcut had the Unblock still, but you should not have it after you extracted the Shutdown shortcut from the ZIP file, or when you have created the shortcut manually. Do you have UAC turned on in your laptop?
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Did you create the shortcut on your desktop and copy it to your laptop?
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro X64 Insider Preview (Skip Ahead) latest build
    Manufacturer/Model
    The Beast Model V (homebrew)
    CPU
    Intel Core i7 965 EE @ 3.6 GHz
    Motherboard
    eVGA X58 Classified 3 (141-GT-E770-A1)
    Memory
    3 * Mushkin 998981 Redline Enhanced triple channel DDR3 4 GB CL7 DDR3 1600 MHz (PC3-12800)
    Graphics Card(s)
    eVGA GeForce GTX 970 SSC ACX 2.0 (04G-P4-3979-KB)
    Sound Card
    Realtek HD Audio (onboard)
    Monitor(s) Displays
    2 * Lenovo LT2323pwA Widescreeen
    Screen Resolution
    2 * 1920 x 1080
    Hard Drives
    SanDisk Ultra SDSSDHII-960G-G25 960 GB SATA III SSD (System)
    Crucial MX100 CT256MX100SSD1 256GB SATA III SSD (User Tree)
    2 * Seagate Barracuda 7200.12 ST31000528AS 1TB 7200 RPM SATA II Mech. HD
    Seagate ST1500DL001-9VT15L Barracuda 7200.12 1.5 TB S
    PSU
    Thermaltake Black Widow TX TR2 850W 80+ Bronze Semi-Mod ATX
    Case
    ThermalTake Level 10 GT (Black)
    Cooling
    Corsair H100 (CPU, dual 140 mm fans on radiator) + Air (2 *
    Keyboard
    Logitech G15 (gen 2)
    Mouse
    Logitech MX Master (shared)
    Internet Speed
    AT&T Lightspeed Gigabit duplex
  • Operating System
    Sabayon Linux (current, weekly updates, 5.1.x kernel)
    Manufacturer/Model
    Lenovo ThinkPad E545
    CPU
    AMD A6-5350M APU
    Motherboard
    Lenovo
    Memory
    8 GB
    Graphics card(s)
    Radeon HD (Embedded)
    Sound Card
    Conextant 20671 SmartAudio HD
    Monitor(s) Displays
    Lenovo 15" Matte
    Screen Resolution
    1680 * 1050
    Hard Drives
    INTEL Cherryvill 520 Series SSDSC2CW180A 180 GB SSD
    PSU
    Lenovo
    Case
    Lenovo
    Cooling
    Lenovo
    Mouse
    Logitech MX Master (shared) | Synaptics TouchPad
    Keyboard
    Lenovo
    Internet Speed
    AT&T LightSpeed Gigabit Duplex
In trying to get this (simple) Shutdown shortcut to work I've went through a number of permutations. I've created the laptop shortcut by copying/pasting from the desktop to the laptop (via wireless network). Also I created the shortcut (on the laptop) via the shortcut wizard (with the same results).

I installed the tutorial version of shutdown seperately on both PC's (turned off unblock command button). Worked fine on desktop but not on laptop (still got "open file- security warning).

I've tried with UAC On and Off (no difference except the "continue message).

I appreciate the help thus far. I have my laptop hooked up to my Sony HD TV - I watch movies (Amazon and Netflix) and on ocassion turn off (shutdown ) the laptop from a distance (with the TV screen on something else). I know it's the height of laziness <g>. I can still do this although I have to answer the "open file- security warning dialog box.

Thanks again.

Tony
 

My Computer

Since you've not printed a copy of your shortcut on this forum, I'm not sure if we're talking about the same thing.

I install shortcuts to many programs to the desktops of PC's I work on,
from install batch files on my Utilities CD. So typing them on each individual PC is not required.

The shortcut for XP does not work right on Vista.
So, I constructed this one specifically for Vista. It works on both Vista 32 and Vista 64.

%windir%\System32\shutdown.exe -s -t 00 -f

The spaces, which I've tried to denote here are critical to the operation of the command.
This shutdown shortcut has worked flawlessly on every Vista PC that I've worked on so far, both desktop and laptop.
Give it a try.

Copy and paste the above shortcut into a NEW Shortcut on your desktop.

Good Luck,
The Shadow :cool:
 

My Computer

System One

  • CPU
    AMD Athlon Dual Core 5200+
    Motherboard
    MSI K9N Platinum
    Memory
    4 gigs DDR2-800
    Graphics Card(s)
    WinFast
    Sound Card
    Integrated
    Monitor(s) Displays
    19" Envision LCD
    Hard Drives
    2 Maxtor 160 gig SATA2
    1 Seagate 200 gig SATA2
    PSU
    Antec Earthwatts 650
    Case
    Pac Man
    Cooling
    13 fans
    Keyboard
    Generic
    Mouse
    MS-Digital
    Internet Speed
    Cable-5 meg
    Other Info
    Homemade, under constant mod.
Sorry I didn't reply quicker. I setup and tried your shortcut but had the same problem (see attach). Previously I reinstalled Vista Home Premium with no change.

Thanks.

Tony

Capture.JPG
 

My Computer

I'm not sure.....but, that looks like a message from UAC......

My only question is "Why is that P.O.C. even running on your PC?"
It's almost the very first thing I disable when working on a Vista PC.
Because, it interferes with everything else I have to do.

What happens if you tell it to allow that shortcut to run?

Shadow :cool:
 

My Computer

System One

  • CPU
    AMD Athlon Dual Core 5200+
    Motherboard
    MSI K9N Platinum
    Memory
    4 gigs DDR2-800
    Graphics Card(s)
    WinFast
    Sound Card
    Integrated
    Monitor(s) Displays
    19" Envision LCD
    Hard Drives
    2 Maxtor 160 gig SATA2
    1 Seagate 200 gig SATA2
    PSU
    Antec Earthwatts 650
    Case
    Pac Man
    Cooling
    13 fans
    Keyboard
    Generic
    Mouse
    MS-Digital
    Internet Speed
    Cable-5 meg
    Other Info
    Homemade, under constant mod.
Thanks for the reply...
I've disabled UAC and had it active (with the same behavior). After replying afirmative to the file security message the shortcut/cmd executes.

Tony
 

My Computer

WELL, is it UAC or something else that's giving you the error message.
I don't really recognize it.

I don't use UAC or any program like Spybot's "Tea Timer" that's always interrupting me while I'm working my PC. I have NO patience for those things.

The shortcut works just fine, you've got some other program bugging you, that probably should be corrected or deleted.

I sincerely hope you're not running any of that Norton crap!

:cool:
 

My Computer

System One

  • CPU
    AMD Athlon Dual Core 5200+
    Motherboard
    MSI K9N Platinum
    Memory
    4 gigs DDR2-800
    Graphics Card(s)
    WinFast
    Sound Card
    Integrated
    Monitor(s) Displays
    19" Envision LCD
    Hard Drives
    2 Maxtor 160 gig SATA2
    1 Seagate 200 gig SATA2
    PSU
    Antec Earthwatts 650
    Case
    Pac Man
    Cooling
    13 fans
    Keyboard
    Generic
    Mouse
    MS-Digital
    Internet Speed
    Cable-5 meg
    Other Info
    Homemade, under constant mod.
I'm going to reinstall Vista with a fresh install on my Laptop (no I don't have Norton). Things are starting to go wrong so it's time to do a cleanup.

Thanks for the help - it's shortcuts that point to EXE files that have the trouble. I'm always doing things like testing beta browsers (IE8 and Chrome). The good is I've learned things about Vista security via your forum etc.

I'm using the laptop to watch movies (from Netflix, Amazon etc) on my HD TV so I'll cut my Laptop some slack in the future and limit the experimentation on it <g>.

Thanks again.
 

My Computer

Back
Top