+ Post New Thread
Results 1 to 2 of 2
Windows 7 Thread, Registry Batch File Remove/Exclude in Technical; Hi All, I'm trying to think of a way of removing all the keys/users in this location; "HKEY-LOCAL-MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" but ...
  1. #1
    dannyjay's Avatar
    Join Date
    Jan 2009
    Location
    Worksop, Nottinghamshire
    Posts
    86
    Thank Post
    14
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Registry Batch File Remove/Exclude

    Hi All,

    I'm trying to think of a way of removing all the keys/users in this location; "HKEY-LOCAL-MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" but excluding certain admin profiles.

    Is this even possible?

    Thanks in advance.
    DJ.

  2. #2


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    8,914
    Thank Post
    226
    Thanked 2,676 Times in 1,973 Posts
    Rep Power
    787
    DelProf2 might be a better option.

    Code:
    delprof2.exe /u /i /ed:admin*

SHARE:
+ Post New Thread

Similar Threads

  1. Getting a batch file to react to a registry key
    By Wheelgunr in forum Windows
    Replies: 5
    Last Post: 12th September 2008, 05:23 PM
  2. Batch file to remove registry key doesnt work
    By sidewinder in forum Windows
    Replies: 4
    Last Post: 7th December 2007, 04:48 PM
  3. batch file help
    By beeswax in forum Scripts
    Replies: 9
    Last Post: 3rd March 2006, 07:48 PM
  4. numbers and batch files
    By russdev in forum Windows
    Replies: 4
    Last Post: 19th November 2005, 09:51 PM
  5. Blocking Batch Files using Group Policy in Server 2003
    By markwilliamson2001 in forum Windows
    Replies: 13
    Last Post: 4th October 2005, 05:28 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •