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 [2018/04/16 13:29]
milhaus
windows [2024/12/10 14:04] (current)
ww
Line 37: Line 37:
  
 ===== Síťové disky se zobrazují jako odpojené, dokud na ně uživatel neklikne ===== ===== Síťové disky se zobrazují jako odpojené, dokud na ně uživatel neklikne =====
 +
 +==== Řešení #1 ====
  
 Smazat vše pod těmito klíči (věci začínající na ''##'', věci v ''{ }'' i ''CCD''. Smazat vše pod těmito klíči (věci začínající na ''##'', věci v ''{ }'' i ''CCD''.
Line 50: Line 52:
  
 Zdroj: [[https://community.spiceworks.com/how_to/65576-red-x-s-on-network-drives|link]] Zdroj: [[https://community.spiceworks.com/how_to/65576-red-x-s-on-network-drives|link]]
 +
 +==== Řešení #2 ====
 +
 +  * [[https://github.com/thexmanxyz/network-share-reconnecter/blob/master/README.md|Network Share Reconnecter]]
  
 ---- ----
Line 157: Line 163:
 ===== Windows Server (2012+) - instalace Remote Desktop Services bez AD ===== ===== Windows Server (2012+) - instalace Remote Desktop Services bez AD =====
  
-  * Nainstalovat Roli Vzdálené plochy Licenčního serveru+  * Nainstalovat Roli Vzdálené plochyLicenčního serveru a Remote Desktop Session Host
   * Přidat licenci   * Přidat licenci
   * PowerShell magic:   * PowerShell magic:
Line 176: Line 182:
   Přidat klíč typu String s názvem ForcePSTPath a jako hodnotu zadat cestu k adresáři,   Přidat klíč typu String s názvem ForcePSTPath a jako hodnotu zadat cestu k adresáři,
   kam se mají .pst/.ost soubory ukládat.   kam se mají .pst/.ost soubory ukládat.
 +
 +----
  
 ===== Exchange - export mailboxu do .pst ===== ===== Exchange - export mailboxu do .pst =====
Line 188: Line 196:
 </code> </code>
  
-===== Přidání cesty do systémové PATH přes cmd =====+---- 
 + 
 +===== Vypnutí fullscreen hlášky "Windows updates are available" ===== 
 + 
 +<code> 
 +cd /d "%Windir%\System32" 
 +takeown /F MusNotification.exe 
 +icacls MusNotification.exe /deny Everyone:(X) 
 +takeown /F MusNotificationUx.exe 
 +icacls MusNotificationUx.exe /deny Everyone:(X) 
 +rem 
 +</code> 
 + 
 +---- 
 + 
 +===== Přidání cesty do systémové PATH přes cmd - Windows 10 =====
  
 Nutno spouštět jako administrátor (zápis do HKLM) Nutno spouštět jako administrátor (zápis do HKLM)
Line 199: Line 222:
   for /f "tokens=2*" %%a in ('REG QUERY %key% /v Path') do set "existingValuesPath=%%~b"   for /f "tokens=2*" %%a in ('REG QUERY %key% /v Path') do set "existingValuesPath=%%~b"
   set newPath=%existingValuesPath%%path_to_add%   set newPath=%existingValuesPath%%path_to_add%
-  reg add %key% /v "Path" /d "%newPath%" /f+  reg add %key% /v "Path" /d "%newPath%" /f /t REG_EXPAND_SZ 
 +   
 +  !!! POZOR !!! typ klíče na Windows 8.1 (a asi i starších) je jen REG_SZ 
 + 
 +---- 
 + 
 +===== Správa ovladačů tiskáren ===== 
 + 
 +  printui /s /t2 
 + 
 +---- 
 + 
 +===== 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. 
 + 
 + 
 +---- 
 + 
 +===== 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.1523878171.txt.gz · Last modified: 2022/03/16 09:38 (external edit)