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 revisionPrevious revision
Next revision
Previous revision
windows [2019/10/12 15:35] wwwindows [2026/06/20 15:45] (current) – [Nefunguje přístup na síťový share bez hesla] ww
Line 1: Line 1:
 ====== Windows ====== ====== Windows ======
  
-===== Uleželé ===== + 
-  [[Windows - uleželé]]+===== 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'' 
 +  - 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. 
 + 
 +----
  
 ===== CMD - spuštění pomocí příkazu START s argumenty v uvozovkách ===== ===== CMD - spuštění pomocí příkazu START s argumenty v uvozovkách =====
Line 232: Line 251:
   printui /s /t2   printui /s /t2
  
----- 
- 
-===== Nefunguje přístup na síťový share bez hesla ===== 
- 
-  - ''gpedit.msc'' 
-  - Computer configuration > Administrative Templates > Network > Lanman workstation > Enable insecure guest logons > Enabled. 
  
 ---- ----
Line 274: Line 287:
  
 ---- ----
 +
 +
 +===== 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''.
 +
 +----
 +
 +===== Uleželé =====
 +  * [[Windows - uleželé]]
windows.1570894506.txt.gz · Last modified: (external edit)