Launch Windows Update from Command Line
Launch Windows Update from Command Line
C:\Windows\System32\control.exe /name Microsoft.WindowsUpdate
Windows update Registry KEY
Windows update Registry KEY
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
Specify deadlines for automatic updates and restarts
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetComplianceDeadline
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ConfigureDeadlineForQualityUpdates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ConfigureDeadlineForFeatureUpdates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ConfigureDeadlineGracePeriod
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ConfigureDeadlineNoAutoReboot
Display options for update notifications
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetUpdateNotificationLevel
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\UpdateNotificationLevel
Do not allow update deferral policies to cause scans against Windows Update
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DisableDualScan
Allow updates to be downloaded automatically over metered connections
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AllowAutoWindowsUpdateDownloadOverMeteredNetwork
Update Power Policy for Cart Restarts
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetEDURestart
Specify Engaged restart transition and notification schedule for updates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetEngagedRestartTransitionSchedule
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\EngagedRestartTransitionSchedule
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\EngagedRestartSnoozeSchedule
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\EngagedRestartDeadline
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\EngagedRestartTransitionScheduleForFeatureUpdates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\EngagedRestartSnoozeScheduleForFeatureUpdates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\EngagedRestartDeadlineForFeatureUpdates
Configure auto-restart warning notifications schedule for updates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetRestartWarningSchd
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ScheduleRestartWarning
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ScheduleImminentRestartWarning
Turn off auto-restart notifications for update installations
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetAutoRestartNotificationDisable
Configure auto-restart reminder notifications for updates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetAutoRestartNotificationConfig
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AutoRestartNotificationSchedule
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AutoRestartNotificationStyle
Configure auto-restart required notification for updates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetAutoRestartRequiredNotificationDismissal
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AutoRestartRequiredNotificationDismissal
Specify active hours range for auto-restarts
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetActiveHoursMaxRange
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ActiveHoursMaxRange
Remove access to "Pause updates" feature
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetDisablePauseUXAccess
Remove access to use all Windows Update features
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetDisableUXWUAccess
Specify deadline before auto-restart for update installation
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetAutoRestartDeadline
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AutoRestartDeadlinePeriodInDays
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AutoRestartDeadlinePeriodInDaysForFeatureUpdates
Turn off auto-restart for updates during active hours
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\SetActiveHours
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ActiveHoursStart
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ActiveHoursEnd
Do not include drivers with Windows Updates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ExcludeWUDriversInQualityUpdate
Select when Quality Updates are received
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DeferQualityUpdates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DeferQualityUpdatesPeriodInDays
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\PauseQualityUpdatesStartTime
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\PauseQualityUpdates
Select when Preview Builds and Feature Updates are received
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DeferFeatureUpdates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\BranchReadinessLevel
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DeferFeatureUpdatesPeriodInDays
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\PauseFeatureUpdatesStartTime
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\PauseFeatureUpdates
Manage preview builds
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ManagePreviewBuilds
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ManagePreviewBuildsPolicyValue
Do not connect to any Windows Update Internet locations
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DoNotConnectToWindowsUpdateInternetLocations
Allow signed updates from an intranet Microsoft update service location
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AcceptTrustedPublisherCerts
Enable client-side targeting
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\TargetGroupEnabled
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\TargetGroup
Enabling Windows Update Power Management to automatically wake up the system to install scheduled updates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AUPowerManagement
Allow non-administrators to receive update notifications
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\ElevateNonAdmins
Defer Upgrades and Updates
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DeferUpgrade
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DeferUpgradePeriod
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DeferUpdatePeriod
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\PauseDeferrals
Turn off access to all Windows Update features
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DisableWindowsUpdateAccess
Restrict Internet communication
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\DisableWindowsUpdateAccess
from https://getadmx.com/HKLM/Software/Policies/Microsoft/Windows/WindowsUpdate
KB4560960 oraz kb4556799 potrafi uszkodzić profil użytkownika
Kolejny problem z poprawką KB4560960 oraz kb4556799 to taki że potrafi uszkodzić profil użytkownika!!.
Po instalacji poprawki kb4556799 komputer traci wszystkie dane wszystkie ustawienia zapisane hasła. Profil tworzy się z nazwą TMP i należy go od nowa tworzyć.
Na windowsie 10 z wersją HOME nie można założyć nowego użytkownika jest to zablokowane więc trzeba zakładać profil z linii poleceń używając składni
CMD
NET USER
net user /add [username] [password]
net user username password /ADD
net localgroup administrators "USER" /add
Net User supports plenty of parameters, but there are some that you may use more often than others.
- Net User username -- e.g. Net User Martin -- This command lists detailed information on the user that you specify. This includes the last logon, local group memberships, and password information.
- Net User username password -- e.g. Net User Martin NewSecretPass -- Sets the password NewSecretPass for the account Martin.
- Net User username /active:yes|no -- e.g. Net User Martin /active:yes -- Activates the account so that it can be used. Setting it to no deactivates the account.
- Net User username password /add -- Net User Test qwerty1234 /add -- This adds the user account Test with the default password querty1234 to the system.
- Net User username /delete -- e.g. Net User Test /delete -- Deletes the Test account on the system.
Uruchamienie elementów Panelu Sterowania z linii poleceń - CMD
Uruchamienie elementów Panelu Sterowania z linii poleceń - CMD (Start | Uruchom | CMD.exe).
| Narzędzie | Komenda |
| Accessibility Options | control access.cpl |
| Dodaj sprzęt | control sysdm.cpl add new hardware |
| Dodaj/usuń programy | control appwiz.cpl |
| Data i godzina | control timedate.cpl |
| Ekran | control desk.cpl |
| FindFast | control findfast.cpl |
| Czcionki | control fonts |
| Ustawienia Internetowe | control inetcpl.cpl |
| Joystick Properties | control joy.cpl |
| Klawiatura | control main.cpl keyboard |
| Microsoft Exchange (Windows Messaging) | control mlcfg32.cpl |
| Microsoft Mail Post Office / Poczta | control wgpocpl.cpl |
| Ustawienia modemu | control modem.cpl |
| Mysz | control main.cpl |
| Dźwięki i urządzenia audio | control mmsys.cpl |
| Połączenia sieciowe | control netcpl.cpl |
| Zabezpieczenia | control password.cpl |
| Karty PC | control main.cpl pc card (PCMCIA) |
| Power Management (Windows 95) | control main.cpl power |
| Opcje zasilania | control powercfg.cpl |
| Drukarki i faxy | control printers |
| Opcje regionalne | control intl.cpl |
| Skanery i aparaty fotograficzne | control sticpl.cpl |
| Dźwięki i urządzenia audio | control mmsys.cpl sounds |
| System | control sysdm.cpl |
Można także do każdego narzędzia stworzyć sobie skrót. Skrót taki musi mieć postać: rundll32.exe shell32.dll,Control_RunDLL [narzędzie], gdzie [narzędzie] to plik panelu sterowania, np. joy.cpl.
Page 40 of 93