Category Archives: Windows

Outlook Shared Mailbox Deleted Items Issue

When you delete an email from a Exchange/Exchange on-Line shared mailbox, the deleted mail goes to your mailbox Deleted Items folder when it should go into the shared mailbox Deleted Items folder.

To solve the issue you have to add/change the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options\General

Add the DelegateWastebasketStyle DWORD with 4 in the value the restart Outlook.

Items that are deleted from a shared mailbox go to the wrong folder in Outlook

Generate file hash string in Windows 10 command line

Some times you download files from Internet that need to be verified against some hash string.
Windows 10 has a simple command line tool that enables you to generate hash strings for any file: certutil

It’s very simple to use, you only have to change <file> with your file path and <hash alg> with one of the supported Hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

certutil -hashfile

For example:

certutil -hashfile c:\test.data SHA512

Sources:
5 Ways to Generate and Verify MD5 SHA Checksum of Any File in Windows 10

Disable ipv6 privacy addresses in windows 10

Sometimes, mainly in servers, is better to disable ipv6 privacy extensions so that the configured ipv6 address is the only one configured on the firewall rules or the only one that shows up in the logs.

netsh int ipv6 set int Ethernet0 managedaddress=disable
netsh int ipv6 set int Ethernet0 routerdiscovery=disable

After this configuration you will need to configure the ipv6 address and default gateway settings, because the OS will loose them.

To show the newly configured interface issue the fallowing command:

netsh interface ipv6 show int Ethernet0

You will see the following interface parameters disabled:

...
Router Discovery : disabled
Managed Address Configuration : disabled
...

To show global parameters use:

netsh interface ipv6 show global

Global Parameters example:

General Global Parameters
---------------------------------------------
Default Hop Limit : 128 hops
Neighbor Cache Limit : 256 entries per interface
Route Cache Limit : 4096 entries per compartment
Reassembly Limit : 100643488 bytes
ICMP Redirects : enabled
Source Routing Behavior : dontforward
Task Offload : enabled
Dhcp Media Sense : enabled
Media Sense Logging : disabled
MLD Level : all
MLD Version : version3
Multicast Forwarding : disabled
Group Forwarded Fragments : disabled
Randomize Identifiers : enabled
Address Mask Reply : disabled
Minimum Mtu : 1280
Flow Label : enabled

Current Global Statistics
---------------------------------------------
Number of Compartments : 1
Number of NL clients : 5
Number of FL providers : 5

For more information:

Desativar/ativar túneis Teredo, 6to4 e ISATAP no windows 10

Para desativar os túneis Teredo, 6to4 e ISATAP em Windows 10 deve abrir uma linha de comando com permissões de admin e executar o comando:

netsh int teredo set state disabled
netsh int 6to4 set state disabled
netsh int isatap set state disabled

Para os ativar novamente deve abrir uma linha de comando com permissões de admin e executar o comando:

netsh int teredo set state default
netsh int 6to4 set state default
netsh int isatap set state default

Fontes:

  • https://lonesysadmin.net/2011/04/25/how-to-disable-teredo-ipv6-tunneling-in-microsoft-windows/
  • http://www.blackmanticore.com/da025459d052b5d9a2b37f91067db8b3
  • http://winteladmin.com/disable-tunnelisatap-adapter/

Windows 7 SP1 Cleanup

Has you know, Windows 7 SP1 is out there for a long time. Maybe what you don’t know is that after installation there’s a lot of junk files that can be deleted with the following command:

[cc lang=”dos” width=”100%”]
DISM.exe /online /Cleanup-Image /spsuperseded
[/cc]