+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
Windows Thread, Shutdown/Restart Script - Access Denied (5) in Technical; Originally Posted by angelduvon07 This is actually very simple to fixed, just RDP to the remote computer firts and click>start>run ...
  1. #16

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,511
    Thank Post
    1,588
    Thanked 489 Times in 305 Posts
    Rep Power
    218
    Quote Originally Posted by angelduvon07 View Post
    This is actually very simple to fixed, just RDP to the remote computer firts and click>start>run and type secpol.msc>expand local policies>user rights assigment>add the account that you are using to force shutdown from a remote system policy, for example your personal account.
    Erm, thanks for the reply but this is a year old and solved!

    Welcome BTW, go say Hi in the new members thread

  2. #17

    Join Date
    Sep 2010
    Location
    jeddah
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I have a same problem . access is denied (5) when i try shudown/i
    i m using windows 7 just help me plz plzplzplz i m waiting thx

  3. #18

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,157
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    What kind of machine? ie - is it managed by someone else? An administrators can configure a machine so that it can't be shutdown by a non-admin user. If you don't manage the computer you can't shutdown then that may be why.

    If, on the other hand, you're the administrator and you don't know why it's not letting you shut down then you've probably set the policy to prevent shutdown.

  4. #19

    Join Date
    Sep 2010
    Location
    jeddah
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    1st of all thx for the reply

    i m using Win 7 & and i m using Admin account my personal account and i also try the default admin account but the problem is the same
    i try to ping the computer on my network it's work.....
    but when i try the shutdown -i Or /i
    i enter victim computer name the error message appear
    Access denied (5)
    so do me a favour plz help me out on this plz

  5. #20

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,511
    Thank Post
    1,588
    Thanked 489 Times in 305 Posts
    Rep Power
    218
    Quote Originally Posted by heart1lover View Post
    1st of all thx for the reply

    i m using Win 7 & and i m using Admin account my personal account and i also try the default admin account but the problem is the same
    i try to ping the computer on my network it's work.....
    but when i try the shutdown -i Or /i
    i enter victim computer name the error message appear
    Access denied (5)
    so do me a favour plz help me out on this plz
    Im hoping that some of the terms used are because of the poor translation, but "victim"? Do you have admin rights on the "victims" PC?

  6. #21

    Join Date
    Sep 2010
    Location
    jeddah
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by CHR1S View Post
    Im hoping that some of the terms used are because of the poor translation, but "victim"? Do you have admin rights on the "victims" PC?
    so Mr. chris so tell me how i check that either i have the admin right on the victims pc or not
    in detail thx for the reply

  7. #22

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,511
    Thank Post
    1,588
    Thanked 489 Times in 305 Posts
    Rep Power
    218
    I don't think I will be helping you any further as to me you are using this information for malicious purposes, apologies if this isn't the case but I cant be sure.

  8. Thanks to CHR1S from:

    heart1lover (20th September 2010)

  9. #23

    Join Date
    Sep 2010
    Location
    jeddah
    Posts
    4
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    it's fine this is not the only web which can help me

    but let me clear one thing..
    i am not using this for malicious purposes.
    just i want to learn this bcoz i m running my own business in jeddah related to computer maintenance and networking..
    it's fine if you can't help me thx for your time

  10. #24

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,511
    Thank Post
    1,588
    Thanked 489 Times in 305 Posts
    Rep Power
    218
    When you invoke the shutdown -i command for any PC you are using the Remote Procedure Call service. If you do this on your own PC it will run as you have administrator access, however on the remote PC it has no way of authenticating your user account on your local PC and you are seeing the Access denied.
    For the shutdown to work you have to ensure the PC you run the shutdown from has the correct security permissions on the target PC.

    I wont go into further detail but that should give you the starting information to do your own research

  11. #25

    Join Date
    Oct 2010
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I have the same problem using shutdown.exe to shutdown remote computer. Somehow I managed to fix this by adding NETWORK to the allowed user/group to perform "force shutdown from a remote system" on the local policy of the machine you are trying to shutdown.
    1. Logon to the remote machine as administrator (the computer you want to shutdown remotely).
    2. run "secpol.msc" > local policies > user rights assignment > force shutdown from a remote system
    3. Add NETWORK

    Hope this help.

  12. #26

    Join Date
    Mar 2011
    Location
    Waterford
    Posts
    32
    Thank Post
    14
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by mrbios View Post
    I have a shutdown script that probably does the same thing in the same way, the only time ive ever had any access denied issues is when the time was set wrong in the bios/windows, try checking the time settings on the PCs

    Afraid that is all i can suggest
    I know this thread is old but it helped me out today. Time was wrong on one PC and that solved the access denied issue.

    Cheers Mr Bios

    K

  13. #27

    Join Date
    Dec 2011
    Location
    Sweden
    Posts
    8
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    What in secpol.msc>expand local policies>user rights assigment> should i change ???

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Accesss Denied Error VBS Login Script
    By kiran in forum Windows Vista
    Replies: 4
    Last Post: 11th September 2008, 09:38 PM
  2. Restart when script completes
    By djones in forum Scripts
    Replies: 4
    Last Post: 18th May 2008, 10:26 PM
  3. Access Denied from Admin Network
    By MrDylan in forum ICT KS3 SATS Tests
    Replies: 9
    Last Post: 25th April 2006, 12:09 PM
  4. Remotely Shutdown/Restart PC's at night
    By flyinghaggis in forum How do you do....it?
    Replies: 20
    Last Post: 2nd February 2006, 09:28 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •