security - How to make a Logon script secure in windows -


i have logon batch script runs .reg file user when log in. here's script

@echo running regedit.exe /s "c:\user_files\user.reg" 

now concern batch file located in

c:\windows\system32\grouppolicy\user\scripts 

every user has access directory. can change batch , may cause security threat. there way make more secure. or can similar powershell scripting there's no batch. if point me right direction helpful.

your script needs readable users, can take away rights modify -- that's typical file system feature every windows since nt has (aside windows 9x, of course).

hence, remove write privileges user group in users are, , you're fine.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -