Gå til innhold

Vil disse Regedit Scriptene fungrere likt?


Anbefalte innlegg

Vil dette her:

 

WriteRegDWORD HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1" "Protocol" 0x1

WriteRegDWORD HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1" "Version" 0x1

WriteRegStr HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1" "HostName" ""

WriteRegStr HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1" "IPAddress" "221.21.21.26"

WriteRegStr HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1" "HWAddress" ""

WriteRegDWORD HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1" "PortNumber" 0x238c

WriteRegStr HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1" "SNMP Community" "public"

WriteRegDWORD HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1" "SNMP Enabled" 0x1

WriteRegDWORD HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1" "SNMP Index" 0x1

 

Blir samme resutat som scriptet neden for.

 

 

 

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE "SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\NP01-FAX1]

"Protocol" 0x1

"Version" 0x1

"HostName" ""

"IPAddress" "221.21.21.26"

"HWAddress" ""

"PortNumber" 0x238c

"SNMP Community" "public"

"SNMP Enabled" 0x1

"SNMP Index" 0x1

Lenke til kommentar
Videoannonse
Annonse
  • 2 uker senere...

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...