Microsoft
Software
Hardware
Network
Question : Silently remove registry key value at logon
The following is in a Citrix environment with WIndows XP and 7 computers.
I have a registry key value I would like to remove at login for all users. I have created a bat file with the following to call the reg file:
regedit /s <filename>.reg
When the user logs in the command gives no errors and logs the user in normally, however the registry key value remians.
I have tried calling the reg file using the command below:
regedit <filename>.reg
and it works fine, however the user is prompted with the registry modification statement.
What am I missing that does not allow the registry key value to be removed using a .bat file to call the .reg file with the /s switch?
Answer : Silently remove registry key value at logon
Or you could do it with VBS?
http://technet.microsoft.c
om/en-us/m
agazine/
20
06.08.scri
ptingguy.a
spx
Lee
Random Solutions
Classic vbscript: at reboot, wait 10 minutes, check if (list of HostHeader sites) are running, if so, STOP
Copy an exe to C Drive for user with no Administrative Privileges
spoolsv.exe is taking 50%CPU all the time
Copy tables between databases
Add content to a DIV area using AJAX
Problems with date function PHP
publishing Terminal Server in ISA 2006
forcing a delay on a function in vb.net
Forms and Unicode (utf-8) Characters
Unique Records with Excel