Solved

Deleting Registry subkeys windows 7

Posted on 2011-03-03
5
536 Views
Last Modified: 2012-05-11
Hi there,
I am making a .bat file to delete all the subkeys under the key 'ProfileList'
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /f
I want the subkey folder ProfileList exist but all the subkeys deleted
which switch I should use.
Help
0
Comment
Question by:amanzoor
  • 3
5 Comments
 
LVL 6

Expert Comment

by:Lordy123
ID: 35031347
/VA is the switch you're looking for I believe.
0
 
LVL 6

Expert Comment

by:Lordy123
ID: 35031365
REG DELETE KeyName [/v ValueName | /va] [/f]
0
 
LVL 4

Author Comment

by:amanzoor
ID: 35031413
No guys it asks me for name of the subkeys if I put /v.  THere are bunch of folders under ProfileList key I want to get rid of them all.
0
 
LVL 6

Accepted Solution

by:
Lordy123 earned 250 total points
ID: 35031681
I misunderstood your question, I'm not sure you'll be able to accomplish that with a bat file, you may need to make a script.
0
 
LVL 15

Assisted Solution

by:Russell_Venable
Russell_Venable earned 250 total points
ID: 35035881
I would make one. Just not on a computer to test logic of the script.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Google Chrome - Wipe history via GPO 15 63
Virus Kronos 4 65
Robocopy questions 45 119
sync conflicts 1 22
After playing around with my ASUS 1215n (http://www.asus.de/product.aspx?P_ID=HrglRhH8D60Rmlv3) Netbook, I finally managed to get smooth HD 1080p (http://en.wikipedia.org/wiki/1080p) playback of videos on it. Second Generation Intel Atom (http://en.…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

708 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

12 Experts available now in Live!

Get 1:1 Help Now