pastebin - collaborative debugging tool
rovema.kpaste.net RSS

Difference between
modified post 05b1e1edd by Anonymous on Tue 14th Feb 2023 18:11
original post 36df by Anonymous on Tue 14th Feb 2023 17:53
Download diff
Show old version | new version | both versions

    
1+
PS C:\Windows\system32> Set-ItemProperty -Path HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name UseWUServer -Value 0
13
PS C:\Windows\system32> Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
4-
+ Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
5-
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6-
    + CategoryInfo          : NotSpecified: (:) [Add-WindowsCapability], COMException
7-
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsCapabilityCommand
84
95
10-
6+
Path          :
11-
7+
Online        : True
12-
8+
RestartNeeded : False
139
1410
1511
16-
12+
PS C:\Windows\system32> Set-ItemProperty -Path HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name UseWUServer -Value 1
17-
13+
PS C:\Windows\system32> Restart-Service -Name wuauserv -Force
18-
14+
PS C:\Windows\system32> Start-Service sshd

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at