Delete Registry Entry

Hi Experts I have the following code in a .reg file to add a Registry Entry.

What is the code to 'delete' (reverse) the addition?  i.e Turn it Off.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location9]
"Path"="C:\\Users\\Public\\SASInstall\\"
"AllowSubfolders"=dword:00000001
"Description"="SAS Install"
"Date"="2016-10-10 17:55"

Thanks,
Bob C.
Bob CollisonSystem ArchitectAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Edward PamiasTeam Lead RRS DeskCommented:
This site includes all the relevant codes on how to delete the entry.

https://technet.microsoft.com/en-us/library/cc742145(v=ws.11).aspx
1
KimputerCommented:
Read the lower part of this MS article: https://support.microsoft.com/en-us/help/310516/how-to-add,-modify,-or-delete-registry-subkeys-and-values-by-using-a-.reg-file
header is Deleting Registry Keys and Values
1
RaminTechnical AdvisorCommented:
I think you can also do it  with Registrar Registry Manager.
0
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

Shaun VermaakTechnical Specialist/DeveloperCommented:
You can use REG.exe
REG.exe DELETE "HKCU\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location9" /f

Open in new window

2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shaun VermaakTechnical Specialist/DeveloperCommented:
Glad we could help.
Please remember to endorse my, or any other expert's comments that you found helpful by clicking on the "Thumb's Up" button
0
Bob CollisonSystem ArchitectAuthor Commented:
Thanks for the info.  I wasn't aware of this.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.