Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. !a programming question

!a programming question

Scheduled Pinned Locked Moved The Lounge
comquestionlearning
11 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Neville Franks
    wrote on last edited by
    #1

    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"

    N M D D 4 Replies Last reply
    0
    • N Neville Franks

      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"

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      Try \\[Machine Name]\C$\Documents and Settings\[User Name]\My Documents. It works for me.

      N 1 Reply Last reply
      0
      • N Nish Nishant

        Try \\[Machine Name]\C$\Documents and Settings\[User Name]\My Documents. It works for me.

        N Offline
        N Offline
        Neville Franks
        wrote on last edited by
        #3

        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"

        P N 2 Replies Last reply
        0
        • N Neville Franks

          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"

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #4

          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

          C 1 Reply Last reply
          0
          • N Neville Franks

            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"

            D Offline
            D Offline
            Daniel Turini
            wrote on last edited by
            #5

            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!

            1 Reply Last reply
            0
            • M Michael Dunn

              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

              C Offline
              C Offline
              Chris Meech
              wrote on last edited by
              #6

              Michael 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]

              1 Reply Last reply
              0
              • N Neville Franks

                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"

                D Offline
                D Offline
                dandy72
                wrote on last edited by
                #7

                > 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. :-)

                N 1 Reply Last reply
                0
                • N Neville Franks

                  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"

                  P Offline
                  P Offline
                  Paul Charles
                  wrote on last edited by
                  #8

                  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 :)

                  N 1 Reply Last reply
                  0
                  • N Neville Franks

                    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"

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #9

                    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.

                    1 Reply Last reply
                    0
                    • D dandy72

                      > 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. :-)

                      N Offline
                      N Offline
                      Neville Franks
                      wrote on last edited by
                      #10

                      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"

                      1 Reply Last reply
                      0
                      • P Paul Charles

                        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 :)

                        N Offline
                        N Offline
                        Neville Franks
                        wrote on last edited by
                        #11

                        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"

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups