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
building a bulletproof redundant network
adding FK by code
Views versus Queries
SSAS best Approach or should it be SSRS
SBS 2008 Group Policy WAN Issues
Using a website instead of Excel
Upload file to webserver
Upload multiple files with Firefox to SharePoint Document Library?
Get unique Months and Year from time stamp using MySQL
How do I get this JavaScript into ASP.NET?