Solved

How to identify a service running under a different user account

Posted on 2010-08-16
4
550 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

730 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