- Right-click the Start button.
- Click Search.
- Type gpedit and hit Enter on your keyboard.
- Double-click Administrative Templates.
- Double-click Control Panel.
- Click Personalization.
- Double-click Do not display the lock screen.
- Click Enabled.
I configured DNS on my Windows Server 2016 (takes some time, probably 15 minutes):
Enable huge pages by running gpedit.msc and adding the current user to Local Computer Policy->Computer Configuration->Windows Settings->Security Settings->Local Policies->User Rights Assignment->Lock pages in memory:
and logging out of current Windows session for changes take effect.(more…)
HiveOS Web UI has Setup Minder Config button where I selected X16Rv2 algorithm for T-Rex miner:(more…)
I worked on some Windows app that registers a Windows service with a C++ code like this:
SC_HANDLE hService = ::CreateService( hSCM, m_szServiceName, _T(SERVICE_NAME), SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS, SERVICE_AUTO_START, SERVICE_ERROR_NORMAL, szFilePath, NULL, NULL, _T("RPCSS\0"), user_name, password);
where user_name and password are strings that are provided by the app user during the app install. Assuming the service name is MyService this creates a registry key HKEY_LOCAL_MACHINE\SECURITY\Policy\Secrets\_SC_MyService that is hidden by default and even administrator does not have a permission to read it and regedit does not show the content of HKEY_LOCAL_MACHINE\SECURITY key by default. But fortunately the access can be allowed by right clicking on HKEY_LOCAL_MACHINE\SECURITY and selecting Permissions or alternatively by running
in PowerShell. To list the content of the key I used the following command:
The binding did not work for me until I switched from Internal Virtual Switch to External Virtual Switch and while switching I were getting the following error:
[Window Title] Virtual Switch Manager for MY-MACHINE [Main Instruction] Error applying Virtual Switch Properties changes [Content] Failed while adding virtual Ethernet switch connections. [Expanded Information] External Ethernet adapter 'Realtek PCIe GBE Family Controller' is already bound to the Microsoft Virtual Switch protocol.
until I switched Hyper-V Extensible Virtual Switch off on my network adapter properties page (after I created External Virtual Switch it switched on back):(more…)
My Windows 10 PC started to glitch a little bit and I scanned its disks with the following commands:
chkdsk C: /f /r /x
The type of the file system is NTFS. Cannot lock current drive. Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N) y This volume will be checked the next time the system restarts.(more…)