!a programming question
-
I've tried and failed. I've googled and failed. Is there a way to access a users "My Documents" (Documents and Settings) folder on a WinXP Pro machine from another PC on the LAN. I've enabled sharing to no avail and permissions. I get "blah blah You may not have permission to use this Windows Resource. blah. Access is denied". Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
-
I've tried and failed. I've googled and failed. Is there a way to access a users "My Documents" (Documents and Settings) folder on a WinXP Pro machine from another PC on the LAN. I've enabled sharing to no avail and permissions. I get "blah blah You may not have permission to use this Windows Resource. blah. Access is denied". Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
Try \\[Machine Name]\C$\Documents and Settings\[User Name]\My Documents. It works for me.
-
Try \\[Machine Name]\C$\Documents and Settings\[User Name]\My Documents. It works for me.
Thanks Nish, but I can't get this to work eiter. I'm putting it into the Explorer Address bar. Is that what you are doing? Also are both of your PC's XP Pro? Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
-
I've tried and failed. I've googled and failed. Is there a way to access a users "My Documents" (Documents and Settings) folder on a WinXP Pro machine from another PC on the LAN. I've enabled sharing to no avail and permissions. I get "blah blah You may not have permission to use this Windows Resource. blah. Access is denied". Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
Have you turned off simple file sharing? (Control panel|Folder options|View tab|Use simple file sharing) After turning that off and setting up the share, go to the other computer and do this at a DOS prompt:
net use * \\_computername_\C$ /user:_username_ _password_
(assuming the share is on the C: drive) The user/pass should be anything that can be authenticated by the computer doing the sharing. If that works, then the sharing itself is working. If that fails, then something else is horked. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD -
I've tried and failed. I've googled and failed. Is there a way to access a users "My Documents" (Documents and Settings) folder on a WinXP Pro machine from another PC on the LAN. I've enabled sharing to no avail and permissions. I get "blah blah You may not have permission to use this Windows Resource. blah. Access is denied". Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
Neville Franks wrote: I get "blah blah You may not have permission to use this Windows Resource. blah. Access is denied". :sigh: The simpler the error message, the less probable is for a user to understand it :sigh: That blah blah is actually explaining the real cause: do you have rights on that folder? Often, only Local Administrators have rights on other user's folders. If you are an Administrator on a remote machine, but is not a domain admin (or is not on a domain), make sure that the user you're using on the remote machine is either an Administrator and/or have rights on the folder. I see dead pixels Yes, even I am blogging now!
-
Have you turned off simple file sharing? (Control panel|Folder options|View tab|Use simple file sharing) After turning that off and setting up the share, go to the other computer and do this at a DOS prompt:
net use * \\_computername_\C$ /user:_username_ _password_
(assuming the share is on the C: drive) The user/pass should be anything that can be authenticated by the computer doing the sharing. If that works, then the sharing itself is working. If that fails, then something else is horked. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DDMichael Dunn wrote: If that fails, then something else is horked. I just love it when you get all technical.:) Chris Meech I am Canadian. [heard in a local bar] Remember that in Texas, Gun Control is hitting what you aim at. [Richard Stringer] Nice sig! [Tim Deveaux on Matt Newman's sig with a quote from me]
-
I've tried and failed. I've googled and failed. Is there a way to access a users "My Documents" (Documents and Settings) folder on a WinXP Pro machine from another PC on the LAN. I've enabled sharing to no avail and permissions. I get "blah blah You may not have permission to use this Windows Resource. blah. Access is denied". Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
> a users "My Documents" Access rights aside, hopefully you have the luxury of being able to assume the My Documents folder hasn't been moved elsewhere. Otherwise you may have to access the remote machine's registry first and look at "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders". OTOH that would only give you the "Shared Documents" folder, not the one for the "current user". How do you determine what the "current user" is? Does this user actually exist on the remote machine? There's an equivalent set of "Shell Folder" entries under HKCU, but how do you determine the "current user" in the context of a remote machine? Enumerate the profiles listed under HKEY_USERS (yuck!) Mind you, I'm probably overthinking this... :-) It sounds like you're trying to access this by clicking through Explorer...doing this programmatically is a whole different story. :-)
-
Thanks Nish, but I can't get this to work eiter. I'm putting it into the Explorer Address bar. Is that what you are doing? Also are both of your PC's XP Pro? Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
Make sure the Server Service is running Then fire up an explorer window. Click Tools->Folder Options... Click View tab Scroll to the bottom and deselect "Use simple file sharing" Click 'Ok' Had a simular problem deploying the ghost agent which uses standard Winnt $ shares. Hope this helps :)
-
Thanks Nish, but I can't get this to work eiter. I'm putting it into the Explorer Address bar. Is that what you are doing? Also are both of your PC's XP Pro? Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
Neville Franks wrote: I'm putting it into the Explorer Address bar. Is that what you are doing? Yes. Neville Franks wrote: Also are both of your PC's XP Pro? Yes.
-
> a users "My Documents" Access rights aside, hopefully you have the luxury of being able to assume the My Documents folder hasn't been moved elsewhere. Otherwise you may have to access the remote machine's registry first and look at "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders". OTOH that would only give you the "Shared Documents" folder, not the one for the "current user". How do you determine what the "current user" is? Does this user actually exist on the remote machine? There's an equivalent set of "Shell Folder" entries under HKCU, but how do you determine the "current user" in the context of a remote machine? Enumerate the profiles listed under HKEY_USERS (yuck!) Mind you, I'm probably overthinking this... :-) It sounds like you're trying to access this by clicking through Explorer...doing this programmatically is a whole different story. :-)
Daniel Desormeaux wrote: Mind you, I'm probably overthinking this... It sounds like you're trying to access this by clicking through Explorer...doing this programmatically is a whole different story. Yes that's it. And also to enter into a Synchronization app I use to get my Notebook and Desktop PC in sync. This is just me and my PC's so I know what the User(s) are up to. Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
-
Make sure the Server Service is running Then fire up an explorer window. Click Tools->Folder Options... Click View tab Scroll to the bottom and deselect "Use simple file sharing" Click 'Ok' Had a simular problem deploying the ghost agent which uses standard Winnt $ shares. Hope this helps :)
Paul Charles wrote: Make sure the Server Service is running You mean the other PC. Scroll to the bottom and deselect "Use simple file sharing" It was already on. Michael Dunn's reply says turn it off! Paul Charles wrote: Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"