Networking Forums

Networking Forums > Computer Networking > Windows Networking > Client for Microsoft Networks - Enable/Disable From Command-Line

Reply
Thread Tools Display Modes

Client for Microsoft Networks - Enable/Disable From Command-Line

 
 
Rob Lowe
Guest
Posts: n/a

 
      02-25-2009, 05:33 PM
I have a server running Windows Server 2008 and a third-party ftp service.
This server is publicly accessible, so I would like to lock it down as much
as possible.

Since all it's doing is hosting ftp files, there's no need for it to have
the Client for Microsoft Networks and other traditional network services
enabled on this server.

One problem I have is with running backups for this server. If I use
Windows Server Backup I will need to access a share on another server to
backup all drives.

I'd like to enable Client for Microsoft Networks from a command-line long
enough to map a drive and complete a backup to another server, then disable
it again at the end of the process.

Any suggestions on a method to toggle enable/disable of Client for Microsoft
Networks from a command-line or script would be appreciated.

 
Reply With Quote
 
 
 
 
Meinolf Weber [MVP-DS]
Guest
Posts: n/a

 
      02-26-2009, 08:51 PM
Hello Rob,

Check out Network Shell (Netsh) Technical Reference:
http://technet.microsoft.com/en-us/l.../cc754753.aspx

Here you should find a command for your needs.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> I have a server running Windows Server 2008 and a third-party ftp
> service. This server is publicly accessible, so I would like to lock
> it down as much as possible.
>
> Since all it's doing is hosting ftp files, there's no need for it to
> have the Client for Microsoft Networks and other traditional network
> services enabled on this server.
>
> One problem I have is with running backups for this server. If I use
> Windows Server Backup I will need to access a share on another server
> to backup all drives.
>
> I'd like to enable Client for Microsoft Networks from a command-line
> long enough to map a drive and complete a backup to another server,
> then disable it again at the end of the process.
>
> Any suggestions on a method to toggle enable/disable of Client for
> Microsoft Networks from a command-line or script would be appreciated.
>



 
Reply With Quote
Reply

Thread Tools
Display Modes

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
FXP command line client ? Pierre Bru Windows Networking 1 08-28-2006 04:46 PM
searching for networks through command line / hotkey Qirex Wireless Networks 0 07-13-2006 06:53 PM
possible to disable/enable wireless network adapter via command? Arno Wireless Networks 1 04-26-2005 12:39 PM
How to enable/disable network adpaters with command prompt steve Broadband Hardware 0 09-23-2004 05:55 PM
How to Disable/Enable Ethernet adapter under command line Cliff Wang Windows Networking 0 05-21-2004 03:50 PM



1 2 3 4 5 6 7 8 9 10 11