RogueHart Posted October 27, 2008 Share Posted October 27, 2008 how can i turn off the automatic lock on vista? it doesnt recognize playing in a ps1 emulator with a game pad as actually using the comp so ever few minutes it locks which stops the game and irritates the hell out of me. it seems like something obvious to me but i cant find where i turn this feature off without taking off the password Quote Link to comment Share on other sites More sharing options...
Sparda Posted October 27, 2008 Share Posted October 27, 2008 how can i turn off the automatic lock on vista? it doesnt recognize playing in a ps1 emulator with a game pad as actually using the comp so ever few minutes it locks which stops the game and irritates the hell out of me. it seems like something obvious to me but i cant find where i turn this feature off without taking off the password Disable screen saver and monitor power off? Quote Link to comment Share on other sites More sharing options...
netsec Posted October 30, 2008 Share Posted October 30, 2008 how can i turn off the automatic lock on vista? it doesnt recognize playing in a ps1 emulator with a game pad as actually using the comp so ever few minutes it locks which stops the game and irritates the hell out of me. it seems like something obvious to me but i cant find where i turn this feature off without taking off the password Same answer as above but if you are unsure as to how its done - Start Menu > Control Panel > Power Options Which ever plan you are using click "change plan settings" Set Turn off display to "never" Set Put Computer to sleep to "never" As for turning your screensaver off right click the desktop click personalize then "screensaver" then set to "none" Quote Link to comment Share on other sites More sharing options...
RogueHart Posted October 30, 2008 Author Share Posted October 30, 2008 Same answer as above but if you are unsure as to how its done - Start Menu > Control Panel > Power Options Which ever plan you are using click "change plan settings" Set Turn off display to "never" Set Put Computer to sleep to "never" As for turning your screensaver off right click the desktop click personalize then "screensaver" then set to "none" did both before i posted. it doesnt goto screensaver. it just goes back to the login. Quote Link to comment Share on other sites More sharing options...
Steve8x Posted October 30, 2008 Share Posted October 30, 2008 did both before i posted. it doesnt goto screensaver. it just goes back to the login. Well I think I have a solution for you, although its a little unorthodox I think it will work! Basically the idea is this. Every few minutes an app I made uses SendInput to simulate you pressing a key on your keyboard. This should keep Vista from locking you out. Since the gamepad button pressing doesn't register as keys being pressed. But your keyboard does! So all you need to do is provide the key you want pressed, currently (a-z) only... and how many minutes between pressing the key. Both parameters are optional but if they aren't provided the default values are used. default character is a, default time is 3 minutes... So how long about does it take for it to lock you out? if 5 minutes I would do 4, etc... What is a key that is unused by your game? pick one that is unused so that the key being pressed every few minutes does not effect your gameplay. So say your 'A' key is being used for a button in the game you won't want to use that. There are several ways of passing my app parameters. But here's probably the easiest one that you'll want to use. Usage: GameHelper [-c character] [-m minutes] Create a batch file (.bat/.cmd) in the same folder as "GameHelper.exe" it should contain something like this: GameHelper -c h -m 4 where "h" is the character it will type every "4" minutes! change it to a character unused and a time which it will type the character before you get locked out! As a test you could open up notepad and run Game Helper with -m 0 and character doesn't matter Then set notepad as your active window, if you see the character constantly being written into the notepad window you can know that it will work! (I've only tested this on XP, not Vista) Source Code And Binary: (the executable is in the release folder) http://popeax.com/download/apps/GameHelper.zip [GameHelper.cpp] #include "GameHelper.h" char characterx = 'a'; // default character int minutesx = 3;Â Â Â Â Â Â // default minutes int main(int NumParams, char* Params[]) { Â Â Â Â system("color 0A"); Â Â Â Â SetConsoleTitleA("Game Helper! - Made For RogueHart"); Â Â Â Â printf("Annoyed with Vista locking you out of your game every few minutes?\n"); Â Â Â Â printf("Well thats why Game Helper is here to help you get your game on and keep it on!\n"); Â Â Â Â printf("Here's how to use:\n"); Â Â Â Â printf("GameHelper [-c character] [-m minutes]\n"); Â Â Â Â printf("ex. GameHelper -c r -m 4"); Â Â Â Â printf("\nWhere as 'R' will be the key pressed every '4' minutes :P"); Â Â Â Â for(int i = 1; i < NumParams; i++) Â Â Â Â { Â Â Â Â Â Â Â Â if(strcmp(Params[i], "-c") == 0) Â Â Â Â Â Â Â Â { Â Â Â Â Â Â Â Â Â Â Â Â characterx = *Params[i+1]; Â Â Â Â Â Â Â Â } Â Â Â Â Â Â Â Â if(strcmp(Params[i], "-m") == 0) Â Â Â Â Â Â Â Â { Â Â Â Â Â Â Â Â Â Â Â Â minutesx = atoi(Params[i+1]); Â Â Â Â Â Â Â Â } Â Â Â Â } Â Â Â Â for(;; Sleep(10)) Â Â Â Â { Â Â Â Â Â Â Â Â ticks++; Â Â Â Â Â Â Â Â if(ticks == 100) Â Â Â Â Â Â Â Â { Â Â Â Â Â Â Â Â Â Â Â Â ticks = 0; Â Â Â Â Â Â Â Â Â Â Â Â seconds++; Â Â Â Â Â Â Â Â } Â Â Â Â Â Â Â Â if(seconds == 60) Â Â Â Â Â Â Â Â { Â Â Â Â Â Â Â Â Â Â Â Â seconds = 0; Â Â Â Â Â Â Â Â Â Â Â Â minutes++; Â Â Â Â Â Â Â Â } Â Â Â Â Â Â Â Â if(minutes == minutesx) Â Â Â Â Â Â Â Â { Â Â Â Â Â Â Â Â Â Â Â Â minutes = 0; Â Â Â Â Â Â Â Â Â Â Â Â SendKey((UCHAR)VkKeyScanA(characterx)); Â Â Â Â Â Â Â Â } Â Â Â Â } Â Â Â Â return 0; } void SendKey(BYTE vKey) { Â Â Â Â INPUT* Input = new INPUT; Â Â Â Â ZeroMemory(Input, sizeof(Input)); Â Â Â Â Input->type = INPUT_KEYBOARD; Â Â Â Â Input->ki.dwFlags = KEYEVENTF_EXTENDEDKEY; Â Â Â Â Input->ki.wVk = vKey; Â Â Â Â SendInput(1, Input, sizeof(INPUT)); Â Â Â Â delete Input; } Its worth a shot :) Quote Link to comment Share on other sites More sharing options...
Sparda Posted October 30, 2008 Share Posted October 30, 2008 You sure it's the login screen and not the locked screen? They are very similar on Vista. Quote Link to comment Share on other sites More sharing options...
RogueHart Posted October 30, 2008 Author Share Posted October 30, 2008 You sure it's the login screen and not the locked screen? They are very similar on Vista. im fairly sure its the locked screen. although its identical to the login screen i get when i start up vista. i just want to extend the time or preferably remove it so i can play on an emulator. Quote Link to comment Share on other sites More sharing options...
calming_insanity Posted October 31, 2008 Share Posted October 31, 2008 A question for you would be, is the screensaver coming on when this happens? if so you can: Right-click the desktop, click Personalize Click Screen Saver Untick box "On resume, display Welcome screen", click OK Quote Link to comment Share on other sites More sharing options...
RogueHart Posted October 31, 2008 Author Share Posted October 31, 2008 A question for you would be, is the screensaver coming on when this happens? if so you can: Right-click the desktop, click Personalize Click Screen Saver Untick box "On resume, display Welcome screen", click OK no i never use a screen saver Quote Link to comment Share on other sites More sharing options...
Automic Posted October 31, 2008 Share Posted October 31, 2008 Why don't you disable the whole lock screen function, I think that would work. open regedit, go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Search for the key : DisableLockWorkstation change its value to 1. IF this key does not exist, then create it use the type REG_DWORD Good luck! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.