User Tools

Site Tools


windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
windows [2019/09/03 23:09]
ww [Windows Server (2012+) - instalace Remote Desktop Services bez AD]
windows [2024/12/10 14:04] (current)
ww
Line 235: Line 235:
  
 ===== Nefunguje přístup na síťový share bez hesla ===== ===== Nefunguje přístup na síťový share bez hesla =====
 +
 +1) Je potřeba povolit "Insecure guest logons"
 +2) Je potřeba zakázat požadavek na šifrování spojení se Sambou
 +
 +**Metoda 1**
 +
 +<code powershell>
 +Set-SmbClientConfiguration -EnableInsecureGuestLogons $true
 +Set-SmbClientConfiguration -RequireSecuritySignature $false
 +</code>
 +
 +**Metoda 2**
  
   - ''gpedit.msc''   - ''gpedit.msc''
   - Computer configuration > Administrative Templates > Network > Lanman workstation > Enable insecure guest logons > Enabled.   - Computer configuration > Administrative Templates > Network > Lanman workstation > Enable insecure guest logons > Enabled.
 +  - Computer Configuration > Windows Settings > Security Settings> Local Policies > Security Options > Microsoft network client: Digitally sign communications (always) > Disabled.
 +
 +
 +----
 +
 +===== Instalace Office 2019 Volume Licence =====
 +
 +  - Instalace se provádí přes [[https://www.microsoft.com/en-us/download/details.aspx?id=49117 | Office Deployment Tool]] a konfigurační soubor.
 +  - Klíč musí být typu "MAK".
 +
 +Konfigurák:
 +
 +<code xml>
 +<Configuration>
 +  <Add OfficeClientEdition="64" Channel="PerpetualVL2019" AllowCdnFallback="TRUE" ForceUpgrade="TRUE">
 +    <Product ID="Standard2019Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX">
 +      <Language ID="cs-cz" />
 +      <Language ID="en-us" />
 +      <ExcludeApp ID="Groove" />
 +      <ExcludeApp ID="OneNote" />
 +      <ExcludeApp ID="OneDrive" />
 +      <ExcludeApp ID="Publisher" />
 +    </Product>
 +  </Add>
 +  <Property Name="SharedComputerLicensing" Value="0" />
 +  <Property Name="PinIconsToTaskbar" Value="TRUE" />
 +  <Property Name="SCLCacheOverride" Value="0" />
 +  <Property Name="AUTOACTIVATE" Value="0" />
 +  <Updates Enabled="TRUE" />
 +  <RemoveMSI All="TRUE" />
 +  <AppSettings>
 +    <Setup Name="Company" Value="ZŠ Křesomyslova" />
 +  </AppSettings>
 +  <Display Level="Full" AcceptEULA="TRUE" />
 +</Configuration>
 +</code>
 +
 +----
 +
 +===== Správa disků =====
 +
 +Start > diskmgmt.msc
 +
 +nebo 
 +
 +cmd jako admin
 +  diskpart
 +  > list disk
 +  > sel disk X
 +  > list part
 +  > sel part Y
 +  > del part (nebo del part override, kdyby vzdorovala)
 +  Pripadne smazani cele partition table:
 +  > clean
 +  # vytvoreni partition na cistem disku
 +  > create partition primary
 +
 +===== Asociace souborů =====
 +<code batch>
 +SET PathPortableApps=C:\WW\Apps\PAP\PortableApps
 +SET PathApps=C:\WW\Apps
 +SET PathApps64=C:\WW\Apps64
 +
 +rem Documents
 +assoc .odt=LibreOffice.OpenDocument.Text
 +assoc .ods=LibreOffice.OpenDocument.Spreadsheet
 +assoc .odp=LibreOffice.OpenDocument.Presentation
 +assoc .ott=LibreOffice.Template.Text
 +
 +ftype LibreOffice.OpenDocument.Text="%PathPortableApps%\LibreOfficePortable\LibreOfficeWriterPortable.exe" "%%1"
 +ftype LibreOffice.OpenDocument.Spreadsheet="%PathPortableApps%\LibreOfficePortable\LibreOfficeCalcPortable.exe" "%%1"
 +ftype LibreOffice.OpenDocument.Presentation="%PathPortableApps%\LibreOfficePortable\LibreOfficeImpressPortable.exe" "%%1"
 +ftype LibreOffice.Template.Text="%PathPortableApps%\LibreOfficePortable\LibreOfficeWriterPortable.exe" "%%1"
 +
 +assoc .docx=OpenXML.Text
 +assoc .xlsx=OpenXML.Spreadsheet
 +assoc .pptx=OpenXML.Presentation
 +
 +ftype OpenXML.Text="%PathPortableApps%\LibreOfficePortable\LibreOfficeWriterPortable.exe" "%%1"
 +ftype OpenXML.Spreadsheet="%PathPortableApps%\LibreOfficePortable\LibreOfficeCalcPortable.exe" "%%1"
 +ftype OpenXML.Presentation="%PathPortableApps%\LibreOfficePortable\LibreOfficeImpressPortable.exe" "%%1"
 +
 +rem PDF
 +assoc .pdf=FoxitReader.PDF
 +
 +ftype FoxitReader.PDF="%PathPortableApps%\FoxitReaderPortable\FoxitReaderPortable.exe" "%%1"
 +
 +rem Pictures
 +assoc  .bmp=IrfanView.BMP
 +assoc  .jpg=IrfanView.JPG
 +assoc  .png=IrfanView.PNG
 +assoc .webp=IrfanView.WEBP
 +
 +ftype  IrfanView.BMP="%PathApps64%\IrfanView\i_view64.exe" "%%1"
 +ftype  IrfanView.JPG="%PathApps64%\IrfanView\i_view64.exe" "%%1"
 +ftype  IrfanView.PNG="%PathApps64%\IrfanView\i_view64.exe" "%%1"
 +ftype  IrfanView.WEBP="%PathApps64%\IrfanView\i_view64.exe" "%%1"
 +
 +# rem Audio
 +
 +assoc .flac=foobar2000.FLAC
 +assoc  .m4a=foobar2000.M4A
 +assoc  .mka=foobar2000.MKA
 +assoc  .mp3=foobar2000.MP3
 +assoc  .ogg=foobar2000.VORBIS
 +assoc  .wma=foobar2000.WMA
 +assoc   .wv=foobar2000.WAVPACK
 +
 +ftype foobar2000.FLAC="%PathApps%\foobar2000\foobar2000.exe" "%%1"
 +ftype foobar2000.M4A="%PathApps%\foobar2000\foobar2000.exe" "%%1"
 +ftype foobar2000.MKA="%PathApps%\foobar2000\foobar2000.exe" "%%1"
 +ftype foobar2000.MP3="%PathApps%\foobar2000\foobar2000.exe" "%%1"
 +ftype foobar2000.VORBIS="%PathApps%\foobar2000\foobar2000.exe" "%%1"
 +ftype foobar2000.WMA="%PathApps%\foobar2000\foobar2000.exe" "%%1"
 +ftype foobar2000.WAVPACK="%PathApps%\foobar2000\foobar2000.exe" "%%1"
 +
 +rem Video
 +assoc .3gp=MPCHC.3GP
 +assoc .asf=MPCHC.ASF
 +assoc .avi=MPCHC.AVI
 +assoc .flv=MPCHC.FLV
 +assoc .mkv=MPCHC.MKV
 +assoc .mp4=MPCHC.MP4
 +assoc .mpeg=MPCHC.MPEG
 +assoc .mpg=MPCHC.MPG
 +assoc .wmv=MPCHC.WMV
 +
 +ftype MPCHC.MP4="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +ftype MPCHC.3GP="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +ftype MPCHC.ASF="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +ftype MPCHC.AVI="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +ftype MPCHC.FLV="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +ftype MPCHC.MKV="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +ftype MPCHC.MP4="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +ftype MPCHC.MPEG="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +ftype MPCHC.MPG="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +ftype MPCHC.WMV="%PathApps64%\MPC-HC\mpc-hc64.exe" "%%1"
 +</code>
 +
 +----
 +
 +===== Import profilů na Wi-Fi =====
 +<code batch>
 +for %%f in ("wifi\*.xml") do ( netsh wlan add profile filename="wifi\%%~nf.xml" )
 +</code>
 +
 +----
 +
 +===== Zapnutí NumLocku po bootu =====
 +
 +Registr:
 +<code>
 +HKEY_USERS\.Default\Control Panel\Keyboard\InitialKeyboardIndicators
 +</code>
 +
 +Nastavit hodnotu na ''2''.
windows.1567544993.txt.gz · Last modified: 2022/03/16 09:38 (external edit)