Office 365 exchange routing methods

follow the link below to understand how to route mails from office 365 to other mail server like smarthost etc. using CONNECTORS

https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/use-connectors-to-configure-mail-flow/set-up-connectors-to-route-mail

 

Advertisements

How to repair Exchange 2010 database edb file

Exchange 2010 unmount database repair procedure:

https://www.nucleustechnologies.com/how-to/resolve-exchange-error-unable-to-mount-database.html?utm_source=sw&utm_campaign=exchangemount&utm_medium=f

Command to soft repair the Exchange EDB (database file)
# eseutil /mh   .\exchange1.edb

Command to hard repair edb file
# eseutil /m /l /d  .\exchange1.edb

full content of above site:

Resolve Exchange 2010 Error Unable to Mount Database

To deal with this Exchange 2010 issue: unable to mount the database, it is important to first understand the role of Transaction logs.

A transaction log is the life-and-blood for an Exchange Server, helping it retain smooth functioning on the server. Each and every transaction made to the server is being written in these log files, which are then committed to the database. Until the transaction is not saved in the database, it remains the system memory and the transaction logs.

If any crash occurs during this event, then you lose the content from the memory during the reboot, because it was not completely saved on to the exchange database files. This is why, transaction logs are the robust recovery mechanism to safely restore the data to an Exchange database in a consistent state.

This below mentioned error message is displayed in Exchange 2010, when you are unable to mount a database from a backup:

Error Message:
Exchange is unable to mount the database that you specified. Specified database: d1cdba46-6f79-46f2- ba14-3ae2fa8aad43; Error code: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005,ec=-2147467259)
CAUSE OF THE ERROR:

 

Microsoft has provided Eseutil utility to verify whether or not the database is in clean shutdown state. If isn’t in a clean shutdown state, then this inbuilt utility may help you to fix up the issues and bring the database into consistency. And if the data is in consistent state, then using the below mentioned resolution, you can restore the data successfully from the backup.

 

RESOLUTION

Removal of log file is one of the common reasons, due to which the database may fail to mount. To resolve the issues, it is important to first perform a consistency check.

 

Verify and Repair Inconsistent Database Using Soft Repair

Eseutil tool can be of great help in performing soft recovery. This method is useful to re-mount database after an abrupt stop.

The user will now be able to mount the database successfully. However, if not then verify the consistency of transaction logs.

Verify and Repair Database Logs Using Hard Repair

Eseutil tool is even helpful in performing hard repair recovery to test the database for any damaged pages. If there are any, then the tool will delete them. This recovery method uses Restore mode (/c) in Eseutil tool to mount a database from online backup.

However, if you are still unable to mount the database, then try using a reliable third-party Exchange Server Recovery tool to efficiently restore data in any condition of damage – even where Eseutil tool fails to deliver the desired result. Kernel for Exchange Server is an advanced recovery tool to repair corrupt Exchange database files, without requiring log files or Exchange services. EDB to PST converter tool even allows you to restore EDB files directly to live Exchange Server and to Office 365 mailbox.

 

 

Ransomware Tools

following sites have useful information and removal tools for ransomware infection

http://nomoreransom.org

http://virustotal.com

few tips to prevent ransomware:
– Disable Windows Script Host 

Numerous spam campaigns are pushing various crypto-ransomware families (and backdoors) via .zip file attachments. And such .zip files typically contain a JScript (.js/.jse) file that, if clicked, will be run via Windows Script Host.

Do yourself a favor and edit your Windows Registry to disable WSH.

Here’s the key (folder).

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings

Create a new DWORD value named “Enabled” and set the value data to “0”.

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings

And then, if you click on a .js file, you’ll see this.

Windows Script Host access is disabled on this machine. Contact your administrator for details.

Which is way better than seeing an extortion note.


PREVENT EXECUTION IN FOLLOWING FOLDERS:

%appdata% and %Localappdata%


ENFORCE UAC to prevent Malware execution

use APPBLOCKER to allow only predefined program execution.

 set Open with for “javascript” “windows script” “powershell script” files using “NOTEPAD” so that they will be opened automatically only by notepad and it will not be executed.

Enable “Display File Extension” in windows file browser so that malwares which will have .exe extensions hidden in the disguise of malware.pdf  will be displayed as “malware.pdf.exe”


How to Protect both “Client system folders” and “server shared folders” using Kaspersky Endpoint Protection. ( Excellent and useful video – 7 minutes)

 

How to configure Kaspersky to prevent Ransomware infection in managed computers

https://support.kaspersky.com/10905#block6

 

 

How to Make a Bootable macOS Sierra USB Install Drive

How to Make a Bootable macOS Sierra USB Install Drive

If you want to do a clean install of macOS Sierra, or you have multiple Macs to install it on, then a bootable flash drive for is your best bet for easy installation. Here’s how to make one.

The Easy Option: Disk Creator

The easiest way to create a USB flash installer is with the free program, Disk Creator.

  1. Download the macOS Sierra installer and Disk Creator.
  2. Insert an 8GB (or larger) flash drive. If you have any other data on that flash drive, back it up now, because the installer will delete everything on it.
  3. Open Disc Creator and click the “Select the OS X Installer” button.
  4. Find the Sierra installer file. This is should be located in your Applications folder.
  5. Select your flash drive from the drop-down menu.
  6. Click “Create Installer.”

When it’s done, insert your USB drive into any Mac, then launch the installer by holding down the Option key when you boot up your computer.

The DIY Option: Terminal

If you don’t want to download an extra bit of software, you can make your own installer USB drive using Terminal.

  1. Download the macOS Sierra installer.
  2. Insert an 8GB (or larger) flash drive and give it a name. For this tutorial, we’ll use the name Untitled. Make sure the drive is formatted for OS X Extended (Journaled). If it isn’t, open up Disk Utility and format is so it is. Before you do so, back up any important data on that drive. It’s best to disconnect any other external hard drives or flash drives so you don’t mix them up.
  3. Open up Terminal (Applications > Utilities).
  4. Type (or copy and paste) this command into Terminal, replacing Untitledwith the name of your drive, then press Enter:sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction &&say Done
  5. Type in your password when prompted and press Enter.
  6. Let the command line do its work and don’t interrupt it until you see the final line that says Done. This can take a while, so be patient.

When it’s done, insert your USB drive into any Mac, then launch the installer by holding down the Option key when you boot up your computer.

Windows 8 Clean Install Upgrade pack activation method

while activating windows in case you encounter any error, follow the steps below to correct it

1. Run the registry editor (regedit)

2. Find the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OOBE
3. Change the value for ‘MediaBootInstall’ from 1 to 0
4. Open an elevated command prompt (run as admin)
5. Run the following command: slmgr -rearm
6. Reboot

CMD

slmgr / ipk  <Product Key>

Win 8 Clean install Upgrade Pack Activation.jpg