Wednesday, June 6, 2018

Remove Printer Driver on Windows 10

 To completely uninstall driver after printer has been removed and deleted:

run this command using windows + R

printui /s /t2

this will bring up a list of installed drivers.

Select the one which need to be removed and delete it.

Tuesday, May 22, 2018

office 2016 remove repeated activation

 this fix is for VLC activation:

Close the activation window and all Office apps.

Open regedit (using run or type it at the start menu)

It is always very important to make backup of registry or the registry key you are changing or deleting first.(use export under file menu)

navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Common\OEM

Edit>Delete.

Do the same with this key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\OEM

Close the Registry Editor and start Office again.

 

resources:

https://support.office.com/en-us/article/Office-repeatedly-prompts-you-to-activate-on-a-new-PC-a9a6b05f-f6ce-4d1f-8d49-eb5007b64ba1

 

Exchange 2016 user mailbox export

using exchange powershell command:

New-MailboxExportRequest -Mailbox UserName -FilePath “\\server\export\username.pst”

Thursday, May 17, 2018

windows 10 system recovery drive remove drive letter

 From elevated command prompt:

diskpart

list volume

In my case the drive letter for the system partition was D

select volume D

remove letter=D

Close Command Prompt and restart your PC

Thursday, April 5, 2018

Wired 802.1x authentication with MS RADIUS server and Meraki switch

 Group policy:

 

NPS configuration:

  1. add all switches under RADIUS clients

    You will have to use the same shared secret on switch RADIUS authentication
  2. Create new (or edit existing) Connection Request Policy
    Use all default only add condition NAS Port Type “Ethernet”
  3. Create new Network Policy:



    * under NAS Port Type select ETHERNET

  4. On the Meraki switch access control configure new policy:
  5. Assign the policy to individual ports:

Thursday, March 15, 2018

Firefox 59 disable hardware acceleration

 For some reason Firefox 59 on windows 10 (1709) under parallels started to misbehave and displayed address bar text and background all black.

On some pages the page was inverted with blocks of black and some flickering was noticeable as well.

After some frustration and lots of trial and error I disabled hardware acceleration when available option under Firefox preferences which did the trick.


Wednesday, February 21, 2018

Windows server service will not stop

 Force quit windows service which failed to stop using service.msc

  1. find service name using service.msc / properties
  2. using command prompt enter sc queryex [servicename] (and note PID number)
  3. enter taskkill /pid [pid number] /f

Wednesday, February 14, 2018

Windows 10 gray-scale

Windows 10 has option to display everything in gray-scale.

It can be switched on and off by keyboard combination of CTRL + WIN + C key

It is possible to activate it accidentally if you have keyboard with CTRL and Windows key right next to each other since CRTL + C is to copy.

Hope this helps someone else who ends up in the gray-scale world of windows 10.

Friday, December 1, 2017

Outlook 2016 to Exchange 2016 mapi connection problems.

 During my exchange 2010 to exchange 2016 migration I run in to outlook connectivity problem which made it impossible to connect.

There are hundreds of similar issues on google unfortunately none of them solved the problem until I found two solutions on separate blogs and combined them and here is my final fix:

  1. Set-MapiVirtualDirectory -identity “exchange2016\mapi (Default Web site)” -IISAuthenticationMethods NTLM
  2. this requires editing Autodiscover and EWS virtual directory using IIS server interface on the exchange 2016 server.
    Remove negotiate provider from Windows Authentication.

 

References:

  1. this is the first blog thanks to which I was able to get outlook 2016 working unfortunately only with exchange cached mode disable.
  2. this is the send blog (last post have the solution) which helped me to get outlook 2016 working on the local LAN and behind the firewall as well as with or without using exchange cached mode.
  3. In addition you need to have MAPI enabled on the exchange 2016 server which is the default but just in case here is the MS link with instructions.

Thursday, October 19, 2017

change pwdLastSet to reset user password last set in AD

 what worked for me was to change it to 0 first and then change it to -1

If set to 0 it will force user to change password on next login. (If user doesn’t have flag set to Don’t Expire Password)

If set to -1 the password change date will be set to current date and time.

 

reference:

http://ldapwiki.com/wiki/Pwd-Last-Set%20attribute

Tuesday, October 10, 2017

exchange 2010 remove users emails before specific date

If user has a lot of emails which they need to delete here is a command which can help at the server end:

 

Search-Mailbox -Identity “User Name” -SearchQuery “Received:<$(’12/31/2013′)” -DeleteContent

 

ref: https://social.technet.microsoft.com/Forums/exchange/en-US/6114adb8-7e65-46e0-b54f-704ad15ef723/command-to-delete-all-the-items-from-a-mailbox-till-a-specific-date?forum=exchange2010

How to Fix ADSelfService Plus SSL Path Errors (GoDaddy P7B Guide)

If you manage ManageEngine ADSelfService Plus on Windows Server 2022 and rely on GoDaddy for your SSL certificates, you have likely run ...