net share?

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

I delete a user qsmith from AD but when the server boots up in the event
viewer I get the message below for all those users I delete.

How do you go about deleting this or using net share?

Thanks,


The server service was unable to recreate the share qsmith because the
directory d:\users\qsmith no longer exists. Please run "net share qsmith
/delete to delete the share, or recreate the directory d:\users\qsmith
 
"Mark" <rmwatrich@hotmail.com> wrote in message
news:00F44927-6CCE-48BE-A72C-3E2CE9CEADD0@microsoft.com...
>I delete a user qsmith from AD but when the server boots up in the event
>viewer I get the message below for all those users I delete.
>
> How do you go about deleting this or using net share?
>
> Thanks,
>
>
> The server service was unable to recreate the share qsmith because the
> directory d:\users\qsmith no longer exists. Please run "net share qsmith
> /delete to delete the share, or recreate the directory d:\users\qsmith


You delete the share by following the above instruction literally.
 
okay so I go to a command prompt and type the following exactly as below?

net share qsmith /delete

"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:eN3MPnhyHHA.4184@TK2MSFTNGP06.phx.gbl...
>
> "Mark" <rmwatrich@hotmail.com> wrote in message
> news:00F44927-6CCE-48BE-A72C-3E2CE9CEADD0@microsoft.com...
>>I delete a user qsmith from AD but when the server boots up in the event
>>viewer I get the message below for all those users I delete.
>>
>> How do you go about deleting this or using net share?
>>
>> Thanks,
>>
>>
>> The server service was unable to recreate the share qsmith because the
>> directory d:\users\qsmith no longer exists. Please run "net share qsmith
>> /delete to delete the share, or recreate the directory d:\users\qsmith

>
> You delete the share by following the above instruction literally.
>
 
Thank you much

"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:u5vxFuhyHHA.5204@TK2MSFTNGP03.phx.gbl...
> Exactly!
>
>
> "Mark" <rmwatrich@hotmail.com> wrote in message
> news:1EE064B9-3BD1-43D7-9AEC-70F4AA049347@microsoft.com...
>> okay so I go to a command prompt and type the following exactly as below?
>>
>> net share qsmith /delete
>>
>> "Pegasus (MVP)" <I.can@fly.com> wrote in message
>> news:eN3MPnhyHHA.4184@TK2MSFTNGP06.phx.gbl...
>>>
>>> "Mark" <rmwatrich@hotmail.com> wrote in message
>>> news:00F44927-6CCE-48BE-A72C-3E2CE9CEADD0@microsoft.com...
>>>>I delete a user qsmith from AD but when the server boots up in the event
>>>>viewer I get the message below for all those users I delete.
>>>>
>>>> How do you go about deleting this or using net share?
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> The server service was unable to recreate the share qsmith because the
>>>> directory d:\users\qsmith no longer exists. Please run "net share
>>>> qsmith /delete to delete the share, or recreate the directory
>>>> d:\users\qsmith
>>>
>>> You delete the share by following the above instruction literally.
>>>

>
>
 
Exactly!


"Mark" <rmwatrich@hotmail.com> wrote in message
news:1EE064B9-3BD1-43D7-9AEC-70F4AA049347@microsoft.com...
> okay so I go to a command prompt and type the following exactly as below?
>
> net share qsmith /delete
>
> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> news:eN3MPnhyHHA.4184@TK2MSFTNGP06.phx.gbl...
>>
>> "Mark" <rmwatrich@hotmail.com> wrote in message
>> news:00F44927-6CCE-48BE-A72C-3E2CE9CEADD0@microsoft.com...
>>>I delete a user qsmith from AD but when the server boots up in the event
>>>viewer I get the message below for all those users I delete.
>>>
>>> How do you go about deleting this or using net share?
>>>
>>> Thanks,
>>>
>>>
>>> The server service was unable to recreate the share qsmith because the
>>> directory d:\users\qsmith no longer exists. Please run "net share
>>> qsmith /delete to delete the share, or recreate the directory
>>> d:\users\qsmith

>>
>> You delete the share by following the above instruction literally.
>>
 
You're welcome.

"Mark" <rmwatrich@hotmail.com> wrote in message
news:45D43A51-94A8-49F7-9284-DE8130227573@microsoft.com...
> Thank you much
>
> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> news:u5vxFuhyHHA.5204@TK2MSFTNGP03.phx.gbl...
>> Exactly!
>>
>>
>> "Mark" <rmwatrich@hotmail.com> wrote in message
>> news:1EE064B9-3BD1-43D7-9AEC-70F4AA049347@microsoft.com...
>>> okay so I go to a command prompt and type the following exactly as
>>> below?
>>>
>>> net share qsmith /delete
>>>
 
Mark <rmwatrich@hotmail.com> wrote:
> I delete a user qsmith from AD but when the server boots up in the
> event viewer I get the message below for all those users I delete.
>
> How do you go about deleting this or using net share?
>
> Thanks,
>
>
> The server service was unable to recreate the share qsmith because the
> directory d:\users\qsmith no longer exists. Please run "net share
> qsmith /delete to delete the share, or recreate the directory
> d:\users\qsmith


Hi - I see you already got this resolved, but note that it's best not to
share each subfolder as a home directory. Unless you're using WinNT/XP
clients, you can map a drive to the subfolder of a share. So I'd use
\\server\users\%username% as the home directory - and share only Users.

That said, when you are going to delete a shared folder, unshare it first.
 
"Lanwench [MVP - Exchange]"
<lanwench@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in message
news:eU$$WIjyHHA.1208@TK2MSFTNGP05.phx.gbl...

> Hi - I see you already got this resolved, but note that it's best not to
> share each subfolder as a home directory. Unless you're using WinNT/XP
> clients, you can map a drive to the subfolder of a share. So I'd use
> \\server\users\%username% as the home directory - and share only Users.


I'll say amen to that. I inherited an environment where 40 folks each has
a \\servername\%username% share as their home directory. This doesn't scale
well.

We do use home directories (U:\ becomes \\localserver\users$\%username%)
and redirect My Documents to same via GP. Not sure of the actual security
benefit of hiding the users$ share since its pretty well-known, but hiding
shares that end-users shouldn't ever need to browse/discover is also a Good
Idea.

-bws
 
Brian Spolarich <briansp@gmail.com> wrote:
> "Lanwench [MVP - Exchange]"
> <lanwench@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in
> message news:eU$$WIjyHHA.1208@TK2MSFTNGP05.phx.gbl...
>
>> Hi - I see you already got this resolved, but note that it's best
>> not to share each subfolder as a home directory. Unless you're using
>> WinNT/XP clients, you can map a drive to the subfolder of a share.
>> So I'd use \\server\users\%username% as the home directory - and
>> share only Users.

>
> I'll say amen to that. I inherited an environment where 40 folks
> each has a \\servername\%username% share as their home directory. This
> doesn't scale well.
>
> We do use home directories (U:\ becomes
> \\localserver\users$\%username%) and redirect My Documents to same
> via GP. Not sure of the actual security benefit of hiding the users$
> share since its pretty well-known, but hiding shares that end-users
> shouldn't ever need to browse/discover is also a Good Idea.
>
> -bws


Yep. The only time I leave the "users" folder as a non-hidden share is in
SBS environments, because that's one of those weird SBS things you can't
change without mucking something up. All other shares are hidden....why not?
 
Back
Top