Posts

Showing posts with the label windows

Digital Marketing

Fixed: windows 10 no sound without headphones

Please go to control panel -> hardware and sound -> sound In the playback tab ,  Please enable and set your laptop speakers as the default device If you cannot set  speakers as the default device, do the following: go to start search and type cmd search will return cmd.exe right click on this and select 'run as administrator' at the prompt type:- net localgroup Administrators /add networkservice, press enter then type: net localgroup Administrators /add localservice, press enter then type: exit, press enter   restart your computer

Reset User Password in Windows Subsystem for Linux (WSL) Ubuntu

Open a command prompt or PowerShell. Then change the default user to root for the WSL Ubuntu  ubuntu config --default-user root Use the following command to change the former default user's password: passwd <username> Switch back your former user: ubuntu config --default-user <username>

Setting Windows File Associations to Open .JNLP Files Properly

Close any Collaborate session or recording windows. Open the Windows Control Panel and go into Programs and Features. Check the list of programs to ensure that Java is already installed on the system. If it isn't installed, please download and install Java from www.java.com before proceeding. Download a new Collaborate meeting or recording file but don't launch the file yet. Locate the meeting or recording .jnlp file in your Downloads folder. Right-click on the file and choose Open with then click Choose another app. If you see Java (TM) Web Start Launcher in this list (you may need to click More apps to expand the list), select it and check the box that says Always use this app to open .jnlp files then click the OK button. If Java (TM) Web Start Launcher is not in the list, check the box that says Always use this app to open .collab files then click Look for another app on this PC. Navigate to the following location: c:\program files\java\jreXXX\bin XXX represents a number tha...

Installing chocolatey on Windows

Install chocolatey/choco on Windows 10 Click Start and type “powershell“ Right-click Windows Powershell and choose “Run as Administrator“ Paste the following command into Powershell and press enter. Set-ExecutionPolicy Bypass -Scope Process -Force; `   iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Answer Yes when prompted Close and reopen an elevated PowerShell window to start using choco Example usage: choco install chromedriver choco uninstall git

windows service automatic delayed start

Automatic (Delayed Start), where your service starts 1-2 minutes after all Automatic services have been launched, may also be acceptable. Start the Services Control Panel application . Find your service in the list and double-click it to show its properties. Ensure that the Startup type field is set to Automatic. Note that Automatic (Delayed Start), where your service starts 1-2 minutes after all Automatic services have been launched.

Fixed “Unable to locate package” error in Ubuntu 18.04 on Windows 10

Try running sudo apt update. If that doesn't fix it, you might have an improperly configured /etc/apt/sources.list file.

Controlled Access Folder - protect Windows system files

According to Microsoft, “Controlled folder access helps you protect valuable data from malicious apps and threats, such as ransomware“. When you use Controlled Access Folder, Microsoft is offering “All apps (any executable file, including .exe, .scr, .dll files and others) are assessed by Windows Defender Antivirus, which then determines if the app is malicious or safe. If the app is determined to be malicious or suspicious, then it will not be allowed to make changes to any files in any protected folder”. By default, Microsoft adding the system files under this controlled Access Folder, but you can add your own files and folder to this protected folder to secure from hackers.

Restart the sshd service by PowerShell

Restart-Service sshd

Configure the ssh-agent and sshd service to automatically start on Windows

Run the following PowerShell commands: Set-Service -Name ssh-agent -StartupType ‘Automatic’ Set-Service -Name sshd -StartupType ‘Automatic’

Fixed: ssh-agent on Windows 10 fails: “unable to start ssh-agent service, error :1058”

PS C:\Users\i88ca> Get-Service ssh-agent Status   Name               DisplayName ------   ----               ----------- Stopped  ssh-agent          OpenSSH Authentication Agent PS C:\Users\i88ca>  Get-Service ssh-agent | Select StartType StartType ---------  Disabled PS C:\Users\i88ca>  Get-Service -Name ssh-agent | Set-Service -StartupType Manual Start manually. This means that as soon as you run ssh-agent, it'll start the service. Start the service via Start-Service ssh-agent or just ssh-agent.exe.

OpenSSH location in Windows 10

Configuration file such as sshd_config in C:\ProgramData\ssh\ You have to restart the ssh service to apply the changes. You can do this at a PowerShell console with admin rights: Restart-Service sshd

How to temporarily disable an account on Windows 10

How to disable a Windows 10 account using Computer Management On Windows 10 Pro or Enterprise, you can use Computer Management to manage various aspects of an account, including the ability to restrict access to an account. Open Start. Search for Computer Management and click the top result to open the console. Quick tip: You can also use the Windows key + X keyboard shortcut and selecting Computer Management. Browse the following path: System Tools > Local Users and Groups > Users Double-click the account you want to disable. (If the user account is using a Microsoft account, note that the name will only use the first five letters of the email address. If you want the account to use a custom name, you can refer to this guide.) Under the "General" tab, check the Account is disabled option. Click Apply. How to disable a Windows 10 account using Command Prompt If your device is running Windows 10 Home, you can use Command Prompt to disable or enable a Windows 10 account. ...

Install Docker on Windows pro/server

Open an elevated PowerShell session and run the following commands. First, install the Docker-Microsoft PackageManagement Provider from the PowerShell Gallery . PowerShell      " style="border-bottom-color: currentColor; border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: currentColor; border-left-style: none; border-left-width: 0px; border-right-color: currentColor; border-right-style: none; border-right-width: 0px; border-top-color: currentColor; border-top-style: none; border-top-width: 0px; box-sizing: inherit; direction: ltr; display: block; font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace; font-size: 1em; line-height: 19px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative;"> Install-Module -Name DockerMsftProvider -Repository PSGallery ...

Install Docker on Windows pro/server

Open an elevated PowerShell session and run the following commands. First, install the Docker-Microsoft PackageManagement Provider from the PowerShell Gallery . PowerShell      " style="border-bottom-color: currentColor; border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: currentColor; border-left-style: none; border-left-width: 0px; border-right-color: currentColor; border-right-style: none; border-right-width: 0px; border-top-color: currentColor; border-top-style: none; border-top-width: 0px; box-sizing: inherit; direction: ltr; display: block; font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace; font-size: 1em; line-height: 19px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative;"> Install-Module -Name DockerMsftProvider -Repository PSGallery ...

Update Docker on Windows pro/server

Check the installed version with  Get-Package -Name Docker -ProviderName DockerMsftProvider Find the current version with  Find-Package -Name Docker -ProviderName DockerMsftProvider When you're ready, upgrade with  Install-Package -Name Docker -ProviderName DockerMsftProvider -Update -Force , followed by  Start-Service Docker

Restart Windows from Command line by PowerShell

Restart-Computer -Force

Set up fingerprint sign-in on Dell Laptops

If you find it difficult to sign in by fingerprint to your Dell laptops, the trick is to repeatedly try to set up your same finger until the computer tells you that the finger has already set up for the account.