Solved

GPO to delete registry entry

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

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

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…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

830 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