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: Switch user when computer wake up from sleep

06 Apr 2010   #11
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

snare,
When you get a chance, update your system profile. I also took my sweet time before I ever even entered anything in that category.

Now to your question:
One can associate "tasks" with events.
You might want to take a look at your event logs (EVENTVWR.MSC).
You might end up needing to associate a PowerShell script with the event.

I've never tried to do what you are trying to do, although I've written, and use, PowerShell scripts. Whether there is a script available to accomplish you partitcular objective I do not know.

Let's see if I've got some "bookmarks" to powershell forums:
Google Reader - Dreaming in PowerShell
Google Reader - get-powershellblog
Google Reader - Hey, Scripting Guy! Blog
Google Reader - James O'Neill's blog
Google Reader - JBs Powershell
Google Reader - Master-PowerShell | With Dr. Tobias Weltner
Google Reader - Power Tips
Google Reader - Tim Sneath
Google Reader - Under The Stairs
Google Reader - Windows PowerShell Blog


Ok those are all blog sites and many of those sites have associated forums.

Opps, just noticed that those are all links via Google Reader. If that doesn't work for you then I'll go the extra mile and get the actual "ungoogled" sites.


My System SpecsSystem Spec
.
06 Apr 2010   #12
CommonTater

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by SNaRe View Post
Hello,
I have a problem about sleep. When i close the lid it goes to sleep mode. And i requires password. Until here everything is okey. I want password protection when i close it. But problem is when i try to type my password it says "wrong password or user" . To login i have to "SWITCH USER" and type my password. This is the problem. I don't want to do "SWITCH USER" everytime .
Is there a solution for this ?

PS: I asked this in another forum. Everybody talked about disabling password on wake up. I don't want to do that. The thing that i want is to able to type password without "SWITCHING USER" . This is the most important point.


This is an example picture


This might not be it... but I've seen stranger stuff.

The Win7 SDK (Software Development Kit) says the maximum length for a computer name is 11 characters... yours is 12.

For example... With a computer named BIXBOX and user Fred... the login screen would show... BIXBOX\Fred as the login name.

Now if this is causing an error where the last character of the computer name is clipped off you get ... BIXBO\Fred ... which is not you.

Try renaming the computer itself... Something short like "Elmaj" and see what happens.
My System SpecsSystem Spec
06 Apr 2010   #13
SNaRe

vista
 
 

It was an example screenshot. It's not mine. I have found on google. Mine is small just "SNaRe" .
Quote   Quote: Originally Posted by CommonTater View Post
Quote   Quote: Originally Posted by SNaRe View Post
Hello,
I have a problem about sleep. When i close the lid it goes to sleep mode. And i requires password. Until here everything is okey. I want password protection when i close it. But problem is when i try to type my password it says "wrong password or user" . To login i have to "SWITCH USER" and type my password. This is the problem. I don't want to do "SWITCH USER" everytime .
Is there a solution for this ?

PS: I asked this in another forum. Everybody talked about disabling password on wake up. I don't want to do that. The thing that i want is to able to type password without "SWITCHING USER" . This is the most important point.


This is an example picture


This might not be it... but I've seen stranger stuff.

The Win7 SDK (Software Development Kit) says the maximum length for a computer name is 11 characters... yours is 12.

For example... With a computer named BIXBOX and user Fred... the login screen would show... BIXBOX\Fred as the login name.

Now if this is causing an error where the last character of the computer name is clipped off you get ... BIXBO\Fred ... which is not you.

Try renaming the computer itself... Something short like "Elmaj" and see what happens.
My System SpecsSystem Spec
.

06 Apr 2010   #14
CommonTater

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by SNaRe View Post
It was an example screenshot. It's not mine. I have found on google. Mine is small just "SNaRe" .
The advice we can give you is only as good as the information we are given!
My System SpecsSystem Spec
Reply

 Switch user when computer wake up from sleep




Thread Tools




Similar help and support threads
Thread Forum
Uncommanded wake from sleep yet no wake devices or wake timers exist
W7 PC wakes up from sleep every few minutes. It didn't use to. I am the builder / owner / sole user. Investigation done so far at the DOS prompt to establish the cause: powercfg -devicequery wake_armed (no results returned) powercfg -waketimers There are no active wake timers in the...
General Discussion
Computer won't wake from sleep
I hear the computer turn back on and the light is on, but the screen is still black. I have to do a hard shut down. When it's back on, it's like it woke up from sleep mode, not a fresh restart. This was on Windows 10 and I thought it was my video card drivers. I reformatted back to Win7 today...
General Discussion
Remove Switch User, Log Off, Lock and Sleep from Start Menu.
Heya. As the title says, would like to remove those options from the menu that opens up when you click the arrow next to the shutdown button. https://i.imgur.com/XYLtiie.png
Customization
Computer goes to sleep, but can't wake up.
I just installed a new HDD into my old Inspiron 15r n5010 laptop which I am giving to my sister for Christmas and took my old SSD out for my main computer. When I was testing the new HDD in my laptop, I would put it to sleep and when I try to wake it back up it did its little thing where it went to...
Hardware & Devices
Can you get another computer to wake up and sleep when?
Can you get another computer to wake up and sleep when you press the on button on your computer? If so, how?
Network & Sharing


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 17:03.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App