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. Disabling default share (NT/W2K)

Disabling default share (NT/W2K)

Scheduled Pinned Locked Moved The Lounge
comhelpquestion
19 Posts 8 Posters 3 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.
  • RaviBeeR RaviBee

    Unfortunately, that doesn't let me unshare anything, even though I have admin privs. Also, it shows only 2 drives and IPC$ even though I have 9 drives on the system. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

    K Offline
    K Offline
    Konstantin Vasserman
    wrote on last edited by
    #7

    Hmm... I am pretty sure you could do it under NT4, but I guess they've changed it since... Did you try MS KB?

    1 Reply Last reply
    0
    • RaviBeeR RaviBee

      Unfortunately, that doesn't let me unshare anything, even though I have admin privs. Also, it shows only 2 drives and IPC$ even though I have 9 drives on the system. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #8

      Try removing all priveleges for the shares on the groups you want to exclude. I've only been using Win2KS for a month or so, but it seems to adhere very tightly to the model of "assign users to groups; assign priveleges to groups." Create special access groups for those users you want to share resources with, and allow only those groups access. Ravi Bhavnani wrote: Unfortunately, that doesn't let me unshare anything, even though I have admin privs. That's weird! You can't delete a group from the access list? I haven't run into that...

      1 Reply Last reply
      0
      • RaviBeeR RaviBee

        Nish [BusterBoy] wrote: What are the default shares? If your NT/2K machine is called "foo" and you have no drives explicitly shared, do the following from another machine on the network:

        1. Start -> Run...
        2. In the "Open" box, type \\foo\C$.
        3. :(

        /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

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

        I did that It prompts for username/password. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

        RaviBeeR 1 Reply Last reply
        0
        • RaviBeeR RaviBee

          Unfortunately, that doesn't let me unshare anything, even though I have admin privs. Also, it shows only 2 drives and IPC$ even though I have 9 drives on the system. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

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

          Come on Ravi. It's not a security hole. I mean it won't let anyone in without an username and passwd Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

          RaviBeeR 1 Reply Last reply
          0
          • RaviBeeR RaviBee

            Is there any way to disable the default shares that NT and W2K (and perhaps XP?) set up on a networked PC? /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

            J Offline
            J Offline
            Jens Kreiensiek
            wrote on last edited by
            #11

            REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters] "AutoShareServer"=dword:00000000 "AutoShareWks"=dword:00000000 have fun... JK :cool:

            RaviBeeR 1 Reply Last reply
            0
            • J Jens Kreiensiek

              REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters] "AutoShareServer"=dword:00000000 "AutoShareWks"=dword:00000000 have fun... JK :cool:

              RaviBeeR Offline
              RaviBeeR Offline
              RaviBee
              wrote on last edited by
              #12

              Thanks, I'll try it!! /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

              1 Reply Last reply
              0
              • N Nish Nishant

                Come on Ravi. It's not a security hole. I mean it won't let anyone in without an username and passwd Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                RaviBeeR Offline
                RaviBeeR Offline
                RaviBee
                wrote on last edited by
                #13

                A username and password are not required if other users share security attributes maintained by a global server. At work, everyone can see everybody elese's machine. It's a real pain to have to unshare my drives (except my public folder) everytime I boot up. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

                K 1 Reply Last reply
                0
                • N Nish Nishant

                  I did that It prompts for username/password. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                  RaviBeeR Offline
                  RaviBeeR Offline
                  RaviBee
                  wrote on last edited by
                  #14

                  Hmmm, it may be a facet of how we're setup at my workplace. See this reply to your note. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

                  N 1 Reply Last reply
                  0
                  • RaviBeeR RaviBee

                    A username and password are not required if other users share security attributes maintained by a global server. At work, everyone can see everybody elese's machine. It's a real pain to have to unshare my drives (except my public folder) everytime I boot up. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

                    K Offline
                    K Offline
                    Konstantin Vasserman
                    wrote on last edited by
                    #15

                    Ravi Bhavnani wrote: A username and password are not required if other users share security attributes maintained by a global server. At work, everyone can see everybody elese's machine. Does it mean the everyone is Domain Admin? :eek:

                    1 Reply Last reply
                    0
                    • RaviBeeR RaviBee

                      Hmmm, it may be a facet of how we're setup at my workplace. See this reply to your note. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

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

                      Oh, maybe. I set up my win2k so that it is sorta stand-alone. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                      1 Reply Last reply
                      0
                      • RaviBeeR RaviBee

                        Is there any way to disable the default shares that NT and W2K (and perhaps XP?) set up on a networked PC? /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

                        O Offline
                        O Offline
                        Oz Solomon
                        wrote on last edited by
                        #17

                        Setting the "RestrictAnonymous" registry setting to 2 will disable access to the machine to anyone without local user rights. I think this is what you really want (since this will still give you (and only you) access to the default shares). Have a look at How to Use the RestrictAnonymous Registry Value in Windows 2000 (Q246261). Cheers, -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                        1 Reply Last reply
                        0
                        • N Nish Nishant

                          What are the default shares? I am on Win2K server. My problem is that I can't get the Win98 users here to access any share on my machine without creating a userid for them. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                          G Offline
                          G Offline
                          Glenn Dawson
                          wrote on last edited by
                          #18

                          Enabling the guest account will allow the Win98 users to access the shares without having an userid on the server. Of course, that carries some security implications with it.

                          1 Reply Last reply
                          0
                          • RaviBeeR RaviBee

                            Is there any way to disable the default shares that NT and W2K (and perhaps XP?) set up on a networked PC? /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

                            C Offline
                            C Offline
                            Cliff Dabrowski
                            wrote on last edited by
                            #19

                            I see some other good suggestions by editing the registry but the real simple way is to just delete them... net share ADMIN$ /delete net share IPC$ /delete net share C$ /delete I currently do this in a startup script but I do not actually delete the IPC$ share since I have not yet researched what would be affected if I did. This keeps me in TOTAL control of my PC. ;P ~Cliff

                            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