RE: Grant rights to shares

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ian (Ian_at_discussions.microsoft.com)
Date: 09/13/04


Date: Mon, 13 Sep 2004 07:43:20 -0700

drop this part of the command line '=G:\students\%%i'

"Marcus" wrote:

> Hi,
> I have small problem. I would like to grant rights to shares from the
> script. The command rmtshare will not work if share already exist. Which
> command I can use to grand rights on existing shares.
>
>
> This work onluy if share do not exist:
> rmtshare \\dataserv.luise.se\%%i$=G:\students\%%i /grant administrator:f
>
> Marcus
>



Relevant Pages

  • Re: ftp on IIS 6.0 w2k3
    ... Try a batch file that writes a simple message out to a log file, ... to allow null session shares so that it can. ... Software Design Engineer, Internet Information Server (FTP) ... > command runs from a dos shell. ...
    (microsoft.public.inetserver.iis)
  • Re: [SLE] Is there a SuSE rpm (source) for stable kernel 2.6.10
    ... >>I am running SuSE 9.2 Pro on my home and office machines. ... >>I need to mount shares from a Windows 2003 Server running active ... the shares through the mount points, although the command line and non ... Midnight Commander and command line access the shares fine. ...
    (SuSE)
  • Re: Filesharing Problem - Connect password.
    ... I did try the net use command to access a share and received the error message: "Not enough server storage is available to process this command." ... So, I thought maybe I've created too many shares, and tried deleting a few on the computer that is sharing. ... Not sure that is working, as the shared folders do not seem to disappear from the exploded networking tree, even if I try to delete them. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Unclear browstat Output
    ... I was able to map to the shares via the command line and copy files in both ... directions using both the command line and Windows Explorer. ... I can use the other XP machines can see the share on ...
    (microsoft.public.windowsxp.network_web)
  • Re: rpc / net view no longer working over site
    ... Are you trying to get shares off of the Dc or Pc's? ... > If I run the net view command against a server or workstation in site A ... they can ping machines in our site. ...
    (microsoft.public.windows.server.networking)