Thursday, February 13, 2020

Offline activate the built-in administrator on Windows 10 without signing in

If you no longer have access to a Windows 10 computer, say because you forgot the password of your Microsoft account or because the trust relationship between the workstation and the Active Directory domain failed, you need a local account with administrator rights. If you haven’t used the local account for a while, you also might not remember its name and its password. It is also possible that no other local account exists on the computer for security reasons.
In such situations, you can follow the procedure described below to offline activate the built-in administrator account.
  1. Boot from your Windows 10 setup media. You might have to change the boot order in the BIOS of the computer if Windows 10 starts after you inserted the media. After Windows setup has started, you have to press SHIFT+F10 to open a command prompt.
    Opening a command prompt after booting from the Windows setup media
  2. Next, find the drive letter of the drive where Windows 10 is installed. The drive letter might be different from the one you use when you boot up Windows 10. The Windows setup media is usually on X: and, in most cases, Windows 10 is located on drive D:. To get an overview of the available drives you can run echo list volume | diskpart. You can recognize the correct drive by viewing its contents with the dir command (dir d:\users). The date of your profile folder should show the last date you logged on.
    Finding the Windows 10 installation drive
  3. You can now replace the utilman.exe file with cmd.exe in the system32 folder of the Windows 10 system directory. But first you have to create a copy of utilman.exe so that you can restore it after you activate the administrator account. Make sure you use the drive letter that you found in step 2:

    Replacing utilman.exe with cmd.exe
  4. Now, remove the boot media and reboot:

    Rebooting Windows PE
  5. Wait until Windows 10 boots up, press a key, and then click the Accessibility options A command prompt should open on the login screen. At this point, you have full access to your Windows 10 installation without having signed in. You could also reset the password of any account.
    Command prompt on the Windows 10 login screen
  6. You can now enable the built-in administrator account. You should also set a password because, by default, the administrator account password is blank:

    Activating the built-in administrator account and setting a password
  7. After you close the command prompt, you can sign in with the newly activated administrator account. If the computer does not belong to an Active Directory domain, you can just enter “administrator” as the user name after you click Other user. If the computer is a domain member, you should add “.\” in front of the name (.\administrator) to ensure that you log on locally:
    Local login with the built-in administrator account
After you sign in, you might want to restore the original utilman.exe. To do so, you have to boot again from your Windows 10 setup media and open a command prompt as explained in step 1. Then, you have to enter this command to restore utilman.exe:

Wednesday, February 5, 2020

iPhone Using Dual SIM with an eSIM

Set up your cellular plan with eSIM

On iPhone XS, iPhone XS Max, iPhone XR, and later, you can use a physical nano-SIM for a cellular plan and an eSIM for one or more other cellular plans. If you don't have a nano-SIM and your carrier supports it, an eSIM can serve as your only cellular plan. The eSIM provided by your carrier is stored digitally in your iPhone.
To activate your second cellular plan, you can scan the QR code your carrier gave you, use your carrier's iPhone app, install an assigned plan, or you can enter the information manually:

Scan a QR code

  1. Open the Camera app and scan your QR code.
  2. When the Cellular Plan Detected notification appears, tap it.
  3. Tap Continue, at the bottom of the screen.
  4. Tap Add Cellular Plan.
If you're asked to enter a confirmation code to activate the eSIM, enter the number that your carrier provided.

Use a carrier app

  1. Go to the App Store and download your carrier's app.
  2. Use the app to purchase a cellular plan.

Install an assigned cellular plan

With iOS 13, some carriers can assign a cellular plan for you to install. Contact your carrier for more information.
If a plan was assigned to you, follow these steps:
  1. When a notification appears that says Carrier Cellular Plan Ready to Be Installed, tap it.
  2. In the Settings app, tap Carrier Cellular Plan Ready to Be Installed.
  3. Tap Continue, at the bottom of the screen.

Enter the information manually

If necessary, you can manually enter your plan information. To enter your plan information manually, follow these steps:
  1. Go to Settings.
  2. Tap either Cellular or Mobile Data.
  3. Tap Add Cellular Plan.
  4. Tap Enter Details Manually, at the bottom of your iPhone screen.
You can store more than one eSIM in your iPhone, but you can use only one at a time. To switch eSIMs, tap Settings, tap either Cellular or Mobile Data, and then tap the plan you want to use. Then tap Turn On This Line.
The next sections give you more information about the remaining setup screens on your iPhone.

Label your plans

After your second plan is activated, label your plans. For example, you can label one plan Business and the other plan Personal.
You'll use these labels when you choose which phone number to use for making or receiving calls and messages, to designate a number for cellular data, and to assign a number to your contacts so you know which number you will use.
If you change your mind later, you can change your labels by going to Settings, tapping either Cellular or Mobile Data, and then tapping the number whose label you want to change. Then tap Cellular Plan Label and select a new label or enter a custom label.

Set your default number

Choose a number to use when you call or send a message to someone who isn't in your Contacts app. With iOS 13, choose which cellular plans you want to use for iMessage and FaceTime. With iOS 13, you can choose either or both numbers.
On this screen, choose a number to be your default, or you can choose which number is to be used only for cellular data. Your other number will be your default. If you want your iPhone to use cellular data from both plans, depending on coverage and availability, turn on Allow Cellular Data Switching.

Use two phone numbers for calls, messages, and data

Now that your iPhone is set up with two phone numbers, here's how to use them. 

Let your iPhone remember which number to use

When you call one of your contacts, you don't need to choose which number to use every time. By default, your iPhone uses the same number that you used the last time you called that contact. If you haven't called that contact, your iPhone uses your default number. If you want to, you can specify which number to use for your calls with a contact. Follow these steps:
  1. Tap the contact.
  2. Tap Preferred Cellular Plan.
  3. Tap the number you want to use with that contact.

Make and receive calls

You can make and receive phone calls with either phone number.
With iOS 13, when you're on a call, if the carrier for your other phone number supports Wi-Fi calling, you can answer incoming calls on your other number. When you're on a call using a line that isn't your designated line for cellular data, you need to turn on Allow Cellular Data Switching to receive calls from your other line. If you ignore the call and you have voicemail set up with your carrier, you’ll get a missed-call notification and the call will go to voicemail. Check with your carrier for Wi-Fi calling availability, and find out if additional fees or data usage applies from your data provider.
If you're on a call and your other line shows No Service, either your carrier doesn't support Wi-Fi calling or you don't have Wi-Fi calling turned on.1 It could also mean Allow Cellular Data Switching is not turned on. When you're on a call, an incoming call on your other phone number will go to voicemail if you set up voicemail with your carrier.2 However, you won't get a missed-call notification from your secondary number. Call Waiting works for incoming calls on the same phone number. To avoid missing an important call, you can turn on call forwarding and forward all calls from one number to the other. Check with your carrier for availability and to find out if additional fees apply.
1. Or if you're using iOS 12. Update to iOS 13 to receive calls when you're using your other number.
2. If data roaming is on for the number that uses cellular data, then Visual Voicemail and MMS will be disabled on your voice-only number.

Switch phone numbers for a call

You can switch phone numbers before you make a call. If you're calling someone in your Favorites list, follow these steps:
  1. Tap .
  2. Tap the current phone number. 
  3. Tap your other number. 
If you're using the keypad, follow these steps:
  1. Enter the phone number.
  2. Tap the phone number, near the top of the screen. 
  3. Tap the number you want to use.

Send messages with iMessage and SMS/MMS

You can use iMessage or SMS/MMS to send messages with either phone number.* You can switch phone numbers before you send an iMessage or SMS/MMS message. Here's how:
  1. Open Messages.
  2. Tap the New button, in the upper right corner of the screen.
  3. Enter your contact's name.
  4. Tap the current phone number.
  5. Tap the number you want to use.
* Additional fees may apply. Check with your carrier.

Learn about Dual SIM status icons

The icons in the status bar at the top of the screen show the signal strength of your two carriers. Learn what the status icons mean.
You can see more status icons when you open Control Center.

When Carrier 1 is in use, the other line will show No Service. 

The status bar shows that Carrier 1 is using LTE, and Carrier 2 is using Wi-Fi Calling.

With Allow Cellular Data Switching turned on, the status bar shows that Carrier 1 is using LTE, and Carrier 2 is using the cellular data of Carrier 1 and has Wi-Fi calling enabled.

Change your cellular data number

One number at a time can use cellular data. To change which number uses cellular data, follow these steps: 
  1. Go to Settings.
  2. Tap either Cellular or Mobile Data.
  3. Tap Cellular Data. 
  4. Tap the number you want to use cellular data. 
If you turn on Allow Cellular Data Switching, then while you're on a voice call on your voice-only number, that number automatically switches to use voice and data.* This lets you use both voice and data while on the call.
If you turn off Allow Cellular Data Switching and you're active on a voice number that isn't your designated cellular-data number, then cellular data won't work while you're on the call.
To turn on Allow Cellular Data Switching, follow these steps:
  1. Go to Settings.
  2. Tap either Cellular or Mobile Data.
  3. Tap Cellular Data.
  4. Turn on Allow Cellular Data Switching.
* Your data line switches automatically for the duration of your call. This cellular-data switching will not work if you are currently using Data Roaming. Check with your carrier for availability and to find out if additional fees apply.

Manage cellular settings

To change your cellular settings for each of your plans, follow these steps:
  1. Go to Settings.
  2. Tap either Cellular or Mobile Data.
  3. Tap the number you want to change.
  4. Tap each option and set it as you normally would.

Transfer your eSIM from your previous iPhone to your new iPhone

To transfer your eSIM to your new iPhone, you can scan the QR code your carrier gave you, use your carrier's iPhone app, or install an assigned cellular plan. When your cellular plan is activated on your new iPhone, the plan on your previous iPhone will deactivate.
To set up your new iPhone, follow the steps in the Set up your cellular plan with eSIM section. If you're asked to "Transfer Cellular Plan" during Quick Start setup, follow these steps.

Erase your eSIM

If you need to erase your eSIM, follow these steps:
  1. Go to Settings.
  2. Tap either Cellular or Mobile Data.
  3. Tap the plan you want to erase.
  4. Tap Remove Cellular Plan.
If you erase all content and settings from your device, you can choose to erase your eSIM as well or keep it. If you want to cancel your cellular plan, you still need to contact your carrier.

Saturday, February 1, 2020

PIN and Fingerprint Sign-in options unavailable (greyed out) in Windows 10 1607 Enterprise

Apparently 1607 requires this registry key setting to enable PIN login on domain joined machines:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"AllowDomainPINLogon"=dword:00000001