Registry Entry to delete specific User Profile entries


  1. Posts : 3
    Windows 7 x64, Windows XP
       #1

    Registry Entry to delete specific User Profile entries


    I work for a University as a Lab Manager where we have over 300 computers running Domain Profiles. We have begun updating from XP to 7 and started to notice TEMP profiles being created. I have figured out how to resolve the issue by going to the registry

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurentVersion\ProfileList

    and deleting the strings that have .bak at the end. What I am looking for now is a way to delete these files as an administrator through our management service Altiris. So basically I am looking for a script that would delete only profile entries that have a .bak at the end. Does anyone have an idea on how to, or now a guide on how to, accomplish this? Thank you.
      My Computer


  2. Posts : 9
    Windows 7 Ultimate 64-bit
       #2

    A simple batch script can do the job

    Code:
    @echo off
    COLOR 17
    title BAK Removal
    del /s /f c:\*.bak
    pause >nul
    exit
    (if I have understood you, sorry if it is wrong, the path can be adjusted for your specific needs)
      My Computer


  3. Posts : 3
    Windows 7 x64, Windows XP
    Thread Starter
       #3

    Thanks! I will give that a shot on a test machine to see if it worked!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:47.
Find Us