Archiwum kategorii: Windows

Zatrzymanie automatycznych aktualizacji

Windows 10

Wchodzę w Start -> run ( windows Key + r) -> gpedit.msc

Rozwijam drzewo do: Computer Configuration\Administrative Templates\Windows Components\Windows Update

Klikam na „Configure Automatic Updates”

Ustawiam wartość „Disabled”:

Klikam OK.

Windows przestaje w tym momencie aktualizować się automatycznie.

Nadal jest możliwe zainstalowanie aktualizacji, wchodzę w

Settings > Update & Security > Windows Update i klikam:

Check for updates

Outlook 2016 (365) – IMAP Inbox not syncing

Outlook 2016 IMAP not synching Inbox

Symptoms:
Outlook 2016 is only pulling emails from subfolders. Inbox is empty.

Solution:
Check if the path to your Inbox is set in your Outlook 2016 settings.
To set the root folder path for your IMAP account:

File-> Account Settings-> Account Settings…

Double click on your IMAP account.

Button: More Options…

Tab: Advanced

Option: Root folder path

Setting this to “Inbox”

Click OK to close all of the opened dialog boxes.

Jak zmienić ustawienia updates przez Ethernet w Windows 10

How to set an Ethernet connection as metered on Windows 10

Jeżeli łączysz się z siecią przez Ethernet a masz ograniczoną ilość danych i chcesz wyłączyć automatyczne update-y Windows wykonaj poniższe kroki:

1. Use the Windows key + R to open the Run command, type regedit, and click OK to open the Windows registry.
2. Browse the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost
3. Right-click the DefaultMediaCost key and select Permissions.

4. On the Security tab, click the Advanced button.

5. Next to TrustedInstaller, click the Change link.

6. Type Administrators, and click the Check Names button to make sure you’re typing the correct object.

7. Click OK.
8. On the Advanced Security Settings for DefaultMediaCost, check the „Replace owner on subcontainers and objects”.

9. Click Apply.
10. Click OK.
11. On Permissions for DefaultMediaCost, select the Administrators group, and then make sure to check the allow Full Control box.

12. Click Apply.
13. Click OK.
14. On the DefaultMediaCost key, you’ll find different entries, including for 3G, 4G, Default, Ethernet, and WiFi with their default data values: 1 or 2. The data value 1 means that the connection type is non-metered, and the data value of 2 means that the connection type is metered. Double-click the Ethernet DWORD (32-bit) Value key, and change the value to 2.

15. Click OK.
16. Close the registry and restart your computer to complete the process.

This was coppied from MAURO HUCULAK blog

Windows command line shortcuts

Control panel tool Command
—————————————————————–
Accessibility Options control access.cpl
Add New Hardware control sysdm.cpl add new hardware
Add/Remove Programs control appwiz.cpl
Date/Time Properties control timedate.cpl
Device manager devmgmt.msc
Display Properties control desk.cpl
FindFast control findfast.cpl
Fonts Folder control fonts
Internet Properties control inetcpl.cpl
Joystick Properties control joy.cpl
Keyboard Properties control main.cpl keyboard
Microsoft Exchange control mlcfg32.cpl
(or Windows Messaging)
Microsoft Mail Post Office control wgpocpl.cpl
Modem Properties control modem.cpl
Mouse Properties control main.cpl
Multimedia Properties control mmsys.cpl
Network Properties control netcpl.cpl
NOTE: In Windows NT 4.0, Network
properties is Ncpa.cpl, not Netcpl.cpl
Password Properties control password.cpl
User saved passwords rundll32.exe keymgr.dll, KRShowKeyMgr
PC Card control main.cpl pc card (PCMCIA)
Power Management (Windows 95) control main.cpl power
Power Management (Windows 98) control powercfg.cpl
Printers Folder control printers
Regional Settings control intl.cpl
Scanners and Cameras control sticpl.cpl
Sound Properties control mmsys.cpl sounds
System Properties control sysdm.cpl

Windows Tips

How to manage Windows computer states from the commnad line:

Shutdown:
%windir%\System32\shutdown.exe -s

Reboot:
%windir%\System32\shutdown.exe -r

Logoff:
%windir%\System32\shutdown.exe -l

Standby (disable hibernation, execute the standby command, then re-enable hibernation after 2 seconds):
powercfg -hibernate off && start /min „” %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby && ping -n 3 127.0.0.1 && powercfg -hibernate on

Sleep:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0

Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

Show info about Windows system:
%windir%\System32\systeminfo.exe

To find Windows install date:
%windir%\System32\systeminfo.exe | find “Original”

Stored Usernames and passwords:
rundll32.exe keymgr.dll, KRShowKeyMgr

Running vbox withouth gui

The trick is to run the VM without GUI. With this you can easily run VM on WIN server like a service too.

0) Prerequired is that exist some VM, you have some already. Below put its name instead {vm_name}.

1) At first we use build-in executable file „VBoxHeadless.exe”.

create file

vm.run.bat
put code

cd „c:\Program Files\Oracle\VirtualBox\”
VBoxHeadless.exe -s {vm_name} -v on
run and test it – WIN „Command Line Interface (CLI)” called „Command shell” will be open and VM will running in background.

vm.run.bat
2) Then we use „Windows-based script host (WSCRIPT)” and language „Microsoft Visual Basic Script (VBS)” and run above file „vm.run.bat” with.

create file

vm.run.vbs
put code

Set WshShell = WScript.CreateObject(„WScript.Shell”)
obj = WshShell.Run(„vm.run.bat”, 0)
set WshShell = Nothing
run and test it – CLI will be run in background.

wscript.exe vm.run.vbs
REF

Thanks to iain

http://www.techques.com/question/2-188105/Virtualbox-Start-VM-Headless-on-Windows