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

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 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
.


Reply

 Registry Entry to delete specific User Profile entries





Thread Tools



Similar help and support threads for2: Registry Entry to delete specific User Profile entries
Thread Forum
Solved Unable to delete empty registry entry General Discussion
Cannot delete Registry entry System Security
Delete specific context menu entries Customization
Solved corrupted registry entries on user profile after malware removal General Discussion
How do I add Registry entry under HKEY_USERS\ for the current user General Discussion
Solved What is the strange registry entry and how can I delete it? Software
Cannot delete registry entries 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 05:57 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33