Solved

How to identify a service running under a different user account

Posted on 2010-08-16
4
548 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
ID: 33449537
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
ID: 33449549
It might be a scheduled task.
0
 
LVL 3

Expert Comment

by:Mantvydas
ID: 33450092
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
ID: 33482737
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

831 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