Solved

How to identify a service running under a different user account

Posted on 2010-08-16
4
552 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

617 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