Restore master database from a current backup

Master database records important information of whole SQL Server system.  So you need to know some important things below before you restore the database :

Note : Any database users previously associated with logins that need to be re-created are orphaned because the login is lost. To associate an existing database user to a new SQL Server login, please use sp_addlogin in Query Analyzer or Management Studio. To associate an existing database user with a Windows system user, please use sp_grantlogin .

To restore master database :