Advertisements:




How To Turn Off Monitor Via Command Line ?


How can i turn off the monitor (i.e. , "Put it to sleep") via command line at the push of a button (or any other shortcut not requiring additional software)? I don't like it when, after a pause working on my pc, the screen turns itself off as set up per "power options" on the control panel. That's why i set the threshold fairly high.

Still, when i know i won't be needing the computer for a while, i want to save power and wish the sleep mode could be activated immediately. Turning the display off is not an option, since it has an integrated usb-hub - turning it off completely would disconnect any connected device. Usually though the computer still runs and might need the connected resources.

Ideally, by pushing a button (or starting a program or something), the display would immediately go into sleep mode.

On systems before vista and 7, iirc, executing a command along the lines of:

Rundll32.exe user32.dll, sendmessage (hwnd_broadcast, wm_syscommand, sc_monitorpower, 2);

Would do the trick. The dll would execute the command to put the monitor to sleep. One could create a shortcut or even integrate the command into a batch file, but unfortunately that doesn't seem to work on vista or 7.

Does anybody have an idea on how to do this on windows 7? I would very much try to avoid having to install any additional software to help me out. (There are quite some small applications around, even free ones, that promise to do just that, but i would like to avoid them if possible. And i cannot believe that something this basic that could be done on xp cannot be done anymore on 7!)


View Full Post With 9 Replies

Related Forum Messages:

Please Follow Index to Quick Jump to the Message.


Line In Monitor Extreme Latency

On all my previous windows installation (windows 2000 home/pro, windows xp home/pro), i have been able to plug in a guitar into line-in and monitor is without latency through the speakers. This means playing and hearing is in real-time.

In windows 7, there's a latency of 180+ms. On the same hardware, i used xp and it didn't cause issues. I upgraded to windows 7 and latency is thru the roof. I have used microsoft provided drivers from win install and vendor provided drivers that came with mobo. No change.

Is this something to be deal with in windows 7 or am i overlooking some setting? I have been doing this since almost 2004 without issues on previous version. Does the windows sound management not provide a direct fast monitor signal?


Posted On: 2009-07-20 . View Related Posts . . View 73 Replies .

When Coming Out Of Sleep Mode, Monitor Wont Turn Off

When coming out of sleep mode, my pc's screen saver won't come on and the monitor won't turn off. My windows 7 64-bit pc is set to bring itself out of sleep mode every morning to run backups. About one third of the time, when it does this, the monitor stays black, with the only visible element being the cursor. The full display is only shown when i move the mouse. This is what i would like to happen all the time.

However, other times, the full desktop is shown when the pc comes out sleep mode, and the screen saver will not come on after this, nor will the monitor put itself in standby mode after 10 minutes like it's meant to. Does anybody know how to fix this so it behaves the way i'd like all the time? It drives me mad as the monitor lights up the darkened room. My graphics adapter is an ati radeon 4200.


Posted On: 2010-03-27 . View Related Posts . . View 2 Replies .

Edit Command Is Not Recognized As An Internal Or External Command

Getting this message when using edit via command prompt - 'edit' is not recognized as an internal or external command, operable program or batch file. I've seen where edit.exe and/or edit.com should be installed in windows/system32. No "edit" files. So what can one use to edit files via the command prompt in windows 7?

Posted On: 2010-02-23 . View Related Posts . . View 2 Replies .

Printer Keeps Going Off Line

I just did a clean install of 7 pro on customers laptop and everytime she shuts it down and turns it back on the printer is offline, we have to remove and reinstall, everything works till you shut it down again. Hp psc 2400 series printer is a usb attached to dlink print server, the printer is not shared. Laptop is wireless. Never had this issue with running xp. I have installed many network printers and have never had this issue. With xp i was able to choose ip address to print to printer now i have to pserverhp2400. Customer is not happy!

Posted On: 2009-11-24 . View Related Posts . . View 4 Replies .

Line In Not Working

I'm running windows 7 home pro, on an asus pt6 motherboard and i just can't get and sound from my line in. I bought a cable to test just getting sound in from an mp3 player as i'm doing a visual performance on wednesday and need the line in from the mixing desk.

I've downloaded and installed the realtek hd audio drivers multiple times and still can't get it to work, maybe i have a broken lead? I've made sure that the line in is un muted, and turned all the way up, make it the default device, and selected listen to this device to see if that works but still nothing. The sound on the rest of my system is working fine.


Posted On: 2010-03-05 . View Related Posts . . View 2 Replies .

Line-in Sound Delay While Recording

Line-in sound delay in windows 7 - how can i bypass the aspect of windows 7 that converts analog -> digital -> audio signals? I have a hardware setup that i have run exactly as it is on xp and did not detect a delay, and many musician forums describe this issue with windows 7. More precisely - i plug my guitar into my sound card, onboard or my additional pci card, either has a delay between when i pluck the strings to when i hear the sound and it is impossible for me to record.

Posted On: 2010-02-28 . View Related Posts . . View 4 Replies .

Error - Message From Webpage Out Of Memory At Line

I am running ie 7 in kiosk mode connecting via hdmi to an lcd tv. The system runs a real estate web page that shows 1 large and 2 right side small pictures. I am getting an error message that says "message from web page out of memory at line 212". Since this is an unattended computer, it has to be rebooted to clear the error.

It is a brand new dual core pentium with 2gb of ram and is set to automatically reboot on power outages, with no bios warnings. Virtual memory settings are windows managed. Is there a known cause for this issue or a workaround? I am going to set it up to automatically reboot every night and would also like to get a program that will automatically refresh ie 7 without intervention.


Posted On: 2009-10-19 . View Related Posts . . View 6 Replies .

Script Error Line 30 - File Location

I too am receiving an error continuously as follows:

Line 30
Char 3
Error library not registered
Code- 0

Url:file://c/program%20filedell%20si[[prt%20center/ss command/common/in/ss/shellinclude.js

Do you want to continue y or n i click no and can usually use computer, but some times pages wont load at all. Is this the same problem or do i do something different then offered to others


Posted On: 2010-06-25 . View Related Posts . . View 2 Replies .

Record Using Line In With Dell Inspiron 1520

I am attempting to record through line in. I have opened up my recording devices menu, and i have two options: microphone and line-in. I have selected line-in as my default device, and it has the green check mark symbol, which i assume means that it is enabled and working. Despite this, however, the monitor level to the right of line-in does not respond to noises. Instead, i hear noise from the computer's built in microphone, the microphone monitoring level reacts to noise, and when i mute the microphone, it mutes everything.

Does the green check mark not mean that i am actually using the line-in?If it matters, i am running windows 7 ultimate on a dell inspiron 1520 with an onboard sigmatel sound-card. I understand that most people have had numerous problems with dells with sigmatel cards, but 7 seems to have fixed those problems, so i think this is a problem with the recording devices menu. Also, it appears that my drivers are up to date. Does anyone have any suggestions on how i can set things up to record with line-in?


Posted On: 2010-05-23 . View Related Posts . . View 2 Replies .

Issue: Thin White Line On Side Of Display On Toshiba T110

I just started using this toshiba t110 yesterday. The monitor has a 1mm white line on the left side that starts 3cm down from the top and stops 4cm from the bottom. Not really in the way, but definitely something that should not be there. Tried adjusting the display size and restarting to no avail.

Posted On: 2010-02-25 . View Related Posts . . View 4 Replies .

Dual Monitor Problem - 2nd Monitor Detected Black

Ok, so i have a dell that was running vista and two monitors. When i upgraded to windows 7 pro i ran into the infamous black screen problem and fixed it. However, i only fixed my main monitor. When i open the display window, both of my monitors are detected but my secondary monitor shows a black screen and the monitor itself says there is no signal detected from my pc.

The strange thing is my pc thinks its working (i can drag a window from my working monitor towards the black one and it moves out of my working monitor into the black screen). I currently have both of them plugged in using a dvi to vga splitter and i have also updated the drivers by clicking the "update driver" button in the monitor properties window. Please help if you can!


Posted On: 2009-12-03 . View Related Posts . . View 4 Replies .

Turn Off Libraries

Is there any way to turn off the whole 'libraries' deal? I'm sure it's a very useful feature for some people, but it's really just a pain in the butt for me. I keep my files organized by what they're about, not by pictures vs documents vs sound files, and having every freaking folder change when i change the display type (icons/list/etc) for one folder is really driving me crazy. I've moved the whole 'my documents' folder to my c: drive folder to get around it, but it's still annoying.

So yeah. Is there any way to disable this feature so i can organize my stuff the way i want to? And if not, where can i give microsoft feedback about it?


Posted On: 2010-02-17 . View Related Posts . . View 4 Replies .

How To Turn Aero Off ?

This question may be premature, because i am not getting in my win 7 x64 machine until next week - but it helps to be prepared. I currently use win xp pro, and i am very computer literate - just need to tell me where and how to do these things. Are they in similar places as in xp? I have low vision, and i use a 3rd party program zoom text, to magnify my screen. I also need very good contrast, with no interactive, flashy, dim, or transparent stuff on my screen. I will want to turn aero off. For the desktop - use windows classic, with a light gray background, with large text <- or use another motif (native to win 7) that may have similar or better contrast similar taskbar, and notification area to what i have now. Modify start menu - so it contains what i use.

Posted On: 2010-08-25 . View Related Posts . . View 3 Replies .

Not Enough Storage Is Available To Process This Command

I got a problem when i installed windows 7. I have an aplicattion that works fine on xp and vista too (i had to disable uac to install my personal aplication), but it doesn't work on 7. I tried the new compatibility sistem and got a new failure. When i run .exe file it goes fine until copy the new files to a temp directory, suddenly a box appears saying "not enough storage is available to process this command". I have about 280gb of free space on hd and 2 gb ram, what should i do?

Posted On: 2010-01-20 . View Related Posts . . View 3 Replies .

Not Enough Storage To Process Command

I have major problem trying to install a new wlan pci card. When i first inserted it into the pc i figured the pnp would take care of everything but no so i installed it manually from the cd, this didn't work either so i tried to install it using a driver from the manufacturers website. The installation finishes and everything but windows still goes to look for drivers and when it doesn't find any i go to look in the device manager and i get the following error code:the drivers for this device are not installed. (Code 28) (but they are)not enough storage is available to process this command.

To find a driver for this device, click update driver. I have about 2, 5gig ram free and about 590 gig of disk space free so that can't be it right?The things i have tried are:running the setup file as administrator, performing a disk cleanup, creating a new account with administrator acces, "telling" windows installer where to find the driver installer. Nothing works. Doe's anyone have any good ideas?


Posted On: 2010-07-08 . View Related Posts . . View 4 Replies .

Cannot Move Windows From One Monitor To Other - Dual Monitor Setup

I have two monitors of the same resolution connected to an ati radeon hd 4300/4500 video card. In windows 7 extended mode i see a full working desktop on one monitor, but only the background picture on the other - the four-square flag motif again a blue background with wispy lines, butterfly etc.

No taskbar, icons or anything else. On one occasion briefly the mouse cursor appeared on it instead of on the full desktop image. If i try to drag a window on to the second monitor it won't go there. The settings are landscape with two mointors "1" and "2". I have two images but how can i use the second one?


Posted On: 2010-02-10 . View Related Posts . . View 4 Replies .

Windows Does Not Turn Off Monitors

I have a weird problem when windows will all of the sudden stop turning off monitors after 10 min of inactivity (or whatever is set in the power plan settings). What is weird about it is that it happens only once in a while, sometimes after 3-5 hours of normally doing so, sometimes from a reboot. However, once windows stopped turning off monitors only reboot can generally help. Generally, because sometimes i need two reboots for it to work.

It happened with a different motherboard, with both of my monitors, with integrated graphics and with two separate graphics cards. I do not use wireless mouse. I tried closing all possible programs but with no results. Minimal boot is not really a way of troubleshooting, because 'turning off monitors' usually works after reboot.

Please help, it is really annoying to come home and see that your monitors are illuminating the whole neighborhood.

Motherboard: gigabyte ga-ma790gp-ud4h
Chipset: amd 790gx
Video: ati radeon hd 3450 (powercolor)
Display: hp lp 2475w (over hdmi) and sony x82 deluxe (over dvi)
Os: windows 7 x64
Last drivers (whql) for chipset and video card.


Posted On: 2010-01-30 . View Related Posts . . View 4 Replies .

Cannot Turn On Media Streaming

This issue is incredibly frustrating. I was hoping to contact microsoft itself via email about this however their site seems to think my bloody product id has 'expired'. I genuinely hope you can provide the answers. The basic issue is that i want to turn on media streaming (in windows media player) but i can't. The reason is that the drop-down box for "show devices on:" (in network and sharing center/media streaming options) is completely empty, so i can't physically select anything. To see what i mean, click here to see a screen-print of the issue.

How the heck do i actually get around this and turn it on? I seriously want to turn it on so that i can use it for streaming to my xbox 360 while i play. (By the way, if it makes any difference, i'm on windows 7 64-bit home premium)


Posted On: 2010-05-05 . View Related Posts . . View 6 Replies .

Turn Off A User Account

My mother has several children that live with her (her grandchildren/my nephew/niece) and has put a password lock on her new pc. It runs windows 7. Apparently my nephew found a way to bypass the password lock on the owner account (the admin account) and created an account called ownerpc/back up. Via remote assistance (she lives in ny, i live in fl) i was able to delete this account, but for the life of me i cannot find an option to turn off for this and i have also come up short trying to even find how he did it via web searches. Can anyone tell me how to prevent this from happening again? Or even how he was able to do this?

Posted On: 2010-07-09 . View Related Posts . . View 4 Replies .

Turn Off Dual Boot

I have a created a system using windows 7 64-bit and windows xp professional. My c drive is the win 7 while the d drive is the old windows xp. I am ready to abandon windows xp and go with windows 7 only. My c drive is a sata drive while my d drive is an old pata drive. I wish to disable windows xp and format the d drive.

In disk management, my windows 7 disk is disk 2/drive c: with boot, page file, crash dump and primary partition. My windows xp disk is listed as disk 0/drive d with system, active and primary partition

Since the boot info is on the windows 7, could i just take the d drive out of the system without any problems? Is there a way to tell the boot to ignore the d drive as a drive with an operating system on it before i remove the d drive?


Posted On: 2010-04-14 . View Related Posts . . View 4 Replies .

How To Turn On Automatic Logon ?

The registry entries we used to utilize autologon, no longer seem to work as they under windows xp.
Specifically, when choosing a windows only logon after installing novell client 2 for win7, the local windows account name does not pop up in the username field. Then, when you enter the proper workstation username, you must also enter the password. Previously, the password was supplied in the registry and was not required at workstation logon. Oddly, if you log to the novell network, the local user credentials *will* be properly used and the workstation account will be logged quietly and in the background without user intervention.


Posted On: 2010-04-06 . View Related Posts . . View 5 Replies .

Cannot Turn Windows Features On Or Off

Can't turn windows features on or off. Nothing shows in the box. "Windows features on or off" link shows no list in control panel. .net framework cannot be installed unless the feature is turned on.

Posted On: 2010-07-07 . View Related Posts . . View 4 Replies .

Startup Command Box Has Disappeared

The command box that appears when one clicks startup (e.g. Where one types commands) has disappeared. How can i get it back?

Posted On: 2010-05-13 . View Related Posts . . View 4 Replies .

Svchost Command Prompt On Login

Whenever i log in, i see a command prompt for install\svchost.exe pop up and run for a few seconds before disappearing. This did not happen in the past and i don't remember making any changes to the system recently. This appears to have no noticeable effects on the system. What is this and why did it start happening? Is it anything to worry about?

Posted On: 2012-05-16 . View Related Posts . . View 4 Replies .

Allow The Computer To Turn Off Device Problem

Windows 7 usb power management won't allow me to un-check the "allow the computer to turn off device. " Box, i'm having huge problems charging ipods and a blackberry via usb on my windows 7 (desktop) machine. I will add that this is the same hardware that 2 weeks ago had windows xp and the usb charging worked fine on all devices from all ports-front and rear.

I go to device manager and uncheck the box "allow the computer to turn off this device to save power" on all usb-hub entries, and while the checkbox becomes "unchecked", there is no change in charging ability but more curiously-when i restart the computer this box is checked again for all hubs. How can i force this box to stay unchecked. This is *not* a laptop. I don't care if there's power at the device at all times. It doesn't drain power when nothings connected so i don't see the issue here.


Posted On: 2010-05-25 . View Related Posts . . View 2 Replies .

How To Turn Hardware Acceleration Back On ?

Ok, i just installed windows 7 professional 64-bit on my laptop. Relevant specs are as follows:

Processor: intel core 2 duo t9800 @2. 93ghz
Ram: 4. 00 gb ddr3
Graphics card: ati mobility radeon hd 4670 w/ 1. 0 gb ddr3 dedicated graphics memory

Even though i had a few problems with windows vista home premium 64-bit (what i had on the laptop before i upgraded), i never had any problems playing games or other 3d applications because of my gpu's hardware acceleration. For example, i could run google earth with my processor never going above 15% usage.

When i installed windows 7, i was very impressed at how much faster it was than windows vista. It was very noticeable in everything from how fast it started up and shut down to how fast it loaded all the files in a folder. It was almost like getting a brand new computer.

That is, until i fired up celestia, a free 3d program that renders the solar system and about 2. 1 million other objects in a 3d model. I had never had any problems with this when i used windows vista; it ran perfectly smoothly and my cpu never even topped 12%. Much to my dismay, it started dropping frames left and right and the orbits of moons were popping in and out as i got closer to them. I checked the task manager and my cpu was hitting 89%! And this was despite the fact that the amount of ram in use was almost 300mb less than it had in windows vista.google earth ran with similar numbers.

I did some poking around and i discovered a very nasty fact: my hardware acceleration was turned off and there was no way for me to turn it on. Ati's control program for windows 7 doesn't even include an option for it. I also checked the directx settings and they are all enabled to max settings. Still no dice.

My question to you is: how do i turn the hardware acceleration back on? Can i turn it back on? If not, i'll have no choice but to go back to windows vista, because without hw acceleration, there's no way i'm going to be able to play any games more demanding than doom 3 or counterstrike if i can't even run celestia without problems.


Posted On: 2009-11-27 . View Related Posts . . View 2 Replies .

Cannot Get Laptop To Turn On Usb Port

I have windows 7 home premium and a zune 80 gig. The zune is stating error 5 contact support. I am trying to recover the files on the zune. I have drained the battery, waited weeks, etc. When i usb it to the computer it says the device has problems and the usb port or connection has been "turned off". There is no option to turn it on anyway. I have recently downloaded a recovery program, so if i can just get the computer to turn on the usb connection, even though it has problems, i may have a chance. Anyone know how to do this, or have any other ideas? 

Posted On: 2010-04-08 . View Related Posts . . View 4 Replies .

Turn Off User Account Control

How do i turn off user account control popups for certain programs without turning it off for them all? I saw how you can turn it off for all programs but i only want it turned off for those i constantly run like spore and other games. So please don't tell me to:

To stop the prompt run regedit. Navigate to the registry key
Hkey_local_machinesoftwaremicrosoftwindowscurrentversionpoliciessystem.
Change the value of consentpromptbehavioradmin to 0 (zero) from 2.
Change the value of consentpromptbehavioruser to 0 (zero) from 1.

I did this but i want it to be turned on for other programs especially my e-mail and internet programs.


Posted On: 2009-12-21 . View Related Posts . . View 3 Replies .

Turn Off Search In Address Bar

I recently downloaded the latest windows update, which in turn updates internet explorer to 8. What i absolutely loved about ie is that i could just type something in the address field (without adding ".com") and it would automatically pull up the website. Saved me a lot of time and loved the functionality of it. Now that it's been updated, i can't do that anymore. Ie8 automatically pulls up google search instead of just loading the page. Is there any way to turn this feature off? It slows my work down. And little minutes each time tends to add up.

Posted On: 2010-05-02 . View Related Posts . . View 2 Replies .