Categories
Archives
Category Archives: Astuce
Scripting Batch: Monter un lecteur réseau avec login et mot de passe
Monter un lecteur réseau est relativement commun et simple avec la commande NET USE.
Il est possible de coupler cette commande en ajoutant le login et le mot de passe afin d’accéder à un partage protégé par login et mot de passe.
L’accès a un partage Samba est tout à fait possible.
@echo off
net use n: /DELETE
net use [...]
Also posted in Citrix, Scripting Leave a comment
Service: Recréer le service “Network Connection” – Netman
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netman]
“DependOnService”=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00
“Description”=”Manages objects in the Network and Dial-Up Connections folder, in which you can view both local area network and remote connections.”
“DisplayName”=”Network Connections”
“ErrorControl”=dword:00000001
“ImagePath”=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\ 74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\ 00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\ 6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
“ObjectName”=”LocalSystem”
“Start”=dword:00000003
“Type”=dword:00000120
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netman\Parameters]
“ServiceDll”=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\ 00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\ 6e,00,65,00,74,00,6d,00,61,00,6e,00,2e,00,64,00,6c,00,6c,00,00,00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netman\Enum]
“0″=”Root\\LEGACY_NETMAN00″ “Count”=dword:00000001
“NextInstance”=dword:00000001
Printer: Kernel Mode Drivers (version 2) are blocked on the target machine
Kernel Mode Drivers (version 2) are blocked on the target machine
Symptom: When trying to restore printers using Printer Migrator on a windows 2003 server, you may receive this message: “WARNING: Kernel Mode Drivers (version 2) are blocked on the target machine. Disable Kernel Mode driver blocking and re-run Printer Migrator…”
Solution: To disable Kernel [...]
Astuce: Supprimer un service
Petite ligne de commande pour “effacer” un service.
Reperer le nom du service :
Lancer la commande: “sc delete {nom du service}”
Si le service est lancé lors de l’exécution, il sera supprimé dès son arrêt.
Astuce : Revenir à l’ancienne version de Google