Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Registry Entry to delete specific User Profile entries

20 Sep 2013   #1

Windows 7 x64, Windows XP
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 System SpecsSystem Spec
20 Sep 2013   #2

Windows 7 Ultimate 64-bit

A simple batch script can do the job

@echo off
title BAK Removal
del /s /f c:\*.bak
pause >nul
(if I have understood you, sorry if it is wrong, the path can be adjusted for your specific needs)
My System SpecsSystem Spec
03 Oct 2013   #3

Windows 7 x64, Windows XP

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


 Registry Entry to delete specific User Profile entries

Thread Tools

Similar help and support threads
Thread Forum
Cannot delete Registry entry
After trying to recover from severe malware infection, I ran Spybot S&D. It removed several Registry entries but one it could not. I tried manually but it could not be removed. It is located at Hkey-users\S-1-5-21-200258984-2800820833-1255355968\Software\DataMngr. It has subdirectories "Files",...
System Security
Delete specific context menu entries
Hi all, I have noticed that there is some very annoying context menu entries when you select to rename text within a filename. For example, right to left reading order and open IME. I was wondering how I could remove these as I really dont want them there. Attachement included to show ...
corrupted registry entries on user profile after malware removal
Running Windows 7 x64 I had a recent infection with the Windows 7 Security Center virus and used the article to remove the malware. Part of the process involved running MalwareBytes to finally delete the infectious file. Once removed I deleted all the system restore points...
General Discussion
What is the strange registry entry and how can I delete it?
I have the following registry key that appears to do nothing but keeps re-creating itself: HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon This key contains a Shell value that points to an empty directory on my system: C:\Users\Birk\AppData\Local\bc53345c\X If I...
Cannot delete registry entries
(Incorrectly posted earlier in the sound and devices forum group) My Wacom Intuos tablet needs a new driver but after removing the old one my Windows 7 Pro 64bit registry still has this old driver mentioned in many lines of all the CurrentControlSet, ControlSet001 and ControlSet002. I...
General Discussion

Our Sites

Site Links

About Us

Find 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 18:10.
Twitter Facebook Google+