Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

#116018 15-Apr-2013 17:26
Send private message

Hi my organization's tech support is useless and i'm going round in circles not knowing if there is an answer to my question

Question:
"Is there a way to make my PC Log off AND put PC to sleep in one click"

I log on to a Windows 7 PC with a domain\username 

If i don't log off outlook will crash after a couple of days and require me to log off and back on

If i log off it takes a while before it's finally logged off (backing up my changes to server apparently), so I'd just go home and when i turn up the next day the PC had been on. I'm not at the desk every day so i'm trying to save power by making it go to sleep after logging off

Can you make it sleep after a when its waiting for a user to log on?

Create new topic
stuartgr
163 posts

Master Geek
+1 received by user: 8

Lifetime subscriber

  #799769 15-Apr-2013 17:55
Send private message

Is there any reason you can't hit shut down if you are worried about power?  I gather it takes a while to start back up?

If the policies are configured correctly, a restart should work as it will log you off, restart (and install any patches waiting Innocent) and then go to sleep after a period of inactivity.



Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #799817 15-Apr-2013 19:43
Send private message

ok will try restart as last resort good idea! but will it sleep?

gzt

gzt
18674 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #799859 15-Apr-2013 20:55
Send private message

as the above, does the default power policy in control panel cause it sleep automatically after a period of time?



gzt

gzt
18674 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #799868 15-Apr-2013 21:01
Send private message

Can you execute executables of your choice on this machine?

Microsoft's PSShutdown utility would be the best choice if you can:

http://technet.microsoft.com/en-us/sysinternals/bb897541

Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #799873 15-Apr-2013 21:07
Send private message

gzt: as the above, does the default power policy in control panel cause it sleep automatically after a period of time?


yes but it doesnt happen

this pc is so weird i can't even update the intel HD 2000 video driver!

Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #799875 15-Apr-2013 21:07
Send private message

gzt: Can you execute executables of your choice on this machine?

Microsoft's PSShutdown utility would be the best choice if you can:

http://technet.microsoft.com/en-us/sysinternals/bb897541


awesome - might just be the tool i need

 
 
 
 

Shop now for Lego sets and other gifts (affiliate link).
Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #799877 15-Apr-2013 21:10
Send private message

hmm what options do i use to achieve my objective?

Oriphix
523 posts

Ultimate Geek
+1 received by user: 32


  #799917 15-Apr-2013 22:31

joker97: hmm what options do i use to achieve my objective?


Please be careful of what program you install in your company's machine.

As some company's have strict policies and you might find yourself in trouble.

The easiest way for your to achieve this is to create a batch file and add it to scheduled tasks. When the task is scheduled it will execute the batch file and restart / log off / turn off your computer.

E.G: set the task to run at 5pm (assuming you finish work then) and it will run and do what ever you have in your batch file.

This way you don't have to do anything it automatically does it for you.

I can give you step by step instructions if you need.

gzt

gzt
18674 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #801857 18-Apr-2013 19:59
Send private message

joker97: hmm what options do i use to achieve my objective?


looks like -o -d is what you want.

-o is log off the current user
-d is suspend

try it on your machine at home first.



Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #801883 18-Apr-2013 20:33
Send private message

in case it suspends before it log off is complete?

antaeusa
221 posts

Master Geek


  #802783 20-Apr-2013 14:27
Send private message

joker97: in case it suspends before it log off is complete?


What you mean by this? When you were using the PsShutdown tool it suspends whilst it was shutting down? I second a batch file hooked up via Schedule Task, the simple way to go about it.

 
 
 

Support Geekzone with one-off or recurring donations Donate via PressPatron.
Batman

Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #802786 20-Apr-2013 14:29
Send private message

Will try it when I get back to office ... looking promising ...

antaeusa
221 posts

Master Geek


  #802787 20-Apr-2013 14:32
Send private message

Try this article.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.