Category Archives: Microsoft Windows

Windows 10 1803 Remote Desktop (RDP) Auto login not working

You may Face a problem with RDP Auto login is not working for saved Remote Desktop connection After Upgraded to windows 10 build 1803

or you will get this error message “Remote computer: This could be due to CredSSP Encryption Oracle Remediation”

What you have to do is edit local group policy settings.and go to

(To open Group policy settings go to “Run” And type “gpedit.msc” and press enter)

Computer configuration > Administrative Templates > System > Credentials Delegation

Edit “Encryption Oracle Remediation” and click “Enable” and change value in “Protection Level” to “Vulnerable” close Group policy and run “gpupdate /force” at command prompt.

Create a USB Drive for Windows Server 2016 Installation For UEFI Systems

 

 

 

The at least a 8GB USB drive has to be formatted in FAT32
The USB needs to be GPT and not MBR
Copy all files from the ISO to the USB drive

This is it, and here is how you do it:

First plugin your USB drive to your computer. The USB drive should be bigger than 6GB.

Open a CMD prompt or PowerShell using the Run as Administrator option and open diskpart. Now you can do list all this by using

list disk

Select the USB disk, in my case this was disk 1

select disk 1 (Be careful Select the correct Disk)

Clean the disk. Be careful this will remove all files and partitions on the USB media.

clean

Now convert it to GPT

convert gpt

Create a new primary partition. But make sure the partition is not greater than 16GB otherwise it can be formatted with FAT32.

create partition primary

# If your USB drive is bigger than 16GB use the following command

create partition primary size=16000

Format the partition with FAT32

format fs=FAT32 quick

Assign a drive letter to the volume

assign letter=k

now you can exit the diskpart and copy all files from the Windows or Windows Server to the USB drive and boot it. This works with Windows 8, Windows 8.1, Windows 10, Windows Server 2012, Windows Server 2012 R2 and Windows Server 2016 or even Hyper-V Server in the same editions.

Important:

If Install.wim is larger than 4GB, you cannot copy the file to the drive, because of theFAT32 based partition limitation. The solutions for this is to split the wim file into smaller files.

split wim file using dism (you may have to change the drive letters):
dism /Split-Image /ImageFile:e:\sources\install.wim /SWMFile:k:\sources\install.swm /FileSize:4096

Enabling Disk Performance Counters in Windows Server 2016 Task Manager

 

In Windows Server 2012 R2 / 2016, disk performance counters were disabled by default because of a noted significant performance impact in collecting Disk metrics on a Server. This is due to the overhead Task Manager can cause when querying each Disk IO for each process/thread on the individual disk. Interestingly enough disk resource values are visible in the Processes view of Task Manager found on Windows 8.1.  Not to fret though, as enabling disk performance counters in Windows Server 2012 R2 / 2016  is far from being a daunting task.

Step 1: Enabling Disk Performance Counters

  1. Ensure Task Manager is closed.
  2. Launch the Command Prompt using the “Run as Administrator” option.
  3. Enter the following at the Command Prompt:diskperf -Y
  4.  Hit Enter.
  5. Close the Command Prompt.
  6. Re-open the Task Manager.

After running the diskperf command, the ability to view Disk performance statistics on the performance tab should now be visible.

 

Error 633: The modem is already in use or not configured properly – Windows 10

Error-633_thumb

Question

Issue: How to Fix Modem Error 633 after Windows 10 Creators Update?

I’ve installed Windows 10 Creators Update yesterday. Apparently it broke my modem because it gives me the error message “Error 633: The modem is already in use or not configured properly.” It seems that the VPN connection cannot be established, but I actually don’t know how to fix that. Help, please!

Solved Answer

“Error 633: The modem is already in use or not configured properly” is the Internet connection issue, which has occurred for hundred of Windows 10 users after the installation of Creators Update. Microsoft has already acknowledged this issue and is working hard to release the solution the near future. However, before the future update patching the modem Error 633 is released, Windows 10 users have to perform the fixes manually.

The “Error 633: The modem is already in use or not configured properly” is not bound to one specific device, so any model and PC model can be affected. The error message explicitly indicates the fact that the modem is malfunctioning due to the faulty configuration. However, Error 633 may also occur due to the multiple Internet connections set up on one device or communication port exploited by another application. Luckily, Microsoft officially revealed the instructions that people should use before the patch for “Error 633: The modem is already in use or not configured properly” is released.

Run Registry Editor

  • Press Windows key, type regedit, and press Enter.
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan directory.
  • Find RequiredPrivileges key and double-click it.
  • Add the SeLoadDriverPrivilege at the end of the list of keys and click OK.
  • If a warning message shows up, click OK to proceed.
  • Finally, reboot the system.

This worked for me 🙂  Credits to : – UGetFix

Windows 10 – Cannot start Virtual machine because the hypervisor is not running

This post is just to fix if you cannot start a VM what was working previously perfect and suddenly it started to give Error

“Virtual machine [VM Name] could not be started because the hypervisor is not running”

2015-11-18-2

I suggested running the following from an elevated command prompt: (Please run Command prompt as administrator)

bcdedit /set hypervisorlaunchtype auto

Shutdown the Computer , Unplug the Power code and wait for a while and switch on the computer.

Now try to start the VM

Additional info –

WHAT is SLAT?

Second Level Address Translation is a technology introduced in both Intel and AMD flavors of processors. Both companies call their version of the technology different names, Intel’s version is called EPT(Extended Page Tables) and AMD calls theirs RVI (Rapid Virtualization Indexing). Intel introduced Extended Page Tables in its processors that were built on the Nehalem architecture, while AMD only introduced RVI in their third generation of Opteron processors codenamed Barcelona. Hyper-V uses this to perform more VM memory management functions and reduce the overhead of translating guest physical addresses to real physical addresses. By doing this, Hypervisor CPU time is significantly reduced, and more memory is saved for each VM.

How Do I Know If I Have SLAT?

Download Coreinfo from Microsoft Technet

[Mirror Download]

Run this command from a elevated command prompt

coreinfo.exe -v

if all ok it should be like this

2017-02-28

 

Your system administrator does not allow the use of saved credentials to log on to the remote computer

M2

If you’re a system administrator working with remote desktop a lot within a somewhat restrictive domain environment, you may be frustrated by the following message:

There are a few tutorials on the net that say to remove this you just need to go into Group Policy and disable ‘Do not allow passwords to be saved’, unfortunately that isn’t what this error message is related to. Instead, we need to change another part of Group Policy.

Hit Win+R to bring up the ‘Run’ dialog, enter ‘gpedit.msc’ and hit OK.

Run dialog with gpedit.msc

Go down the tree into Computer Configuration -> Administrative Templates -> System -> Credentials Delegation.

Group Policy -> Credentials Delegation

Now, you need to allow Allow delegating saved credentials and Allow delegating saved credentials with NTLM-only server authentication. For each, you’ll also need to allow a set list of servers that are explicitely allowed to save credentials, you can enter IP Addresses, Server hostnames, AD Domain name wildcards, or just any old wildcard. Since I wanted to be able to store credentials for everything, I just used a plain wildcard, and you can too!

Allow Delegating Saved Credentials with Wildcard

There we go, you’ll now automatically connect to your servers!

( source – http://rudiv.se/Article/fix-for-system-administrator-not-allow-saved-credentials-rdp )

Update Windows Defender even when Automatic Windows Updates is disabled in Windows 8/10

Windows Defender will not update its definitions, if Windows Updates is not set to Install updates automatically in Windows 10/8. If for some reason you have changed your settings and preferred to set any of the other three updating’s options, viz. Download updates but let me choose whether to install them, Check for updates but let me choose whether to download and install them or Never check for updates, your Windows Defender will not have the latest definitions, till such a time that you update them manually. This is because, Windows Defender and Windows Update in Windows 8 are  both dependent on the Windows Updates services.

This is not a recommended scenario, as one’s security software should be updated as soon as new definitions are available for download.

Update Windows Defender when Automatic Windows Updates is disabled

But you can set it so that Windows Defender will check for, download and install updates as soon as they are available, even if you have disabled Automatic Windows Updates.

To do so, open the Task Scheduler. You will find it under Administrative Tools in your Control Panel.

task-scheduler-1

In the right pane, click on Create Basic Task. The Create Basic Task Wizard will open. Give the task a name and description and click on Next.

ts-2

Select the frequency, viz Daily.

ts-3

Set the Time at which the updating task should run.

ts-4

Next select Start a program.

ts-5

Advt

^

In the Program box, type “C:\Program Files\Windows Defender\MpCmdRun.exe”. MpCmdRun.exe is the executable file of Windows Defender that helps in carrying out common tasks like scanning, scheduling, updating, etc.

In the Add arguments box, type -SignatureUpdate. This is one of the available command line arguments for Windows Defender.

ts-6

Having done this, review the details and click on Finish.

ts-7

You will now be able to see the task in the Task Scheduler Library.

Now your Windows Defender will update itself, regularly, every day at the set time, although you may have disabled Automatic Windows Updates.

If you want Windows Defender to check for signature updates more than once every day, you will have to additionally do the following:

Open its Properties box and click on Triggers tab. Select the task and click on Edit.

def-props

Here check the Repeat task every and from the drop-down menu, select 1 hour. This will check for updates every hour. If you wish to check every 6 hours, simply change the figure from 1 to 6; it works!

edit-trigger

Click OK/Apply and Exit.

When the task is run, a black CMD window will open momentarily and close down.

If you wish to run a silent update, instead of: C:\Program Files\Windows Defender\MpCmdRun.exe –SignatureUpdate you may use: C:\Program Files\Windows Defender\MSASCui.exe -Update.

Let us know how this works for you.

(Credits to http://www.thewindowsclub.com/update-windows-defender-automatic-windows-updates-disabled )

Analyze and clean the WinSXS folder

Please note that the commands will only work on Windows 8 or newer machines.

Here is what you need to do to analyze the WinSXS Folder:

  1. Tap on the Windows-key, type cmd.exe, hold down Shift and Ctrl, and hit the enter key on the keyboard. This opens an elevated command prompt on the system.
  2. Run the command dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
  3. ceanup

The parameter /Online refers to the current installation, and /Cleanup-Image /AnaylzeComponentStore to analyzing the current component store of that installation (the WinSXS folder).

 

You can list all available commands using dism.exe /?, and subsequently dism.exe /Online /? and dism.exe /Online /Cleanup-Image /?.

The command runs a scan that takes a moment to complete. It echoes the Windows Explorer size and actual size to the command prompt window, and gives recommendations whether it makes sense to run a cleanup operation.

Cleanup

Windows runs a cleanup regularly using the Task Scheduler. You can check if that is the case on your machine in the following way:

  1. Tap on the Windows-key, type Task Scheduler and hit enter.
  2. Navigate to Task Scheduler (local) > Task Scheduler Library > Microsoft > Windows > Servicing > StartComponentCleanup

You can run the cleanup operation manually at any time using the following command using an elevated command prompt:

dism.exe /Online /Cleanup-Image /StartComponentCleanup

or for more

dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase

 

For service pack cleanup

dism.exe /Online /Cleanup-Image /spsuperseded /hidesp

 

Windows 10 Edge can’t be opened using the built-in administrator account

edge_admin1a

error Microsoft Edge can’t be opened using the Built-in Administrator account.  Sign in with a different account and try again.

In order to get around this message in your test environment and be able to use your Built-in Administrator account to navigate Edge, follow the following steps to get up and running.

  • Navigate to your local security policy on your Windows 10 workstation – You can do this by typing secpol.msc at a search/run/command prompt.
  • Under Local Policies/Security Options navigate to “User Account Control Admin Approval Mode for the Built-in Administrator account
  • Set the policy to Enabled

edge_admin1

 

 

***Updated for Windows 10 Home Users***

For Windows 10 Home users, the local security policy editor doesn’t exist.  However, most of the policy changes that can be made using the policy editor can also be made using the registry.  I have not tested this on a Windows 10 Home system, however, changing this registry key should be the equivalent to enabling the policy above – See the UAC registry guide from Microsoft https://technet.microsoft.com/en-us/library/Dd835564(v=WS.10).aspx#BKMK_BuiltInAdmin.  Navigate to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

  • Create a DWORD value if it doesn’t already exist called FilterAdministratorToken
  • Set the value to 1

Next we need to navigate to the registry and make an additional change:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI\
  • Change the Default string key to 0x00000001(1)Also, in addition to the above, make sure your User Account Control Setting is set to the third level from the bottom.  To get to UAC, go to your Windows 10 search and type uac.  It should come up as “Change User Account Control Settings“.

Finally, restart Windows and then you will be able to enjoy Edge under your Built-in Administrator account.