Commit 8e4c1908 authored by Christof Schulze's avatar Christof Schulze 😎
Browse files

fixes

parent 9f6cbdd0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Plicies\System]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLinkedConnections"=dword:00000001
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
                                   Inventory Collector

  - disalbe_ActivityHistory.reg  : Disable History and Timeline  (included publishing and uploading)
  - disable_wifi_sense.reg       : Disable tracking of available Wifi's



+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

[Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8
if (([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))

{
  Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0

}
+14 −7
Original line number Diff line number Diff line
@@ -3,7 +3,9 @@
# https://docs.microsoft.com/de-de/windows-server/administration/openssh/openssh_server_configuration
#


[Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8
if (([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
{
  Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

  #  Set the default target shell to Powershell
@@ -13,3 +15,8 @@ New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Wi
  #  sshd reads configuration data from %programdata%\ssh\sshd_config
  #
  #  configure the
}
else
{
  Write-Host The script is not running as administrator and cannot automatically import the certificate into the root store. You should Right-click the exported certificate file and install it into the trusted root store.
}