Solved

GPO to delete registry entry

Posted on 2009-07-07
3
581 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
Comment Utility
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 82

Accepted Solution

by:
oBdA earned 500 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
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.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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). …

744 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

16 Experts available now in Live!

Get 1:1 Help Now