Click here to Skip to main content
15,913,487 members
Home / Discussions / C#
   

C#

 
GeneralRe: Service Exits with No Fanfare Pin
Richard Andrew x6416-Jul-11 12:04
professionalRichard Andrew x6416-Jul-11 12:04 
GeneralRe: Service Exits with No Fanfare Pin
Dave Kreskowiak16-Jul-11 17:43
mveDave Kreskowiak16-Jul-11 17:43 
QuestionHelp tracking down power management settings (... was Looking for help in converting REG_BINARY to readable values) Pin
turbosupramk315-Jul-11 3:05
turbosupramk315-Jul-11 3:05 
AnswerRe: Looking for help in converting REG_BINARY to readable values Pin
Richard MacCutchan15-Jul-11 4:47
mveRichard MacCutchan15-Jul-11 4:47 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
turbosupramk315-Jul-11 4:59
turbosupramk315-Jul-11 4:59 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
Mark Salsbery15-Jul-11 6:03
Mark Salsbery15-Jul-11 6:03 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
turbosupramk320-Jul-11 7:29
turbosupramk320-Jul-11 7:29 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
turbosupramk321-Jul-11 5:12
turbosupramk321-Jul-11 5:12 
Ok, I figured this out

Get your actual applied policies with the command RSOP in a command window, then go to Computer Configuration --> Adminstrative Templates --> System --> Power Management --> Sleep Settings


HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\29f6c1db-86da-48c5-9fdb-f2b67b1f44da

Set ACSettingIndex to 0 (this changed the control panel value)


HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\29F6C1DB-86DA-48C5-9FDB-F2B67B1F44DA

Set ACSettingIndex to 0 (this changed the control panel value)


If your admin is smart, you may not have rights to these keys and make have to take ownership of the keys. After you change them you can remove rights for everyone and just give admins read only rights while still having ownership.

This will allow you to keep the box on, nights where you have to be on call and remote in, I am building a c sharp app that will set and reset these permissions for when I am on call, so the majority of the time the computer will go to sleep. A laptop might have to address the DC power settings also. I'll post code after I get the app built.
QuestionRegular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 1:21
Member 297299215-Jul-11 1:21 
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
BobJanova15-Jul-11 2:26
BobJanova15-Jul-11 2:26 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 2:45
Member 297299215-Jul-11 2:45 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
BobJanova15-Jul-11 3:56
BobJanova15-Jul-11 3:56 
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
GuyThiebaut15-Jul-11 2:50
professionalGuyThiebaut15-Jul-11 2:50 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 2:57
Member 297299215-Jul-11 2:57 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
GuyThiebaut15-Jul-11 3:33
professionalGuyThiebaut15-Jul-11 3:33 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 4:16
Member 297299215-Jul-11 4:16 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
GuyThiebaut18-Jul-11 2:45
professionalGuyThiebaut18-Jul-11 2:45 
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
PIEBALDconsult15-Jul-11 3:21
mvePIEBALDconsult15-Jul-11 3:21 
QuestionProblem with messagequeue Pin
prasadbuddhika15-Jul-11 1:19
prasadbuddhika15-Jul-11 1:19 
QuestionGetting Rows That Was Changed Pin
AmbiguousName15-Jul-11 1:00
AmbiguousName15-Jul-11 1:00 
QuestionRe: Getting Rows That Was Changed Pin
DaveAuld15-Jul-11 1:16
professionalDaveAuld15-Jul-11 1:16 
AnswerRe: Getting Rows That Was Changed [modified] Pin
AmbiguousName15-Jul-11 1:29
AmbiguousName15-Jul-11 1:29 
GeneralRe: Getting Rows That Was Changed [modified] Pin
DaveAuld15-Jul-11 1:41
professionalDaveAuld15-Jul-11 1:41 
GeneralRe: Getting Rows That Was Changed Pin
GuyThiebaut15-Jul-11 2:07
professionalGuyThiebaut15-Jul-11 2:07 
QuestionOnly show decimals if there are any Pin
Etienne_12314-Jul-11 22:09
Etienne_12314-Jul-11 22:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.