DoctorDeploy.com - Das unabhängige Forum für Installation und Softwareverteilung Your Ad Here    
Doctor Deploy: software deployment, - distribution, repackaging, msi, windows installer, client management, installation, setup : forum - discussion boards 
  Search   •  RSS/Newsletter   •  Shop   •  Register  •  Profile  •  Log in to check your private messages  •  Log in
 Kennt jemand defcom.exe View next topic
View previous topic
Post new topicReply to topic
Author Message
RainerS
Jeroboam
Jeroboam


Joined: 14 Jun 2004
Posts: 75
Location: Nuernberg / Germany

PostPosted: Fri, 18.Jun.2004, 14:00 Back to top

Hallo Leute,

kennt jemand von euch das Tool "defcom.exe" (die genaue Schreibweise kenne ich nicht)?
Es soll ein Tool sein, mit dem man befehlszeilenorientiert Geräte im Gerätemanager deaktivieren kann.
Ich benötige da etwas, was ich in ein Script einbinden kann (unter NetInstall), womit ich über einen "execute" und entsprechende Parameter eine quiet- Deaktivierung der Geräte machen kann. Z.B. für WLan auf betimmten NBs, die das nicht haben dürfen.

_________________
Grüße

Rainer
View user's profileSend private messageSend e-mailVisit poster's website
Frank Scholer
Imperial
Imperial


Joined: 13 Jun 2004
Posts: 22
Location: Germany

PostPosted: Sat, 19.Jun.2004, 15:07 Back to top

Hallo Reiner,

ich vermute, du meinst das Microsoft-Tool "DEVCON" (DEVicemanager CONsole) - schau dir mal den KB-Artikel auf http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272 an (inkl. Download Link)...

Gruß Frank
View user's profileSend private messageSend e-mailVisit poster's website
RainerS
Jeroboam
Jeroboam


Joined: 14 Jun 2004
Posts: 75
Location: Nuernberg / Germany

PostPosted: Sat, 19.Jun.2004, 16:48 Back to top

Hallo Frank,

ja, das ist es!

Danke Dir!!

_________________
Grüße

Rainer
View user's profileSend private messageSend e-mailVisit poster's website
Axel Koegler
Piccolo
Piccolo


Joined: 07 Jul 2004
Posts: 1
Location: Duesseldorf

PostPosted: Thu, 15.Jul.2004, 09:22 Back to top

Hallo zusammen,

falls es jemand brauchen kann, so schalten wir alle WLAN-Karten per Script (Übergabeparameter enable bzw. disable):

Set WshShell = WScript.CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")

set args = WScript.Arguments
If args.Count = 0 Then
Switch = "disable"
Else
Switch = args.item(0)
End If

for each Connection in GetObject("winmgmts:{impersonationLevel=impersonate,(Debug)}").InstancesOf ("win32_NetworkAdapter")
If (Instr (UCase(Connection.Name),"WIRELESS") > 0) Or (Instr (UCase(Connection.Name),"WLAN") > 0) then
If Connection.PNPDeviceID <> "" then
PNPStrg = PNPStrg & " " & Left(Connection.PNPDeviceID, InstrRev(Connection.PNPDeviceID,"\") - 1)
end if
end if
next


'*********************** Die Sonderlocken ***********************
'++ T Sinus 130card ++
PNPStrg = PNPStrg & " PCMCIA\T-Sinus-0156-0002"


'****************************************************************


LocalSystemDir = WshShell.ExpandEnvironmentStrings("%SystemRoot%")

if objFSO.FileExists(LocalSystemDir & "\devcon.exe") then
WshShell.Run LocalSystemDir & "\devcon.exe " & Switch & PNPStrg, 0, false
End If
View user's profileSend private messageSend e-mail
AddThis Social Bookmark Button
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Service provided by flatbyte.com :: Powered by phpBB :: FI Theme :: Imprint :: All times are GMT + 1 Hour