Thursday, November 8, 2018

How to Fix Microsoft Exchange 2013 to Office 365 Error ews/mrsproxy.svc' failed.The HTTP request was forbidden with client authentication scheme ‎’Negotiate‎’

1. The first part of the denial is that the Exchange 2013 server has to be set to "0" instead of "1" in their attributes.

2. Login to your DC and then search for ADSI Edit (Windows 2012/2016/2019 Server):

Change the "adminCount" setting to "1" and then reboot the server (NOTE: I saw that even on reboot, this flag remained. So I doubt it has anything to do with the http authentication.) This is when I then ran the following commands on the Exchange 2013 Server itself in EMS. This is the Microsoft article: https://support.microsoft.com/en-us/help/2975731/access-is-denied-error-when-you-try-to-move-mailboxes-to-exchange-onli but it had no impact at all on the error even after rebooting. It just came back.


3. Login to the CAS or Exchange Server and Open the Exchange Management Shell

4. Run the following command in the EMS:
[PS] c:\Windows\system32\Get-WebServicesVirtualDirectory | select *auth*

5. Look at the output for BasicAuthentication. You will see it set to false:



6. Run the command: Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory –BasicAuthentication $TRUE

NOTE: if it times out in CAS you can also run it on the Exchange Server or do it in the Exchange Admin Center under Servers >> Virtual Directories >> OWA (etc)

7. After this fix. Run the Microsoft Office 365 Hybrid Connection Wizard (You will need your O365 Administrator account and an AD account that is an Exchange organization administrator so that you can complete the wizard.


8. You will need to install the application on the CAS server itself (NOTE: Do not install it on Exchange or your local machine. It will just fail).

9. Run the Data Migration from the Exchange Admin Center after you verify that you have successfully configured the Hybrid tool (also make sure you have already assigned licenses to users and you have the Azure AD Connect tool already configured on your local domain controller.

(NOTE: You have to have a subscription active in Microsoft Azure or if you purchase from Rackspace then your account will have a Tenant account and you will be able to configure the tool).

10. ADFS Configuration using AD Directory Sync:
https://channel9.msdn.com/Series/Azure-Active-Directory-Videos-Demos/Configuring-AD-FS-for-user-sign-in-with-Azure-AD-Connect
https://www.youtube.com/watch?v=C4wbyAo2-sA


Lifesaver Credit (Thanks Guys!!!): 
http://bit.ly/2zCiuP0 (Jaap Wesselius)
http://bit.ly/2RLGvuv (Dan Djurasovic)
https://deansuzuki.net/2015/05/20/exchange-online-fixing-an-perplexing-exchange-migration-issue-part-1/

Helpful (Not Used, but relevant and may help others):
http://www.azure365pro.com/the-http-request-was-forbidden-with-client-authentication-scheme-negotiate/
http://blog.djurasovic.com/migrating-to-office-365-exchange-online-tips-and-tricks-from-the-field/
https://www.techieshelp.com/exchange-2013-change-owa-log-on-options/
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/plan-connect-user-signin
Share:

Thursday, November 1, 2018

Transfer FSMO Roles

1. Login with a forest level administrator account

2. Open CMD prompt as an Administrator

3. Run the following commands:

ntdsutil - > roles -- > connections --> connect to server dc-servername -- > quit

Schema Master
transfer schema master
<Enter Key>

RID Master
transfer rid master
<Enter Key>

Domain Naming Master
transfer naming master
<Enter Key>

PDC Emulator
transfer pdc
<Enter Key>

Infrastructure Master
transfer infrastructure master
<Enter Key>

Type q / q and that's it! Shut the box down or do whatever you were going to do!

Share:

Wednesday, October 31, 2018

Microsoft Exchange Transport Services Won't Start

Open PowerShell with the Exchange PowerShell CMD Tool

Check the Health of Exchange:
Test-ServiceHealth

Check the Exchange Database Status:
Get-MailboxDatabase -Status | Format-List name,server,mounted

Check the Queues:
Get-Queue | Select Identity,Status,MessageCount

Open up Event Viewer and Read the logs and check what's going on. If you cannot start the EdgeSync Service. Re-Add:

New-EdgeSyncServiceConfig - Site YourSitesandServicesLocation

Start --> Run --> services.msc

Re-Start the services. If Microsoft Filtering is hung. Bounce the server. Mail should start flowing again. If not...Microsoft Support is your friend. Don't take all day...troubleshoot what you can and then bow humbly, give up and call support. Your busy right?

Microsoft US Support: 1 (800) 642-7676
Microsoft US Support (URL): https://support.microsoft.com/en-us/assistedsupportproducts

Mount Exchange Database

Mount-Database -identity Domain\Exchange Server Name\ mailbox name

Get-Server *Exchange* | Start-Service
Get-ServerHealth -Identity Domain\Exchange Server Name
Get-ServerComponentState -Identity Domain\Exchange Server Name
Get-DomainController | fl name,adsite
Get-TransportAgent
Get-AcceptedDomain
Get-ExchangeServer | fl name,admindisplayversion,serverrole,site Add=PSSnapin *exch*


Share:

Sunday, October 28, 2018

How to Install VMware ESXi 6.7 on VMware Workstation 15

Static IP configuration were causing me some headaches. The alternative options are DHCP and DHCP with a reservation if you have a DHCP server you manage. Optionally, you can go the static configuration route but it was a headache for me and I'm busy and have other things to do.

Lab Scenario with VMware Workstation 15 (WS15 was on W10)

1. Download the ISO and then double-click until you find the .ova and double-click it or right click and open it in VMware Workstation. The wizard is pretty simple.



2. After you import the VM and configure the VM with the Wizard. VMware Photon 1.0 will launch and run the scripts in the background. Be patient. It runs for like 5-8 minutes. Just leave it alone. It will boot and you will see the screen. NOTE: Make sure you type in :5480 after the IP or the hostname or you will see bupkis.

https://ipaddress or FQDN:5480. I recommend using the FQDN


3. Select the option that works for you and install everything.


Share:

Wednesday, October 24, 2018

How to Create a Bootable .wim File

1. Download Rufus (Windows Based Systems) / Linux WinUSB doesn't work worth a damn on Ubuntu 18.04.1 LTS at the time of this writing so don't waist your time.

https://rufus.ie/en_IE.html (Don't download it anywhere else)

2. Grab your W10 EE/Pro ISO Image if you don't have VLSC:

https://www.microsoft.com/en-us/evalcenter/evaluate-windows-10-enterprise (You need a license if you need it more than 90 Days, but for testing/evaluation/school purposes, it's fine.)

3. Launch Rufus and configure the ISO



4. After everything is done. Open the USB and delete the "install" .wim file from \sources and replace it with your .wim file and then rename it  to "install"



5. Boot that sucker and verify everything is working. You're done.


Share:

Tuesday, October 9, 2018

How to Create Bootable Windows 10 USB on Ubuntu 18.04.1 LTS

1. Open Disks app on Ubuntu and format the drive NTFS


Do It The Hard OCD Way:

2. Grab the source code from WoeUSB: https://github.com/slacka/WoeUSB

3. Open Terminal and create a location for WoeUSB:

4. sudo mkdir /opt/woeusb

5. cd /opt/woeusb  && git clone https://github.com/slacka/WoeUSB.git



6. In order to run mk-build-debs you need to install devscripts

7. sudo apt-get install devscripts equivs gdebi-core -y (NOTE: Remove when your done for security of your system)

8. Then prep the environment: sudo ./setup-development-environment.bash

9. cd /opt/woeusb/WoeUSB/ and then run sudo mk-build-deps

10. sudo gdebi woeusb-build-deps_*

Do It the Fast...I Don't Have Time, I'm Busy Way:


2. sudo add-apt-repository ppa:nilarimogard/webupd8 && sudo apt-get update -y && sudo apt-get install woeusb -y














Share:

Tuesday, October 2, 2018

How to Fix "The Specified Virtual Disk Needs Repair" on VMware Workstation 15 on Ubuntu 18.04.1 LTS

You try to enlarge the disk and you run into the error about the disk needing repair.

Verified that works on VMware Workstation 15 on Ubuntu 18.04.1

1. Open terminal on the machine you have VMware Workstation installed

2. /usr/bin/vmware-diskmanager -R /path/to/.vmdk file

3. Go to settings of the VM and try your advanced operation to compact the disk or expand it. Bam...done.


Share: