Question Partage Microsoft

Plus d'informations
il y a 12 ans 10 mois #14679 par mnoui1
Réponse de mnoui1 sur le sujet Re:Partage Microsoft
Merci de vos réponses


Je pense que :

snetcfg.exe -v -u MS_Server

snetcfg.exe -v -l %windir%\Inf\NETSERV.INF -c s -i MS_Server

Est la bonne commande mais powershell ne connait pas \"snetcfg.exe\"

a savoir : Le fichier netserv.inf existe bien.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 10 mois #14684 par Matthew BETTON
Réponse de Matthew BETTON sur le sujet Re:Partage Microsoft
A priori, sous Windows 7, il suffit d'effectuer une modification des règles de parefeu via netsh :

[code:1]netsh firewall set service type=fileandprint mode=enable profile=all[/code:1]

A tester ...

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 10 mois #14699 par mnoui1
Réponse de mnoui1 sur le sujet Re:Partage Microsoft
Non cela ne change pas le statue du partage :/


merci quand meme

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 10 mois #14702 par Matthew BETTON
Réponse de Matthew BETTON sur le sujet Re:Partage Microsoft
Matthew BETTON écrit:


Voir aussi là :

How to enable “File and Printer Sharing for Microsoft Networks” on NIC with PowerShell


AS tu essayé la solution proposée dans cet article qui indique l'utilisation de nvspbind.exe ?

C:\>nvspbind /?

Hyper-V Network VSP Bind Application 6.1.7690.0.
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: nvspbind option NIC protocol

Options:
/n display NIC information only
/u unbind switch protocol from specified nic(s)
/b bind switch protocol to specified nic(s)
/d disable binding of specified protocol from specified nic(s)
/e enable binding of specified protocol to specified nic(s)
/r repair bindings on specified nic(s)
/o show NIC order for specified protocol
/+ move specified NIC up in binding order for specified protocol
/- move specified NIC down in binding order for specified protocol
/++ move specified NIC up to top of binding order for specified protocol
/-- move specified NIC down to bottom of binding order for specified protocol


[code:1]
# Script to fix File and Printer Sharing on NIC

# Lets get the Display Name on all connected NIC
$Nic= Get-WmiObject -Class win32_networkadapter -computerName LocalHost -filter \"NetConnectionStatus = '2'\"
foreach ( $ServiceName in $Nic )
{
$parameters = \"-e \" + '\"' + $ServiceName.Description + '\"' + \" ms_server\"
$installStatement = [System.Diagnostics.Process]::«»Start( \"\DOMAINSHARENICFIX\NVSPBIND.exe\" , $parameters )
$installStatement.WaitForExit()
}

# Save all computers as a testfile that has run the program on the network
$computername = $env:COMPUTERNAME
New-Item \DOMAINSHARENICFIXDONE$computername.txt -type file
[/code:1]

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.045 secondes
Propulsé par Kunena