Posted in SysAdmin Windows

get Windows serial / activation key

reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v BackupProductKeyDefault  

Posted in Windows

zabbix – Unattended install Windows

msiexec.exe /l*v "C:\temp\zabbix.log" /i "C:\temp\zabbix_agent-7.2.6-windows-amd64-openssl.msi" /qn+ SERVER=192.168.1.2 ENABLEPATH=1

Posted in Excel Firefox php Powershell SysAdmin Windows

windows, powershell – izlistaj sve upravljačke programe

powershell.ps1 Get-WmiObject Win32_PnPSignedDriver | select DeviceName, DeviceClass, Manufacturer, DriverVersion, DriverDate, InfName | Out-GridView   dism.exe dism.exe /online /get-drivers /format:table   Obriši driver pnputil.exe -d oem987.inf…

Posted in SysAdmin Windows

Očisti sve EventLogove

batch.cmd / powershell.ps1 @echo off FOR /F "tokens=*" %%G IN (‘wevtutil.exe el’) DO (wevtutil.exe cl "%%G") exit /b Ručno FOR /F "tokens=*" %G IN (‘wevtutil.exe…

Posted in Android CLI CMD Powershell SysAdmin Windows

Kopiranje datoteke na / sa mobitela / tableta spojenog putem USB-a

Preduvjeti • ADB je instaliran na računalu https://www.xda-developers.com/install-adb-windows-macos-linux • mobitel/tablet je u načinu rada “USB debugging” = ON ○ Settings >> About phone >> Build…

Posted in Windows

Windows 11 – Instaliranje *be* Microsoft accounta

Shift+F10 >> OOBE\BYPASSNRO >> reboot >> “I don’t have internet” >> “Continue with limited setup” i – kreiraj lokalni račun. Nisam testirao. Možda ne radi….

Posted in Windows

Hyper-V error 0x80070020

Problem Kreiraš novu virtualku, pokreneš, kadli ono pogreška: The vhdx cannot be accessed because it is in use by another process on the server. The…

Posted in Powershell Windows

Powershell pwsh7 intellisense autofill Windows Terminal

Zatvori sve powershellove, windows terminale, blabla i otvori pwsh kao Administrator. Install-Module PSReadLine -AllowPrerelease -Force Notepad $profile i dodaj na kraj: Import-Module PSReadLine Set-PSReadLineOption -PredictionSource…

Posted in Privatnost Windows

Gdje MSEdge drži passworde?

U datoteci %localappdata%\Microsoft\Edge\User Data\Default\Login Data aka C:\Users\%USERNAME%\AppData\Local\Microsoft\Edge\User Data\Default\Login Data    

Posted in CLI CMD Windows

Previše EventID 5156 za moj ukus

C:\> auditpol /set /subcategory:”Filtering Platform Packet Drop” /success:disable /failure:disable C:\> auditpol /set /subcategory:”Filtering Platform Connection” /success:disable /failure:disable C:\> gpupdate /force Iako.. ovaj “failure” možda nije…

Posted in CLI Windows

Dizejblaj news feed u Windows 11

Powershell:>   Get-appxpackage -allusers *WebExperience* | Remove-AppxPackage windows11 win11 w11 news feed newsfeed disable fakof xwindows11 xwin11 xw11 xnews xfeed xnewsfeed xdisable xfakof onemogući xonemogući

Posted in Bash CLI CMD Linux Privatnost Sigurnost Windows

gpg cli cmd tl;dr

gpg kreiranje ključa RSA 4096 sve funkcije, nema rok trajanja gpg –quick-gen-key <%ime.prezime@domena.tld%> rsa4096 cert,auth,sign,encr never gpg izvoz, privatni ključ gpg –armor –export-secret-key <%ime.prezime@domena.tld%> gpg…

Posted in Python Windows

IBKR API error warning

Problem [13:22:55] ERROR ERROR 1 10314 End Date/Time: The date, time, or time-zone entered is invalid. The correct format is yyyymmdd hh:mm:ss xx/xxxx where yyyymmdd…

Posted in Outlook Windows

Microsoft Outlook drekstop – Macrosi odjednom više ne rade

Problem Je li to zbog Windows 11, nekog Outlook apdejta ili climate change – ne znam, sumnja je usmjerena na Win11. Jedino što znam je…

Posted in Windows

Instalacija ili nadogradnja Windows 11 je usrala Windows Explorer context menu, točnije “Show more options”

Problem Rješenje Apliciraj neku od Personalization >> Themes Odaberi npr. temu “Plava Vulva” i primijeni je. Usrane su ove teme dostupne po defaultu, ali barem…

Posted in Windows

Windows Explorer Alt+Tab – Ikone umjesto slika

Start >> Regedit Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer AltTabSettings (Dword32) 1 windows explorer alt tab ikone icons xwindows xexplorer xalt xtab xikone xicons

Posted in Windows

Windows 11 – Ukloni ikonu “Chat” iz Taskbara

Windows 11 Windows11 Win11 W11 chat icon ikona remove from taskbar x11 xWindows11 xWin11 xW11 xchat xicon xikona xremove xtaskbar

Posted in Backup SysAdmin Windows

Kreiraj SystemRestorePoint

Ručno Start >> Run >> SystemPropertiesProtection >> pa slijedi upute batch.cmd Koristi se powershell 5 powershell -version 5 -command "Checkpoint-Computer -Description (Get-Date -UFormat %Y%m%d) -RestorePointType…

Posted in Backup SysAdmin Windows

Backup Registryja ERUNT-om

ERUNT https://www.bleepingcomputer.com/download/erunt/dl/96/ batch.cmd Koristi se Powershell 5 @echo off powershell -version 5 -command "c:\Progra~2\ERUNT\ERUNT.EXE D:\Backup\ERUNT\$(Get-Date -UFormat %Y-%m-%d) sysreg curuser otherusers" Upute Ako ti se sruše…

Posted in CLI Windows

AbstractSpoon ToDoList – Kreiraj task iz CLI / skripte

Kreiraj ToDoList task ..iz komandne linije / skripte C:\ToDoList\ToDoList.exe ToDoList.tdl -tt NaslovTaska -sd 2023-07-30 -dd 2023-07-31 -c Kategorija https://www.abstractspoon.com/wiki/doku.php?id=command-line todolist xtodolist create xcreate tast xtask…