Monday 30 April 2018

Office 365 can't provision archive mailbox in post hybrid setup


Error:
The following error occurred during validation in agent 'Windows LiveId Agent': 'Can't enable the archive for 'USER' because this user object is synchronized with the on-premises directory. To enable a cloud-based archive mailbox for this user, you must use your on-premises Exchange admin center or Exchange Management Shell.'

No on-premise exchange does not exists, need to use AD to change the user attribute.

Fix:
Update the following AD User attribute:

msExchRemoteRecipientType

Value:
3


Reference to to msExchRemoteRecipientType values:
https://answers.microsoft.com/en-us/msoffice/forum/msoffice_o365admin-mso_exchon-mso_o365b/recipient-type-values/7c2620e5-9870-48ba-b5c2-7772c739c651




Tuesday 14 March 2017

VMware Horizon - Server Error UNKNOWN, Error during provisioning, Error getting snapshot information for the machine with ID


Problem:  VMware Horizon View 

Server Error - Unknown.


Error getting snapshot information for the machine with ID.


Error during provisioning: View Composer Fault: Unexpected VC fault from View Composer (Unknown) - Unknown -




Upon checking the VM in vCenter Server the path matches and snapshots are there.

Solution: Create a new snapshot, delete it and problem is fixed. You can enable provisioning on the pool and edit the pool without any errors.



Friday 20 May 2016

The connection to "%name%" failed with status (1110)

Citrix XenDesktop -  Error 1110

Problem:

Connecting to XenDesktop get the following error:


---------------------------
Desktop Viewer
---------------------------
The connection to "Desktop-NAME" failed with status (1110).
---------------------------
OK   
---------------------------


When you bypass the Citrix NetScaler and connect to StoreFront server it works, possible cause is recent upgrade of NetScaler.

Solution:
Upgrade Citrix Receiver to 4.3 or higher older versions drop support for weaker ciphers and protocols.

Monday 6 April 2015

Exchange DAG Node down, Windows Cluster Service will not start

Problem: After a server reboot an Exchange DAG member is down, the Cluster Service Fails to start.

Unable to start the cluster service it terminates with the Event ID 7024

"The Cluster Service terminated with service-specific error cannot create a file when that file already exists." 


Error Messages in Event Log:



Service Control Manager Event ID 7001

The Cluster Service service depends on the Csv File System Driver service which failed to start because of the following error: 
The system cannot find the file specified.


Service Control Manager Event ID 7000

The Csv File System Driver service failed to start due to the following error: 
The system cannot find the file specified.



MSExchangeRepl Event ID 4113

Database redundancy health check failed.
Database copy: DB_NAME
Redundancy count: 1

Error: Passive copy 'DB_NAME\EXCH_SERVER' is not UP according to clustering.


MSExchangeRepl Event ID 2060

The Microsoft Exchange Replication service encountered a transient error while attempting to start a replication instance for DB_NAME\EXCH_SERVER. The copy will be set to failed. Error: The NetworkManager has not yet been initialized. Check the event logs to determine the cause.




Solution:

Check Device Manager and the Microsoft Failover Cluster Virtual Adapter has a yellow exclamation mark (this is netft.sys)

“This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)”

Need to remove the "Microsoft Failover Cluster Virtual Adapter" and reinstall it using the following steps: 

1. From Device Manager/Network adapters, click on View-->Show hidden devices and then uninstall "Microsoft Failover Cluster Virtual Adapter" 
2. Reboot the server for changes to take effect 
3. After reboot Open Device Manager/Network adapters 
4. From Action Menu Select “Add Legacy Hardware” and then click Next 
5. Select “Install the Hardware that I manually selected from a list (Advanced)” and click Next 
6. Select “Network Adapters” and then click Next 
7. Select “Microsoft” From the left pane and select “Microsoft Failover Cluster Virtual Adapter” from the right list 

8. Once the Adapter is added successfully you be able to start the cluster service successfully and let the DAG sync up the queue log files.

NOTE: If you reboot your server and issue comes back follow the same steps but disable IPv6 on the network adapters since it is not required when Exchange is not on a Domain Controller.



Tuesday 17 March 2015

VEEAM - Tips for DAG Exchange Backup and Replication in vSphere

If you have tried everything to keep your Exchange DAG in balance based on datastore AP (Activation Preference) here is a quick PowerShell that will help you.

I have tried the Veeam KB http://www.veeam.com/kb1744 no luck still 1 out of 8 for that site failed over.

Tweaked DAG Settings as recommended (this helped by keeping 1 or 2 databases others failed over)

  1. cluster /prop SameSubnetDelay=2000:DWORD     (Default: 1000)
  2. cluster /prop CrossSubnetDelay=4000:DWORD     (Default: 1000)
  3. cluster /prop CrossSubnetThreshold=10:DWORD     (Default: 5)
  4. cluster /prop SameSubnetThreshold=10:DWORD     (Default: 5)



From PowerShell as Admin:

. 'C:\Program Files\Microsoft\Exchange Server\V15\Scripts\RedistributeActiveDatabases.ps1' 'YOUR-DAG-NAME-HERE' -BalanceDbsByActivationPreference -Confirm:$false



Or Script it in Task Scheduler

Program/script: powershell
Add arguments: -command "& 'C:\Program Files\Microsoft\Exchange Server\V15\Scripts\RedistributeActiveDatabases.ps1' 'YOUR-DAG-NAME-HERE' -BalanceDbsByActivationPreference -Confirm:$false"




NOTE: Run this a few hours after the backup, because when the DAG will fail the Content Index State will go to FailedAndSuspended then followed by Seeding state. After it has returned to Healthy then the script will run without errors. So run this before business hours start or middle of the night after the Index state state has returned to healthy. You can write another PS to query the state once all DAGs are healthy then balance them out.


Hope this will help someone if it does +1 or send a comment.

Cheers,
Jakub 

Tuesday 30 December 2014

Samsung EVO 850 vs Intel SSD 520 Series

I decided to do a small upgrade on my older Lenovo T430s by increasing the SSD capacity. Based on reviews I purchased a Samsung EVO 850 256GB SSD to replace the Intel SSD 520 180GB. Small space upgrade the 180GB was not enough for all the programs, tools, images and large PST files.

NOTE: Keep in mind this an older generation Intel SSD 520. Intel SSD 730 would be on the same generation level as the Samsung EVO 850


Intel SSD 520 Series (180GB)





Samsung SSD 850 Pro (265GB)






RAPID Mode
After installing Samsung Magician and enabling RAPID (Real-time Accelerated Processing of I/O Data) mode. It did give a nice boost because uses the systems RAM to cache hot data. This is show during the 4 KB random multi WRITE test as the mutli writes can not be cached it crippled a bit. Nice free RAM drive hot cache tool from Samsung working inside windows only.






Summary


Wednesday 23 July 2014

QuickBooks - An error occurred. Your QuickBooks installation may have been modified. Reinstall QuickBooks and try again. If the problem persists, contact Intuit Technical Support and provide them with the following error codes: (-6010,-100).

When you launch quickbooks, select your company profile, put in the username and password you get the following error message: 

An error occurred. Your QuickBooks installation may have been modified. Reinstall QuickBooks and try again. If the problem persists, contact Intuit Technical Support and provide them with the following error codes: (-6010,-100).


You can try to reinstall, call QB support all options will get you no where trust me! 

I tried to fix the service switches / arguments and no luck with getting the service to start with the parameters I wanted. Quick fix for now is to execute the following from your QuickBooks directory:

"QBDBMgrN.exe -n QuickBooksDB24"

ie. "C:\PROGRA~2\Intuit\QUICKB~3\QBDBMgrN.exe -n QuickBooksDB24"

The SQL Anywhere interface will start and minimize, make sure not to log off from the server. Best is to run this on the console or as a scheduled tasks with an IF statement so one executable is running.



Now you can log into quickbooks.

P.S. To Intuit, for those users complaining about slow quickbooks wonder no more. The Sysbase database engine is licensed to use 2 physical processor, what about the cores ? Thanks Intuit!

P.S.S. If you want to see other options to for the service execute the tile as "QBDBMgrN.exe -?" the service option had -hv as a parameter, no explanation in the help page.