Solved

GPO to delete registry entry

Posted on 2009-07-07
3
585 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

832 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