Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Access Denied (5) message on Shutdown or Restart script

23 May 2017   #1
DPChristm

Windows Home Premium 64 bit
 
 
Access Denied (5) message on Shutdown or Restart script

I have two shortcuts on my desktop
Shutdown shortcut C:\Windows\System32\shutdown.exe /f /s /t 0
And Restart Shortcut C:\Windows\System32\shutdown.exe /r /f /t 0
I noticed today that when I try to run either one, I get this message:
Access is Denied.(5)
This is something new.
Anyone familiar with this?


My System SpecsSystem Spec
.
23 May 2017   #2
samuria

win 8 32 bit
 
 

Does it work if you right click and run as admin?
My System SpecsSystem Spec
23 May 2017   #3
DPChristm

Windows Home Premium 64 bit
 
 

Sorry forgot to mention that no it does not.
My System SpecsSystem Spec
.

23 May 2017   #4
samuria

win 8 32 bit
 
 

Copy shutdown to another folder and try
My System SpecsSystem Spec
24 May 2017   #5
DPChristm

Windows Home Premium 64 bit
 
 

Thanks! That worked. Although I am confused.
I had both those shortcuts on my desktop for the last couple of years and they always worked.
Why did they suddenly stop working?
My System SpecsSystem Spec
Reply

 Access Denied (5) message on Shutdown or Restart script




Thread Tools




Similar help and support threads
Thread Forum
Access denied message on G drive
I am attempting to retrieve files from a Sandisk Cruzer flash drive, but I get a message saying "G not accessible, access is denied." I went to change the permissions to take ownership of the drive but there was no security tab. I searched thru the forums and first tried the recommendation...
General Discussion
Remote shutdown Access Denied (5)
I know this has been asked about a lot, but I've searched for a solution to my problem for a while know and I can;t get it to work. I have an asministrator account on both computers with the same password. I have tried to shut it down with the command itself and the GUI. It always returns with the...
Network & Sharing
Cannot open file Access is denied message
Hi all. I have a strange issue (or so it seems to me that i am a newbie) . I try to use a small utility which reads massively *.txt files and if they are saved as ANSI it saves them as Unicode. The problem is that when i run it (run as administrator) i get an error message saying "Cannot open...
General Discussion
Access denied message
I am trying to copy my Firefox profile folder from my older pc to my Win 7 net book. In the past i used the "run/%applicxxxxxx/profile" syntax to reach my profile. Now, when i do the same in Win 7, i had to create a new folder "profile' and then paste my older profile. In doing this I get the...
General Discussion
Don't want shutdown script to run on restart
Hi, I've got my system configured via gpedit so that it runs a custom batch script when it shuts down. The script can take about a minute to complete because it is telling some external hardware to run through its power down procedure. However when I tell the system to _reboot_ the script...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:03.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App