Saturday, September 24, 2011

shutdown remote server through remote desktop

scenario like this, server running win 2003 R2 with terminal server (located at head office), stores located at remote location, stores manager wants to access head office server to operate ERP software, end of the day he wants to shutdown head office server using remote desktop (because he is last person to use ERP software) but when he try to shutdown remote server, then he realize there is no option to shutdown server, because it isn't  available.

above is real world problem, (i personally had this one & find the solution) details as follows.

inorder to do things right, you have to do some configurations in server, follow these steps

  • log in to the server

  • open " group policy " (start > run > type gpedit.msc & press enter
  • under " computer configuration " navigate to windows settings > security settings > local policies > user right assignment
  • in the right side look for the " shutdown the system " (look at the bottom)
  • double click to open
  • now add the remote user account to the list, (if stores manager uses " stores " user account to login to the server, add that account to the list.)
  • click apply & ok
  • now you have to do is restart server or update group policy without restart
Note - to update gruop policy without restart, click start > run > type  cmd & press enter > type " gpupdate /force" & press enter, done.

after complete above steps successfully , the specified user account (our stores manager) can shutdown remote server using his remote desktop.

1 comment: