Napsauta hiiren kakkospainikkeella kohtaa add “cmd_here” ja napsauta sitten hiiren kakkospainikkeella kohtaa add “PowerShellAsAdmin”.

Napsauta hiiren kakkospainikkeella lisättyä kohtaa ”cmd_here” 

Windowsin rekisterieditorin versio 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Luokat\Hakemisto\tausta\komentopalkki\cmd_here]

@=”cmd_here”

”Kuvake” = ”cmd.exe”

[HKEY_LOCAL_MACHINE\SOFTWARE\Luokat\Hakemisto\tausta\komento\cmd_here\komento]

@=”\”C:\Windows\System32\cmd.exe””

[HKEY_LOCAL_MACHINE\SOFTWARE\Luokat\Kansio\komentotulkki\cmdPrompt]

@=”cmd_here”

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdPrompt\komento]

@=”\”C:\Windows\System32\cmd.exe\” \”cd %1\””

[HKEY_LOCAL_MACHINE\SOFTWARE\Luokat\Hakemisto\kuori\cmd_here]

@=”cmd_here”

”Kuvake” = ”cmd.exe”

[HKEY_LOCAL_MACHINE\SOFTWARE\Luokat\Hakemisto\komentotulkki\cmd_here\komento]

@=”\”C:\Windows\System32\cmd.exe””

Napsauta hiiren kakkospainikkeella lisättyä ”PowerShellAsAdmin”-kohtaa.

Windowsin rekisterieditorin versio 5.00

Luonut: Shawn Brink
Luotu: 13. elokuuta 2016
Päivitetty: 20. joulukuuta 2023
Opastus: https://www.tenforums.com/tutorials/60177-add-open-powershell-window-here-administrator-windows-10-a.html

[HKEY_CLASSES_ROOT\Hakemisto\Tausta\shell\PowerShellAsAdmin]
@=”Avaa PowerShell-ikkuna tässä järjestelmänvalvojana”
"Laajennettu" =-
”HasLUAShield” = ””
”Kuvake” = ”powershell.exe”

[HKEY_CLASSES_ROOT\Hakemisto\Tausta\shell\PowerShellAsAdmin\komento]
@=”cmd /c reg add hkcu\software\_dir /d \”%v\” /f & start powershell -WindowS H -noP -c Start-Process -v RunAs powershell.exe '-noL -noE -c cd -literalP (gp hkcu:\software\_dir).\\”\\”\\”\\”(oletus)\\”\\”\\”; ri hkcu:\software\_dir'”

[HKEY_CLASSES_ROOT\Hakemisto\shell\PowerShellAsAdmin]
@=”Avaa PowerShell-ikkuna tässä järjestelmänvalvojana”
"Laajennettu" =-
”HasLUAShield” = ””
”Kuvake” = ”powershell.exe”

[HKEY_CLASSES_ROOT\Hakemisto\shell\PowerShellAsAdmin\komento]
@=”cmd /c reg add hkcu\software\_dir /d \”%v\” /f & start powershell -WindowS H -noP -c Start-Process -v RunAs powershell.exe '-noL -noE -c cd -literalP (gp hkcu:\software\_dir).\\”\\”\\”\\”(oletus)\\”\\”\\”; ri hkcu:\software\_dir'”

[HKEY_CLASSES_ROOT\Drive\shell\PowerShellAsAdmin]
@=”Avaa PowerShell-ikkuna tässä järjestelmänvalvojana”
"Laajennettu" =-
”HasLUAShield” = ””
”Kuvake” = ”powershell.exe”

[HKEY_CLASSES_ROOT\Drive\shell\PowerShellAsAdmin\komento]
@=”cmd /c reg add hkcu\software\_dir /d \”%v\” /f & start powershell -WindowS H -noP -c Start-Process -v RunAs powershell.exe '-noL -noE -c cd -literalP (gp hkcu:\software\_dir).\\”\\”\\”\\”(oletus)\\”\\”\\”; ri hkcu:\software\_dir'”

[-HKEY_CLASSES_ROOT\Kirjastokansio\Tausta\shell\PowerShellAsAdmin]

Jotta yhdistetyt asemat olisivat käytettävissä korotetussa PowerShellissä
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
”Ota käyttöön linkitetyt yhteydet” = dword:00000001

 

ModBus-protokolla teollisuusreitittimissä
« Previous 11/30/2024 14:25
Kuinka valita oikea VPN-protokolla
Next » 11/30/2024 14:25
fiFinnish