About This Site

I'm a Tech Guy for over 30 Years Knowledge of Computers, Networks, PC Gadgets. This site is to be used to share some of my knowledge and reviews

Task Scheduler Is Broken After Downgrade From Windows 10

This has happened on a few computers. The task scheduler has many corrupted tasks. Found this on the net. Here is a link for a utility to fix this.

Can’t Sync Contacts With Outlook 2016 and iPhone

Found this on the Internet. Seems Apple has an issue with sync with itunes and Outlook 2016.

Firstly, you need a Microsoft account, which is generally hotmail.com or outlook.com. These are not exchange accounts, exchange is something you have to pay for separately (although one is included in one of the business office 365 packages).

I created an outlook.com account and then added it to Outlook 2016 with the standard wizard which creates like an Exchange account.

I would recommend using “first last” as the file as and display order in outlook, and changing all your existing contacts to use this first.

Steps to sync:

ON PC:

    1. Download and install the hotmail connector. It may come as part of office 2016 (but was not part of office 2010 at least)
    2. Add your Microsoft account to outlook (not using imap, using the hotmail connector)
    3. In outlook, drag all your contacts from their current location (for me was a datafile) to your hotmail contacts.

4.

ON iPhone:

  1. Settings->Mail, contacts, Calendars->Add Account
  2. Select outlook.com (even for hotmail.com accounts).
  3. enter yuor email and password.

Thats it. Now the contacts magically sync between iphone and outlook. If you change a contacts details on either side, it is synced on the other side.

The only minor issue, is if you change the contacts name on the iphone, you get a duplicate in outlook, the old one and the new one.

Back Door Into Windows 7-10

Here is info on how to get into a Windows PC that you forgot the password or something is corrupt and you need to login when you can’t.

Back Door Into Windows 7-10

 

Windows 10 Can’t Connect To Windows Server VPN

Client that upgraded to Windows 10 and now can’t connect to VPN. They would get the following error:

Error – Can’t connect to VPN (VPN Connection does not work in Windows 10)
The remote connection was denied because the user name and password combination you provided is not recognized, or the selected authentication protocol is not permitted on the remote access server.

Seems to be that Windows 10 does not use CHAP and MS-CHAP V2 protocol be default on VPN. Found this article that will fix the issue.

In the article it mentions Internet Options. For me I just went into the properties of the VPN adapter. Selected the Security tab and clicked the Allow these protocols.

VPN-WIN10

 

Cannot find script file C:\WINDOWS\run.vbs at Logon

Found this on the web here

Client had spyware/virus infection. After cleaning the PC (Windows 10) the error occurred. Here is the solution

 

Start Registry Editor (Regedit.exe) and go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Double-click Userinit value and change the value data from:

wscript C:\WINDOWS\run.vbs,

to the following: [Caution: Take special care when entering. You need to remove wscript part.]

C:\Windows\system32\userinit.exe,

*Important #2*: If Windows is installed in a different drive than C:\, type the actual drive-letter and path. Also, include the trailing comma (,) as shown above. Take extreme care when typing the Userinit value, as typing a incorrect file name or path will prevent you from logging on to any user account. I’m not responsible if you type a wrong path and lock your self  out of your user account.

Add F8 Safe Mode Option To Windows 10

One of the things that Microsoft did with Windows 10 (and Windows 8) was remove the option to switch to Safe Mode or Repair by pressing the F8 Key on boot. Why they did this was to improve boot time. I think it was a wrong move. Just to save a few seconds of time you remove a trouble shooting option that could help solve boot problems. Sure Windows 10 can detect an issue with boot and try and help fix the problem but not all the time.

I found this on the web to easily add the F8 legacy menu option. Basically you start a command prompt with Administrator rights (Right click the Windows 10 start menu and select Command prompt (Admin)) and then type the following (or copy and paste):

bcdedit /set {default} bootmenupolicy legacy

Once its successful then reboot the PC. Press the F8 button at beginning of boot and you will get the legacy menu back.

If you want to revert back to the normal Windows 10 boot that does not give you the option of F8 do the same thing except type this:

bcdedit /set {default} bootmenupolicy standard

 

Export From MS Exchange to PST

Working with an Exchange 2010 Server and you want to export mailboxes to PST files. First you have to make sure you are running MS Exchange 2010 with SP1 or greater. Once SP1 or greater is installed then you need to give the administrator (or whoever will be logged in and running the script file) permission to run the commands.

Open MS Exchange Shell and run the following on the user:

New-Managementroleassignment –Role “Mailbox Import Export” –User “Administrator”

Now for the commands to work you need to exit the shell and then start it again.

In order to export you need to create a share on the server (or other PC if you like) so the export can go to the share. Example I created a share on the server called PST so the path would be \\Server\PST.

Now to do a Bulk export there are a few ways of doing it. The first way uses a .txt file that contains all the aliases of the mailboxes you want to export.If you create the .txt file in a folder called C:\PST\Aliases.txt.

You can then create a script and save it as a .ps1 file.

$content = get-content “C:\PST\Aliases.txt”

foreach ($user in $content)
{

New-MailboxExportRequest -Mailbox $user -FilePath “\\SERVER\PST\$user Mailbox.pst”
}

Now you just need to run the .ps1 file in the shell. Example

.\ExportPST.ps1

A command to create the Aliases.txt file could be following. Make sure you are in the folder where the Aliases.txt will be:

get-mailbox | select -expand alias >Aliases.txt

Then just edit the Aliases.txt file to remove any unwanted mailboxes.

If you want to schedule this to happen follow this page Schedule Exchange PowerShell

Another way is to open Exchange Management Shell and type the following 2 command:

$Export = Get-Mailbox

$Export|%{$_|New-MailboxExportRequest -FilePath “file://servername/pst/$($_.alias).pst“}

I got this info from the following posts:

Post 1

Post 2

If the export does not work it could be the export got stuck (Could happen if server restarts for a Windows update while its still exporting to PST).

If you run this is Exchange Shell and specify A for Yes to All it will stop any broken export commands. Hopefully the next time you export it will work:

Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest

Changed Phones Can’t Connect To Exchange

I recently changed my phone that I connect to my work MS Exchange 2010 Server. When I tried to setup the email account it configured fine but said it could not connect to server when I tried seeing my emails. Turns out there is a limit of 10 devices that can connect to one MS Exchange account using Active Sync. Found this here.

Here are the steps to fix this:

Follow these steps to reduce the number of devices associated with your account:

  1. Sign in to Outlook Web App and go to Options > Phone > Mobile Phones.
  2. Delete any unused partnerships to reduce the number of devices associated with this account to ten or fewer.

Changing From Ahci To IDE Mode

Article that describes changing from AHCI Mode to IDE or the other way around. Here is the AHCI to IDE change.

Change to IDE mode from AHCI or RAID mode: Warning: Spoiler! (Click to hide)

  1. Exit all Windows-based programs.
  2. Press [Win] + R or take the RUN option from the start menu.
  3. Now type regedit there and press Enter Key to open up the Registry Editor Window.
  4. If you receive the User Account Control dialog box, click Continue.
  5. Locate and then click the following registry subkey:
    Code:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Pciide
    
  6. In the right pane, right-click Start in the Name column, and then click Modify.
  7. In the Value data box, type 0 [3 is default], and then click OK.
  8. On the File menu, click Exit to close Registry Editor.
  9. Restart your computer
  10. Go to UEFI/BIOS and enable IDE, Save & Reboot
  11. Another restart will be required to finish the driver installation.

Fixing Network Issue On Windows 7

Client that had a network icon on bottom right with an red x on it and it would say not connected to network even though the PC is on the Domain and can access network shares and the Internet. After searching online I found a Windows repair tool from the following website:

http://www.tweaking.com/

Downloaded the tool and ran it. I only specify to fix the network and not all the other 40+ things it can fix. After this and rebooted the network was working fine. Great utility to keep on hand. It works for Windows XP to Windows 10.