21 Kvě
From PowerShell, run the following commands as administrator: Set-ItemProperty -Path “HKCU:\Software\Teamviewer” -Name ‘UIVersion’ -Value 2 -Type DWORD –Force Stop-Process -Name „TeamViewer*“ -Force Start-Sleep 5 cd „C:\Program Files\TeamViewer“ .\TeamViewer.exe
Posted in Scriptíky by: admin
No Comments
02 Čvc
Posted in Hardware, Scriptíky by: admin
No Comments
07 Čvn
Download and install Intel® Memory and Storage Tool CLI Solidigm™ Storage Tool CLI (SST) [root@vmware:~] /opt/solidigm/sst/sst load -ssd 0 WARNING! You have selected to update the drives firmware! Proceed with the update? (Y|N): y Checking for firmware update… – Intel SSD DC P4600 Series PHLE729000X14P0KGN – Status : The selected drive contains current firmware as […]
Posted in Hardware, Linux, Scriptíky, virtualizace by: admin
No Comments
02 Čvn
May 29 02:06:55 pve1 pvestatd[1931]: authkey rotation error: cfs-lock ‚authkey‘ error: got lock request timeout May 29 02:06:55 pve1 pvestatd[1931]: status update time (9.120 seconds) May 29 02:06:56 pve1 pve-ha-lrm[2050]: unable to write lrm status file – unable to delete old temp file: Input/output error Fix the cluster filesystem: # systemctl stop pve-cluster # rm […]
Posted in Debian, Distribuce, Hardware, Linux, Scriptíky, virtualizace by: admin
No Comments
25 Kvě
Simple … Isn’t It?? Get-AppxPackage -name “Microsoft.Office.Desktop” | Remove-AppxPackage Get-AppxPackage *officehub* | Remove-AppxPackage
Posted in Office, Scriptíky, Windows by: admin
No Comments
25 Kvě
Problem: #./hpsetup ./hpsetup: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Quick Fix: # apt-get install lib32stdc++6
Posted in Debian, Hardware, Linux, Scriptíky by: admin
No Comments
12 Kvě
Create a PKCS12 file containing the certificate and its private key: $ openssl pkcs12 -export -in MyCertficate.crt -inkey MyPrivateKey.pem -out CertificateForImportInWindows.p12 The .p12 generated file is protected by a password and can then be transported without any risk. On a Windows, open this .p12 file and follow the instructions provided.
Posted in Linux, Scriptíky, Windows by: admin
No Comments
20 Dub
Get-Content (Get-PSReadlineOption).HistorySavePath
Posted in Scriptíky, Wordpres by: admin
No Comments
08 Zář
Když vám třeba někdo rozbijete oprávnění na domovských složkách uživatelů z Active Directory… Foreach ($Folder in Get-ChildItem „D:\data\home-students“) { $domain=”nazev.domeny” $Username=$Folder.Name $ID=new-object System.Security.Principal.NTAccount($domain, $username) $Path=“D:\data\home-students\$username“ write-host $path $acl=get-acl $path $acl.SetOwner($ID) set-acl -path $path -aclObject $acl }
Posted in Scriptíky, Windows by: admin
No Comments
06 Čvn
1. Enable SSH 2. Sign as root user 3. Run SQLite3 sqlite3 /volume1/\@ActiveBackup/config.db 4. Determine inventory_id: sqlite> SELECT inventory_id, host_name, host_addr FROM inventory_table; 1|172.26.1.3|172.26.1.3 5. Update IP address and host name (on row with correct inventory_id): sqlite> update inventory_table set host_name = „172.26.1.3“, host_addr = „172.26.1.3“ WHERE inventory_id = ‚1‘; 6. Terminate SQLite3 program: sqlite> […]
Posted in Hardware, Linux, Scriptíky, virtualizace by: admin
1 Comment