Solved how to make application not to shut down screen?

exiled

Banned
Local time
1:15 PM
Messages
11
Hello there,

I have this little problem. I'm playing this game in window mode with my gamepad. The problem is that this specific game with windows settings allows screen to extinguish, and gamepad isn't interpreted as mice or keyboard so with no action screen goes black.

Is there a way to somehow tell windows to stop shutting down screen while this application is running?

Or maybe some tricky way of making two shortcuts in one, first something to turn off screen saving, then to start the game and finally bring back screen saving to previous settings?

Does anyone have any ideas, please?
 
Last edited:

My Computer My Computer

OS
Win 7 Pro x64
What game are you playing?
 

My Computer My Computer

OS
Windows 7 Ultimate x64 Service Pack 1 (Build 6.1.7601)
CPU
Intel Core 2 Quad Q6600 (G0 Kentsfield) LGA775 (FC-LGA6)
Motherboard
GIGABYTE GA-EP35C-DS3R (Rev. 2.1)
Memory
Corsair TW3X4G1333C9A 4GB PC-10600 (2x XMS3 2GB)
Graphics Card(s)
ASUS nVIDIA GeForce 560
Sound Card
RealTek ALC885/889A/890
Monitor(s) Displays
ChiMei CMV CT-730D 17inch (LCD Monitor)
Screen Resolution
1280-1024 60Hertz (Ture Colour 32bit)
Hard Drives
2x Barracuda 7200.10 SATA 3.0Gb/s 160-GB Hard Drive ST3160815AS (AHCI)
PSU
ANTEC 750w Earthwatts
Case
Thermaltake Shark (VA7000SWA ATX) Full Tower
Cooling
Front 120mm fan (1400 RPM) /Rear 120mm (1400 RPM) blue LED
Keyboard
Labtec Media Desktop Y-SAD65
Mouse
Razer DeathAdder 3G Infrared Sensor (1800DPI)
Internet Speed
Telstra BigPond Elite Liberty ADSL2+ 24Mbps/256kbps
Other Info
ASUS PCE-N13 802.11n Wireless LAN card
Does it matter? It's NFS shift in window mode. It could be anything else, i just want screen saving to be auto-turned off when running this specific application.
 

My Computer My Computer

OS
Win 7 Pro x64
You can make a batch file using powercfg to set your monitor timeout to a different value, and run it before playing the game. A second batch file resetting your monitor timeout to its original value will restore everything to the way it was before.
It's kind of explained here:

Power CFG Turn Monitor off - Petri.co.il forums by Daniel Petri
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Professional x64
CPU
Intel Core i5 3570K
Motherboard
Asus P8Z77-V Pro
Memory
4x2GB
Graphics Card(s)
Sapphire AMD HD7950 3GB
Hard Drives
Samsung 830 Series 128GB SSD
Seagate Barracuda 1TB HDD
PSU
Seasonic 750W
Case
Rosewill Thor
Keyboard
Rosewill MX Cherry Red
Mouse
Logitech G9X

My Computer My Computer

OS
Windows 7 Ultimate x64 Service Pack 1 (Build 6.1.7601)
CPU
Intel Core 2 Quad Q6600 (G0 Kentsfield) LGA775 (FC-LGA6)
Motherboard
GIGABYTE GA-EP35C-DS3R (Rev. 2.1)
Memory
Corsair TW3X4G1333C9A 4GB PC-10600 (2x XMS3 2GB)
Graphics Card(s)
ASUS nVIDIA GeForce 560
Sound Card
RealTek ALC885/889A/890
Monitor(s) Displays
ChiMei CMV CT-730D 17inch (LCD Monitor)
Screen Resolution
1280-1024 60Hertz (Ture Colour 32bit)
Hard Drives
2x Barracuda 7200.10 SATA 3.0Gb/s 160-GB Hard Drive ST3160815AS (AHCI)
PSU
ANTEC 750w Earthwatts
Case
Thermaltake Shark (VA7000SWA ATX) Full Tower
Cooling
Front 120mm fan (1400 RPM) /Rear 120mm (1400 RPM) blue LED
Keyboard
Labtec Media Desktop Y-SAD65
Mouse
Razer DeathAdder 3G Infrared Sensor (1800DPI)
Internet Speed
Telstra BigPond Elite Liberty ADSL2+ 24Mbps/256kbps
Other Info
ASUS PCE-N13 802.11n Wireless LAN card
You can make a batch file using powercfg to set your monitor timeout to a different value, and run it before playing the game. A second batch file resetting your monitor timeout to its original value will restore everything to the way it was before.
It's kind of explained here:

Power CFG Turn Monitor off - Petri.co.il forums by Daniel Petri

Yes, powercfg is exactly what i was looking for, thanks!

Usage of command changed a little bit, so here's my .bat file that i'm using for running my game now. Just in case someone would be interested. ;)

Code:
:: first changing monitor timeout to none
powercfg /x -monitor-timeout-ac 0

:: now running game
SHIFT.exe

:: and bringing back monitor timeout setting to previous one
powercfg /x -monitor-timeout-ac 12
 

My Computer My Computer

OS
Win 7 Pro x64
Back
Top