Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to identify a service running under a different user account

Posted on 2010-08-16
4
Medium Priority
?
554 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

721 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