PC Review


Reply
Thread Tools Rate Thread

Create remote share?

 
 
Stan
Guest
Posts: n/a
 
      28th Jan 2004
[My apologies if I am posting this to the wrong newsgroup.]

I'm writing a script that will run on a Windows 2003 Server computer. The
script needs to create a share on a remote Windows 2003 Server computer. The
script will run under the context of a user with local admin access to the
remote server. How can I accomplish this? Thanks.


 
Reply With Quote
 
 
 
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      28th Jan 2004
Stan wrote:

> [My apologies if I am posting this to the wrong newsgroup.]


microsoft.public.windows.server.scripting would have fitted better ;-)


> I'm writing a script that will run on a Windows 2003 Server computer. The
> script needs to create a share on a remote Windows 2003 Server computer. The
> script will run under the context of a user with local admin access to the
> remote server. How can I accomplish this? Thanks.


Command line:

RMTShare.exe: http://www.jsiinc.com/asp/reghacks.asp?tipnumb=6353


VBScript/WMI:

See "Create a Network Share " at
http://www.microsoft.com/technet/scr...er/default.asp

--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WMI remote exectution where exectuable resides on a remote share satv73@gmail.com Windows XP WMI 9 24th Apr 2007 07:21 PM
remote share steveg@dlcsinc.com Windows XP Security 4 2nd May 2006 05:23 PM
run ASP.NET from a remote share Microsoft ASP .NET 4 14th Nov 2005 06:37 PM
Create hidden share on remote server from vb.net code behind?? freenews.netfront.net Microsoft ASP .NET 2 14th Nov 2005 12:50 PM
Create hidden share on remote server from vb.net code behind?? freenews.netfront.net Microsoft VB .NET 2 14th Nov 2005 12:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:36 AM.