Relative Content

Tag Archive for Microsoft

Office 365 activation issue

run cmd as admin cd C:\program files\Microsoft office\office16 (or program files (x86), whatever’s relevant) type in: cscript ospp.vbs /dstatus this generates a list of all the license keys install on your pc. You want to look at the last line of each paragraph: “Last 5 characters of installed product key: *“ type in: cscript ospp.vbs […]

Match a New AD user to an existing 365 user

To match a new AD user to an existing 365 user. match UPN and smtp Alias 2 install “Microsoft Online Services Sign in Assistant for IT Professionals 3 Open Powershell (Admin): Install-Module -Name AzureAD 4 connect to AD: Connect-MsolService 5 Return the immutable ID: Get-MsolUser -UserPrincipalName john@cesarhara.com | select ImmutableID ::(should look like this qxZB3Nrxi0+OQHswuBLgrg==) […]

Windows 10 update loop

In an elevated CMD type Net stop bit Net stop wuauserv Net stop cryptsvc Rename systemroot\softwaredistribution to softwaredistribution.old And systemroot\system32\catroot2 to catroot2.old Then Net start bit Net start wuauserv Net start cryptsvc And restart pc

Server 2008 R2 BSOD after Bare Metal Restore

After completing the BMR process don’t restart. Select Command Prompt. regedt32<CR> Highlight HKEY_LOCAL_MACHINE, File>Load Hive>[restored volume]:\Windows\System32\Config\SYSTEM>Open>Key Name = Restored_HKLM>OK. Expand Restored_HKLM\ControlSet001\services and ensure the following are set: If restored to a (VMWare) VM then ensure intelide>Start = 0 and LSI_SAS>Start = 0; msahci>Start = 3 and pciide>Start = 3 NB: I have only tested this […]

Migrate Windows DHCP server

A few weeks ago at work, I was tasked with the project of decommissioning one of our older Windows Server 2008 machines and upgrading it to Windows 2012. I was initially a little worried, seeing as this server ran a lot of key roles, such as DHCP, DNS, was a Domain Controller, and also acted […]

Set AD Attributes

You can also view and set these values with PowerShell, provided you have the ActiveDirectory module installed. View: Get-ADUser <username> -Properties extensionattribute1 Set: Set-ADUser <username> -Add @{“extensionattribute1″=”Your Value Here”} Clear: Set-ADUser <username> -Clear extensionattribute1

ospp.vbs

Very handy for Office 2013 installs http://technet.microsoft.com/en-us/library/ee624350.aspx

Large BaditemLimit

When moving mailboxes from Exchange x to Exchange 2010 the bad item limit is set at max of 50, if you have a mailbox that has more bad items than that you can do the move request via the Exchange Management Shell using the below command   New-MoveRequest -Identity ‘Alias goes here’ -BadItemLimit 100 -AcceptLargeDataLoss […]

Ex2010 – Ex2003

During as SBS2003 migration to SBS2011, while decommissioning the source server (SBS2003) before Exchange 2003 can be removed you will have to remove the routing group connector from Exchange 2003 and Exchange 2010. You can use the Exchange System Manager to remove the 2003 to 2010 connector. To remove the connector from the destination server 2010 to 2003 […]