Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > System Security

Vista Tutorial - Shutdown Shortcut behavior when executed

Reply
 
Old 08-18-2008   #1 (permalink)
Old Newbie


Join Date: May 2008
Vista Home Premium 32bit
 
 

Shutdown Shortcut behavior when executed

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? Thanks.

Tony

My System SpecsSystem Spec
Old 08-18-2008   #2 (permalink)
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Shutdown Shortcut behavior when executed

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 System SpecsSystem Spec
Old 08-18-2008   #3 (permalink)
Old Newbie


Join Date: May 2008
Vista Home Premium 32bit
 
 

Re: Shutdown Shortcut behavior when executed

Thanks Shawn for the quick reply, but I have no "unblock" button on my General tab in Properties.

Tony

propcapture.jpg
My System SpecsSystem Spec
Old 08-18-2008   #4 (permalink)
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Shutdown Shortcut behavior when executed

Ok,

As a test, see how this shutdown shortcut works for you.

Shutdown shortcut
My System SpecsSystem Spec
Old 08-18-2008   #5 (permalink)
Old Newbie


Join Date: May 2008
Vista Home Premium 32bit
 
 

Re: Shutdown Shortcut behavior when executed

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 System SpecsSystem Spec
Old 08-18-2008   #6 (permalink)
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Shutdown Shortcut behavior when executed

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 System SpecsSystem Spec
Old 08-19-2008   #7 (permalink)
Antidisestablishmentarian


Join Date: May 2008
Vista Ultimate x64 MAK, OpenSolaris 5, Gentoo 2008.1....
 
 

Re: Shutdown Shortcut behavior when executed

Did you create the shortcut on your desktop and copy it to your laptop?
My System SpecsSystem Spec
Old 08-19-2008   #8 (permalink)
Old Newbie


Join Date: May 2008
Vista Home Premium 32bit
 
 

Re: Shutdown Shortcut behavior when executed

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 System SpecsSystem Spec
Old 08-21-2008   #9 (permalink)
Retired PC Builder


Join Date: Jun 2008
XP-Pro-SP3-32bit, Vista Ultimate-64bit
 
 

Re: Shutdown Shortcut behavior when executed

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
My System SpecsSystem Spec
Old 09-06-2008   #10 (permalink)
Old Newbie


Join Date: May 2008
Vista Home Premium 32bit
 
 

Re: Shutdown Shortcut behavior when executed

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 System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
User executed "System Shutdown (1115)" General Discussion
shutdown shortcut Vista General
Shutdown Shortcut Vista General
Shutdown shortcut Tutorials
change default behavior at shutdown Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46