Solved

GPO to delete registry entry

Posted on 2009-07-07
3
582 Views
Last Modified: 2012-05-07
Hi all,

I need to create a GPO that deletes the following registry:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup\header be blank
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup\footer be blank

Can you please help me out? We intend to delete the header and footer of IE7 over 170 computers.

0
Comment
Question by:casscar
3 Comments
 
LVL 1

Expert Comment

by:erezone
ID: 24793843
you can ad a bach file to the startup using the command 'reg delete' in user settings
You can copy the following text as your batch file

reg delete HKCU\Software\Microsoft\Internet Explorer\PageSetup\header be blank
reg delete HKCU\Software\Microsoft\Internet Explorer\PageSetup\footer be blank
0
 
LVL 83

Accepted Solution

by:
oBdA earned 500 total points
ID: 24797235
The keys are in HKCU; they have be set in a logon script, not a startup script.
The correct syntax to set these values to an ampty string with reg.exe:

reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup" /v "Header" /t REG_SZ /d "" /f

reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup" /v "Footer" /t REG_SZ /d "" /f

Open in new window

0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now