|
Dave Kreskowiak wrote: Set the screensaver to activate after 30 seconds
The minimum value is 1 minute (60 seconds) only
|
|
|
|
|
I'm afraid that's not good enough, we all know that 60 secs is quite a long time, and I need the workstation to lock itself immediately after login.
Another option would be to run my apps as windows services, but I wouldn't know how to do it properly.
---
http://sprdsoft.cmar-net.org - We Sprd You Softly
Our site features contents and several images. All of this is very weird.
In the end, war is not about who's right, it's about who's left.
|
|
|
|
|
Easy enough. Write a little app that P/Invokes the Win32 API function LockWorkStation[^], preferrably in C++. It'll be a very short little app. Put a shortcut to this little .EXE in the Startup folder of the user ID that's going to be logged in.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
That seems good.
BUT, (there has to be one) I believe this won't be password protected lock then? Since I need to disable login password if I want windoze to autologin. Or, did I get it wrong?
---
http://sprdsoft.cmar-net.org - We Sprd You Softly
Our site features contents and several images. All of this is very weird.
In the end, war is not about who's right, it's about who's left.
|
|
|
|
|
Yep, you got it wrong.
Autologon and Locking the workstation will not affect the screen saver. When the screen saver kicks in, the workstation will still be locked. You'll still have to unlock it to use the machine.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Following on from what Dave was getting at in the above thread, you could always just create a shortcut under the Explorer startup group to run the command line:
rundll32 user32.dll LockWorkStation
Gavin Taylor
w: http://www.gavspace.com
-- modified at 1:56 Monday 23rd January, 2006
|
|
|
|
|
This would also work, but my question above still remains: is this really going to secure my PC if I have to disable login passwords in order for autologin to work??
---
http://sprdsoft.cmar-net.org - We Sprd You Softly
Our site features contents and several images. All of this is very weird.
In the end, war is not about who's right, it's about who's left.
|
|
|
|
|
Grab a copy of TweakUI[^] and you should be able to automatically set which user you want windows to login as and theres an option to specify a password as well.
Gavin Taylor
w: http://www.gavspace.com
|
|
|
|
|
I've found some registry keys[^] to do just that (I suppose TweakUI uses them too), thanx for your fast reply
These are the keys:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\<br />
<br />
AutoAdminLogon = 1<br />
DefaultDomainName = [Domain name]<br />
DefaultUserName = [User name]<br />
DefaultPassword = [Password]
---
http://sprdsoft.cmar-net.org - We Sprd You Softly
Our site features contents and several images. All of this is very weird.
In the end, war is not about who's right, it's about who's left.
|
|
|
|
|
T1TAN wrote: I have to disable login passwords in order for autologin to work??
Where was this mentioned???? No one said anything about this. You can't disable login passwords anyway, so I wondering where this came from.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Sorry, I was reading a completely irrelevant MSDN article, and things got a bit messed up in my head
---
http://sprdsoft.cmar-net.org - We Sprd You Softly
Our site features contents and several images. All of this is very weird.
In the end, war is not about who's right, it's about who's left.
|
|
|
|
|
|
This script[^] is create the file shortcut to lock the desktop. You can customize it to lock the desktop only and configure this script as log on script. Then your computer will be locked immediately after it pass an auto login process. You don't need to wait for a screen saver and lock the system.
|
|
|
|
|
I have an idea to create my own hardware for frequency tuner,But i don't know how to code the s/w(installation) for this new hardware & in which language.
Help me to finish this.
Revathi
|
|
|
|
|
Are you asking how to write your own device drivers for this hardware?? You're best bet is Visual C++ and the Windows Device Driver Development Kit[^].
After that, building an Installer is a piece of cake with something like InstallSheild.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi gurus,
Is there a way to bring a window/dialog (from a certain application or executable) to back using the windows command line? Is there a switch or a certain parameter that we can add?
Thanks,
Waxie
-- modified at 5:06 Friday 20th January, 2006
|
|
|
|
|
Edit: To the back?
I dont know any. Sorry.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
-- modified at 9:30 Friday 20th January, 2006
|
|
|
|
|
Sorry sebastian,
I seem to have posted message incorrectly. I apologize.
wrong post!
waxie
|
|
|
|
|
No, there isn't.
It's possible to write one though...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
This is a known bug in Windows XP, for which Microsoft has a supported fix. To learn how to get this patch, see MSKB 307274, “Windows XP Stops Responding (Hangs) During Windows Shutdown.”
see: http://aumha.org/win5/a/shtdwnxp.php[^]
waxie
|
|
|
|
|
|
|
|