Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to access an end user's PC on company network

30 May 2012   #1
snyper77

Windows 7 pro 64
 
 
How do I access files on another PC on site?

Hello. I'm a desktop analyst and I need access to a remote PC on our network. The user has disabled remote access to his PC.
I need to see files on that PC and I planned on using \\domain\computername c$ but it says "could not connect". That command works on other PC's here, but not the one in question.
What can I do to enable access so that command works?
There is staffing changes being made and I need to do this without the end user knowing.
I have full access to AD and all servers here, if needed. Thanks for your help!


My System SpecsSystem Spec
.

30 May 2012   #2
emaraszek

Windows 7 Ultimate x64
 
 

I had an issue with administrative shares (C$) on our company network, I fixed the access issue you have described by going into the 'Network and Sharing Center,' selecting 'Change advanced sharing settings,' and turning on 'File and Printer Sharing.' Then I took a new Windows 7 Enterprise image for deployment that included this fix. To be safe, I added a command to enable this feature as a first logon command in my sysprep file.

If you can either physically access this machine or remote desktop into it you should be able to do this. If not, you can try using the following command from psexec as long as remote registry is enabled:

Code:
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
That same code will also work in a sysprep file, which is what I was referring to earlier in this post. I set it to run as a first logon command to be sure that all of my machines have this enabled.
My System SpecsSystem Spec
30 May 2012   #3
snyper77

Windows 7 pro 64
 
 

I don't have physical access to the machine (the user cannot know I accessed it). Is there any way I can make //domain/computername c$ work from my PC to access his? For some reason, it works on all other PCs here, but not his.

I also don't know "how" to use that command line you gave me. Where it goes, etc?
My System SpecsSystem Spec
.


30 May 2012   #4
emaraszek

Windows 7 Ultimate x64
 
 

Then use psexec with the command I showed you in my previous post. As long as remote registry is running it will work
My System SpecsSystem Spec
30 May 2012   #5
snyper77

Windows 7 pro 64
 
 

Downloaded psexec.... extracted.... and when I run it, a DOS window appears for a split second and disappears.
My System SpecsSystem Spec
30 May 2012   #6
emaraszek

Windows 7 Ultimate x64
 
 

Psexec is a command line utility, it has no GUI so you can't just click on it. The easiest thing to do is put all the extracted files in your system32 directory so you can run it without specifying the path to it. See the following link for usage:

http://technet.microsoft.com/en-us/s.../bb897553.aspx

The ps suite is invaluable to admins, I'm surprised you've never used it before. Get to know all the tools and they will save you tons of time and effort
My System SpecsSystem Spec
30 May 2012   #7
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by snyper77 View Post
...the user cannot know I accessed it...
This sounds very fishy to me...Why do you need access to the machine without the user knowing? Does the computer in question belong to the company? Is their some purpose to what it is you are doing? Because I can tell you right now, if the computer is privately own and is not hooked up to a domain, (I assume the company network/computers are part of a domain controller). Then trying to access said computer remotely will not work, and it would be consider hacking. Which is against forum rules.
My System SpecsSystem Spec
30 May 2012   #8
emaraszek

Windows 7 Ultimate x64
 
 

I agree with you logicearth, it sounds possibly suspicious. However, since the Internet gives us no background or insight into someone's position I'm inclined to give the OP the benefit of the doubt. As a network admin myself I can think of several reasons to access another computer silently, but I find it hard to believe that someone in the field would have a hard time figuring this out. Regardless, I have provided the steps I would use and hope they can be of use.
My System SpecsSystem Spec
31 May 2012   #9
snyper77

Windows 7 pro 64
 
 

NO, the user is being laid off, but doesn't know. He may have suspicion that he is getting laid off and we need to backup some files on his HD before they are possibly harmed. I actually need to activate RDP in group policy for all PC's. I'm still spinning my wheels here.

http://www.seanlabrie.com/2011/use-g...-group-of-pcs/

That link tells me to Open Group Policy Management Console and create and link a new GPO to this OU (containing all the computers). I have a folder (OU) in AD called "Computers" with all PCs in it, but I can't figure out how to attach ALL the pcs to a Group Policy.
I created a GP called "Enable RDP" - went to properties, on scope tab, under Security FIltering, I hit "add", but it won't grab the entire folder called "computers", it's only letting me add individual computers. HOw do I get it to grab ALL pcs?
My System SpecsSystem Spec
31 May 2012   #10
emaraszek

Windows 7 Ultimate x64
 
 

As far as the remote access issue from before, if you don't have physical access to the machine and you can't remote into it then you're only option is psexec. However, this will only work with remote registry service enabled on the destination PC (it's not enabled by default, so unless you set it up that way you're out of luck).

As far as using Group Policy to enable RDP on all machines in an OU, as long as they're all in the proper OU it should work. If you want the policy to apply to all PCs then simply don't do any filtering and it will automatically apply to everything in the OU it's linked to. Filtering is for applying a policy only to certain machines or machines with certain attributes when creating a separate OU for them isn't possible.

Let me know how it goes.
My System SpecsSystem Spec
Reply

 How to access an end user's PC on company network




Thread Tools





Similar help and support threads
Thread Forum
You do not have permissions to access \\User\g. Contact you network Ad
Hello to everyone I have an issue with accesing in one of my harddrives. I have made a Lan connection between 2 Computers and I shared the hard drives, each one has full access permission. But when I am trying to go into one from the hard drives, the system doesnt allow me. For example on PC1 I...
Network & Sharing
Setting up a secure set of restrictions for company user...
I am setting up some new laptops that will travel to dispatchers homes for them to work from home. But we are concerned about how to keep them from screwing things up too terribly. I used to use controls back in the day to limit things like right clicking on the desktop, accessing "All Programs"...
System Security
Admin rights are removed when connected to the company network
I am allowed to make myself an admininstrator while on the network or off the network but the next time (which is the second, the first time is to make the changes), my administrator rights disappear. I have added myself as an admininstrator in every way listed I think on all threads with no luck.
Network & Sharing
XP User denied access across network
I have a very simple network with just 2 laptops, one running Windows 7 and the other XP. The XP computer has one user and no password. The Win7 has 2 users, one with a password and one with no password. I have done all the right things to make Win7 files visible across the network but...
Network & Sharing
BlueScreen after connecting to company network
I get a BlueScreen every time I connect my computer (Dell M6300, Windows 7 Ultimate x64) to the company network at work. This happens with the network connection being wireless or wired! Also it doesn't happen immediately but takes from a few seconds up to several minutes until the blue screen...
BSOD Help and Support
user account blocking network access
I have 5 computers on 2 networks (home and Log Me In Hamachi2 VPN) and they can all connect to eachother flawlessly as long as none of them are logged on with my user account. I have a user account on 3 of the 5 PC's and when logged on to any of the 3 with my account and I try to access any of the...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:00.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App