Solved

How to identify a service running under a different user account

Posted on 2010-08-16
4
544 Views
Last Modified: 2012-05-10
Trying to delete or rename a user account on a domain client running Windows 7 pro, the laptop is at the users house and I'm connected remotely.  When I try to rename the profile of the domain user who owns the laptop I get an error saying that the folder or a file in the folder may be open.  I've found a KB article that says I either need to log on as a different user and try again (doesn't work) or I need to find what service is running under the other usernae and close it.  My problem is I need a way of viewing what services might be running under the other user name.  This is driving me nuts as all I want to do is create a new user profile for a domain user but I just can't do it.

It seems for some reason even though I can log onto the laptop as a domain admin when I check the members of the administrators group in control panel the domain admin is not in there.  I can't add it as I'm not connected to the domain.  Could that be the reason why I can't delete the user's domain profile from the laptop in the first place?
0
Comment
Question by:amlydiate
  • 2
4 Comments
 
LVL 12

Expert Comment

by:Rant32
Comment Utility
You could try Sysinternal's Process Explorer to find open files. Use the search function in ProcExp to find a handle to the profile folder (C:\Users\username). You may be able to kill the process as well if you can't find the service.

Or look in the Services applet for services configured to run as that user.

Task Manager can display a column Username that can be used to identify processes running as the user.
0
 
LVL 12

Expert Comment

by:Rant32
Comment Utility
It might be a scheduled task.
0
 
LVL 3

Expert Comment

by:Mantvydas
Comment Utility
First of all, what I would do, is restart machine. Every profile gets released by any process, that is holding it.

Then you can delete profile for sure. Of course, you have to logon as another user, who is an admin on that machine. You can't delete the profile of a user if you logged on as that user.

You want what? Create a domain user profile, for a user at home? If the user is at his house, and he is not connected to domain, there is no way you can create a new profile for a domain user. Think about it, if you delete his profile, then a profile of a domain user is only created when he logs on and gets authenticated by a domain controller. A VPN connection to the office, before the logon prompt would be necessary! Can you do that?


0
 

Accepted Solution

by:
amlydiate earned 0 total points
Comment Utility
It looks like a peculiarity of using Logmein, user managed to delete the profile herself when I was not connected to it...

Thanks for everyones help though.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Outlook Free & Paid Tools
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…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

771 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

16 Experts available now in Live!

Get 1:1 Help Now