Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by Michael_Leng
at 2024-07-18 18:11:33
Point:500 Replies:6 POST_ID:829026USER_ID:11899
Topic:
Windows Batch Scripting;Windows XP Operating System;Scripting Languages
Hi All Experts,
I need to use batch file to implement the following points
1/. user computer must be screen saver with password protected.
2/. screen saver time out value = 300seconds (5minutes)
3/. user can not change screen saver or the screen saver time out value.
when I run the batch file, it will implement those policy.
so please help.
Thanks
I need to use batch file to implement the following points
1/. user computer must be screen saver with password protected.
2/. screen saver time out value = 300seconds (5minutes)
3/. user can not change screen saver or the screen saver time out value.
when I run the batch file, it will implement those policy.
so please help.
Thanks
Expert: sirbounty replied at 2024-07-18 20:12:19
Regini is the utility I was thinking of for the permissions change (http://support.microsoft.com/kb/264584), but I can't stress enough that this isn't the approach you want to use to handle this scenario... This is why policies were created. :^)
Accepted Solution
Expert: sirbounty replied at 2024-07-18 20:09:57
167 points EXCELLENT
Sure, a batch file will set the values you requested:
reg add "hkcucontrol paneldesktop" /v screensaverissecure /d 1
reg add "hkcucontrol paneldesktop" /v ScreenSaveTimeOut /d 300
But to prevent the user from changing their "user" settings goes against the design. You can only lock them down via policy, unless you're also going to manipulate the permissions on the desktop key, which is highly advised against. Though even if you would go that route, it would mean a separate instance because that could only be changed by an admin...
reg add "hkcucontrol paneldesktop" /v screensaverissecure /d 1
reg add "hkcucontrol paneldesktop" /v ScreenSaveTimeOut /d 300
But to prevent the user from changing their "user" settings goes against the design. You can only lock them down via policy, unless you're also going to manipulate the permissions on the desktop key, which is highly advised against. Though even if you would go that route, it would mean a separate instance because that could only be changed by an admin...
Author: Michael_Leng replied at 2024-07-18 19:53:08
I am in a Domain environment. anyways I prefer to run the batch file or script on each client computer instead of using group policy, as i want to exclude some client, so is it possible?
I think it is much easier.
thanks
I think it is much easier.
thanks
Assisted Solution
Expert: duncanb7 replied at 2024-07-18 19:25:16
167 points EXCELLENT
Be Reminded window XP is no longer supported by Microsoft.
You can do this, set all setting for screen saver on window as adminstrator
and then change the registry key to hide those setting from user
from the tools such as http://www.pctools.com/guides/registry/detail/170/
For group policy, I am NOT quite sure doing Group policy on XP easier or more time-consuming than on window 7
(Note: The following link is just for your reference at option2- and option-3 ,how to solve your similar issue on window 7 but not on xp, http://www.sevenforums.com/tutorials/15322-screen-saver-password-protection-enable-disable.html)
Hope understand your question completely.If not, please point it out
Duncan
You can do this, set all setting for screen saver on window as adminstrator
and then change the registry key to hide those setting from user
from the tools such as http://www.pctools.com/guides/registry/detail/170/
For group policy, I am NOT quite sure doing Group policy on XP easier or more time-consuming than on window 7
(Note: The following link is just for your reference at option2- and option-3 ,how to solve your similar issue on window 7 but not on xp, http://www.sevenforums.com/tutorials/15322-screen-saver-password-protection-enable-disable.html)
Hope understand your question completely.If not, please point it out
Duncan
Assisted Solution
Expert: Mitchell Milligan replied at 2024-07-18 18:41:52
166 points EXCELLENT
Group Policy would be the best way to handle this, even if you are not in a domain environment. You can edit the local security policy to enact those changes.
Expert: sirbounty replied at 2024-07-18 18:35:13
Are you in a domain environment or not?
You can do this with a mandatory policy... http://support.microsoft.com/kb/307800
You can do this with a mandatory policy... http://support.microsoft.com/kb/307800