Step 1:
Go to the destination pc and copy the files from the location below to somewhere sensible - or the desktop in my case!:-
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86 (for 32 bit cpu)
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x64 (for 64 bit cpu)
Step 2:
This is quite a fudge, but necessary to get this to work I’m afraid! - you have to create local version of the domain account you are wanting to remote debug with on both machines (you might only have to do this on the remote machine - but I didn’t take and chances!)
- REMEMBER you must uncheck the change password on first login and password will expire!
Set the password of the local account to be the same as the domain account (I had to disable password complexity on the remote server to allow me to add the account!)
Step 3:
Add the new account in as a local administrator (or global if the machine is a DC)
Step 4:
Right click on the file called msvsmon.exe and select run as - fill in the details of the newly create local account and select run.
Step 5:
Open your project in visual studio and select Debug from the menu and then Attach to process.In the Qualifier box enter the ip address of the remote PC, and if the below message pops up select unblock remote debugging from any computer
Step 6:
Attach to the process you wish to debug! In my case this was w3wp.exe, but this may be differant in your case!
Nice an easy:)
4 comments:
Great thanks for the post.
Glad you found it helpfull!
Yep, you definetely need to create the accounts on both machines (step 2) on vista but not tried it on xp
great article, really info and helpful, keep it up. thanks for sharing
remote pc access software pc access
Post a comment