RSS

Men’s Dress Code

Source: http://islamqa.info

Men’s dress code


In Qur’an, it has clearly mentioned, how Women should be dressed at any country or environment whether in a Islamic country or Non-Islamic country. I want to know, how should Men be dressed at any country or environment whether in a Islamic country or in a Non-Islamic country?.

Praise be to Allaah.  There follows a summary of the rulings on dress for men. We ask Allaah to make it sufficient and beneficial.

1.     The basic principle concerning everything that is worn is that it is halaal and permissible, except for that concerning which there is a text to state that it is haraam, such as silk for males, because the Prophet (peace and blessings of Allaah be upon him) said: “These two [gold and silk] are forbidden for the males of my ummah and permissible for the females.” Narrated by Ibn Maajah, 3640; classed as saheeh by al-Albaani in Saheeh Ibn Maajah. Similarly it is not permissible to wear the skin of a dead animal (one that has died of natural causes) unless it has been tanned. With regard to wearing clothes made of wool, goat hair and camel hair, these are pure and permissible. For more information on the use of the skin of dead animals after tanning, please see question no. 1695 and 9022.

2.     It is not permissible to wear thin or see-through clothing that does not conceal the ‘awrah.

3.     It is haraam to imitate the mushrikeen and kuffaar in their manner of dress, so it is not permissible to wear clothing that is unique to the kuffaar.

It was narrated that ‘Abd-Allaah ibn ‘Amr ibn al-‘Aas said: The Messenger of Allaah (peace and blessings of Allaah be upon him) saw ‘Ali wearing two garments dyed with safflower and said: “These are garments of the kuffaar; do not wear them.”

Narrated by Muslim, 2077.

4.     It is haraam for women to imitate men and men to imitate women in the way they dress, because the Prophet (peace and blessings of Allaah be upon him) cursed the men who imitate women and the women who imitate men.” Narrated by al-Bukhaari, 5546.

5.     It is Sunnah for a Muslim to start with the right when dressing, and to say, Bismillaah (In the name of Allaah), and to start with the left when taking  clothes off.

It was narrated that Abu Hurayrah said: The Messenger of Allaah (peace and blessings of Allaah be upon him) said: “When you get dressed and when you do wudoo’, start on the right.” Narrated by Abu Dawood, 4141; classed as saheeh by al-Albaani in Saheeh al-Jaami’, 787.

6.     It is Sunnah for the one who is putting on a new garment to thank Allaah and make du’aa’.

It was narrated that Abu Sa’eed said: When the Messenger of Allaah (peace and blessings of Allaah be upon him) put on a new garment, he would call it by its name, whether it was a turban, a shirt or a cloak, then he would say: “Allaahumma laka al-hamd anta kasawtanihi as’aluka khayrahu wa khayri ma suni’a lah wa a’oodhu bika min sharrihi wa sharri ma suni’a lah (O Allaah, to You be all praise. You have clothed me with it. I ask You for the good of it and the good for which it was made, and I seek refuge with You from the evil of it and the evil for which it was made).”

Narrated by al-Tirmidhi, 1767; Abu Dawood, 4020; classed as saheeh by al-Albaani in Saheeh al-Jaami’, 4664.

7.     It is Sunnah to pay attention to keeping one’s clothes clean, without feeling arrogant or exaggerating about that.

It was narrated from ‘Abd-Allaah ibn Mas’ood that the Prophet (peace and blessings of Allaah be upon him) said: “No one will enter Paradise in whose heart is a mustard-seed of arrogance.” A man said: “What if a man likes his clothes to look nice and his shoes to look nice?” He said: “Allaah is Beautiful and loves beauty; arrogance means rejecting the truth and looking down on people.”

Narrated by Muslim, 91.

8.     It is mustahabb to wear white clothes

It was narrated that Ibn ‘Abbaas said: The Messenger of Allaah (peace and blessings of Allaah be upon him) said: “Wear white clothes, for they are the best of your clothes, and shroud your dead in them.”

Narrated by al-Tirmidhi, 994, hasan saheeh. This is what the scholars regarded as mustahabb. Also narrated by Abu Dawood, 4061; Ibn Maajah, 1472.

9.     It is haraam for the Muslim man to let any garment he wears hang down beneath his ankles (an action known as isbaal); the limit for any garment is the ankles.

It was narrated from Abu Hurayrah (may Allaah be pleased with him) that the Prophet (peace and blessings of Allaah be upon him) said; “Whatever of the lower garment is beneath the ankles is in the Fire.”

Narrated by al-Bukhaari, 5450.

It was narrated from Abu Dharr that the Prophet (peace and blessings of Allaah be upon him) said: “There are three to whom Allaah will not speak on the Day of Resurrection and will not look at them or praise them, and theirs will be a painful torment.” The Messenger of Allaah (peace and blessings of Allaah be upon him) repeated it three times. Abu Dharr said: “May they be doomed and lost; who are they, O Messenger of Allaah?” He said: “The one who lets his garment hang beneath his ankles, the one who reminds others of favours he has done, and the one who sells his product by means of false oaths.”

Narrated by Muslim, 106.

10. It is haraam to wear garments of fame and vanity, which means a garment that stands out from others so that people will look at the wearer and he will become known for it.

It was narrated that Ibn ‘Umar said: The Prophet (peace and blessings of Allaah be upon him) said: “Whoever wears a garment of fame and vanity, Allaah will dress him in a garment like it on the Day of Resurrection.”

According to another version, “…then set it ablaze.” And according to a third version, “will dress him in a garment of humiliation.”

Narrated by Abu Dawood, 4029; Ibn Maajah, 3606 and 3607; classed as hasan by Shaykh al-Albaani in Saheeh al-Targheeb, 2089.

The brother may also refer to the section on Dress in this website, where there is more information.

And Allaah knows best.

 
Leave a comment

Posted by on March 22, 2015 in Uncategorized

 

Client may face the frequent crashes of SearchProtocolHost.exe

Issue:

In certain situations end-users may experience repeated crashes of SearchProtocolHost.exe following the installation of Microsoft Office 2010 Service Pack 1.  In addition it may also be experienced if users are running the Microsoft Outlook 2010 Cumulative Updated released on July 11th (available at http://support.microsoft.com/kb/2544027)

Error:

SearchProtocolHost

Cause
A change has occurred in the way that Microsoft Outlook loads the MSPST32.DLL (which is the PST Provider).  This has had an unexpected side effect with the Enterprise Vault Outlook Addin.

Solution:

SearchProtocolHost-Path

Need to add an entry at the end of Variable path:

C:\Program Files (x86)\Microsoft Office\Office14, if using 32 bit Microsoft Office, or

C:\Program Files\Microsoft Office\Office14, if using 64 bit Microsoft Office.

Then restart the machine to see the change.

Done.

 
Leave a comment

Posted by on September 28, 2014 in Uncategorized

 

Powershell Tips & Tricks

1. http://ss64.com/ps/ad.html

2. http://www.computerperformance.co.uk/powershell/

3. http://blogs.technet.com/b/askds/archive/2010/02/04/inventorying-computers-with-ad-powershell.aspx

4. http://blogs.technet.com/b/heyscriptingguy/

5. http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx

6. http://poshcode.org

7. http://gallery.technet.microsoft.com/scriptcenter

 

8. AD Account

http://gregcaporale.wordpress.com/2012/05/24/using-powershell-to-query-active-directory/

http://www.networkworld.com/community/node/42303 (Important)

http://cyrusbesharat.wordpress.com/2013/03/18/adding-user-accounts-in-active-directory-of-windows-server-2012/

http://www.deliveron.com/blog/post/Query-for-User-Accounts-in-Active-Directory-with-PowerShell.aspx

 
 

Active Directory & DNS Trouble Shooting

Active Directory Backup & Restore :
——————————————————————-

1. Active Directory Snapshots with Windows Server 2008

https://www.simple-talk.com/sysadmin/general/active-directory-snapshots-with-windows-server-2008/

2. http://www.trainsignal.com/blog/backup-and-restore-active-directory-on-windows-server-2008

 
Leave a comment

Posted by on May 29, 2013 in Information Technology

 

Remote Computer requires Network Level Authentication

The Remote Desktop connection settings for Windows Server 2008, and I believe Windows Vista, includes 3 levels of service:

  • Don’t allow connections to this computer
  • Allow connections from computers running any version of Remote Desktop (less secure)
  • Allow connections only from computers running Remote Desktop with Network Level Authentication (more secure)

windows_server_2008_remote_desktop_properties

At first blush, you would probably choose the “more secure” option. Practically, this mainly means that it only allows connections from the latest Remote Desktop software in Windows Vista. It is probably another attempt by Microsoft to force consumers and businesses into upgrading to Windows Vista. But… I digress.

When connecting with an older Terminal Services (TS) client in XP or even Vista, you will get this message:

“Remote computer requires Network Level Authentication, which your computer doesn’t support”

the-remote-computer-requires-network-level-authentication11

Not all is lost. There are two ways around this. The first and most obvious solution is to select the less secure option and disabled Network Level Authentication (NLA). If you are in an environment that does not allow this change, or there are some other circumstances where you need to keep Network Level Authentication enabled, you can get a Remote Desktop connection from Windows XP.

The first step is to download the latest Remote Desktop Client for Windows XP. As of the writing of this article, the latest version is 6.1.

For XP SP3: here

For XP SP2: here

That is not it. For XP, you need to enable CredSSP – Credential Security Service Provider.

CredSSP is a new Security Service Provider (SSP) that is available in Windows XP SP3 by using the Security Service Provider Interface (SSPI). CredSSP enables a program to use client-side SSP to delegate user credentials from the client computer to the target server.

Directions on how do do this are available at Microsoft here:

http://support.microsoft.com/kb/951608/

The quick and dirty summary:

  1. Click Start, click Run, type regedit, and then press ENTER.
  2. In the navigation pane, locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  3. In the details pane, right-click Security Packages, and then click Modify.
  4. In the Value data box, type tspkg. Leave any data that is specific to other SSPs, and then click OK.
  5. In the navigation pane, locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders
  6. In the details pane, right-click SecurityProviders, and then click Modify.
  7. In the Value data box, type credssp.dll. Leave any data that is specific to other SSPs, and then click OK.
  8. Exit Registry Editor.
  9. Restart the computer.

==============================================================================

Configure Network Level Authentication for Remote Desktop Services Connections

Network Level Authentication is an authentication method that can be used to enhance RD Session Host server security by requiring that the user be authenticated to the RD Session Host server before a session is created.

Network Level Authentication completes user authentication before you establish a remote desktop connection and the logon screen appears. This is a more secure authentication method that can help protect the remote computer from malicious users and malicious software. The advantages of Network Level Authentication are:

  • It requires fewer remote computer resources initially. The remote computer uses a limited number of resources before authenticating the user, rather than starting a full remote desktop connection as in previous versions.
  • It can help provide better security by reducing the risk of denial-of-service attacks.

To use Network Level Authentication, you must meet the following requirements:

  • The client computer must be using at least Remote Desktop Connection 6.0.
  • The client computer must be using an operating system, such as Windows 7, Windows Vista, or Windows XP with Service Pack 3, that supports the Credential Security Support Provider (CredSSP) protocol.
  • The RD Session Host server must be running Windows Server 2008 R2 or Windows Server 2008.

Use the following procedure to configure Network Level Authentication for a connection.

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at http://go.microsoft.com/fwlink/?LinkId=83477.

To configure Network Level Authentication for a connection

  1. On the RD Session Host server, open Remote Desktop Session Host Configuration. To open Remote Desktop Session Host Configuration, click Start, point toAdministrative Tools, point to Remote Desktop Services, and then click Remote Desktop Session Host Configuration.
  2. Under Connections, right-click the name of the connection, and then click Properties.
  3. On the General tab, select the Allow connections only from computers running Remote Desktop with Network Level Authentication check box.If the Allow connections only from computers running Remote Desktop with Network Level Authentication check box is selected and is not enabled, the Require user authentication for remote connections by using Network Level Authentication Group Policy setting has been enabled and has been applied to the RD Session Host server.
  4. Click OK.

The Network Level Authentication setting for an RD Session Host server can also be set in the following ways:

  • During the installation of the RD Session Host role service in Server Manager, on the Specify Authentication Method for Remote Desktop Session Host page in theAdd Roles Wizard.
  • On the Remote tab in the System Properties dialog box on an RD Session Host server.If the Allow connections from computers running any version of Remote Desktop (less secure) is not selected and is not enabled, the Require user authentication for remote connections by using Network Level Authentication Group Policy setting has been enabled and has been applied to the RD Session Host server.To configure the Network Level Authentication setting by using the Remote tab in the System Properties dialog box on an RD Session Host server, see Change Remote Connection Settings.
  • By applying the Require user authentication for remote connections by using Network Level Authentication Group Policy setting.This Group Policy setting is located in Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Security and can be configured by using either the Local Group Policy Editor or the Group Policy Management Console (GPMC). Note that the Group Policy setting will take precedence over the setting configured in Remote Desktop Session Host Configuration or on the Remote tab.

To determine whether a computer is running a version of Remote Desktop Connection that supports Network Level Authentication, start Remote Desktop Connection, click the icon in the upper-left corner of the Remote Desktop Connection dialog box, and then click About. Look for the phrase Network Level Authentication supported in theAbout Remote Desktop Connection dialog box.

 
Leave a comment

Posted by on February 10, 2013 in Information Technology

 

How to Fix Windows Update Error 800B0001

It can be rather difficult to understand just how to fix Windows Update error 800b0001 because it is one of those errors that do not have a simple and easy to understand solution. This does not mean that you need the help of a specialist to solve this particular error because I have looked at every possible cause and the solutions you can use to solve the error.

The exact error message is:

An error occurred while checking for new updated for your computer. Error found: Code 800B0001 Windows updated encountered an unknown error.

Obviously the error is not unknown, there is a code for it and if you search the Microsoft technical pages you will find that this error means that Windows cannot find the cryptographic service provider or that a Microsoft Update catalog is corrupted. This alone gives you an idea of the files that we are going to repair in order to make this error go away.

Anyone of these solutions may work for you so make sure that you try everyone until you stumble upon the one that will fix error 800b0001 for you. The one thing I can guarantee you is that this is the complete list of solutions so, inevitably, one will solve the problem for you.

So here is the complete list of solutions for Windows Update error 800B0001

Update:

An easy way to fix this error is to use this tool (click here) to scan your computer and automatically fix the error. If this does not work, try the steps outlined below:

1. Re-register the .dll files that handle the update process

A .dll file is a something that tells Windows just how to run some of the automated processes behind almost anything that you can do on a computer. Obviously, as a regular user there is no need for you to know just how to work these files but here are the simple 3 steps you need to go through in order to solve the windows update error 800b0001.

  • Go to Start and click on the Run button. If you don’t have it there you can use the search feature and type Run and hit Enter.
  • In the Run window type cmd
  • Depending on your version of Windows write the following commands and hit enter after each one.

REGSVR32 SOFTPUB.DLL                   (for XP, Vista & Win7)

REGSVR32 MSSIP32.DLL                    (for XP, Vista & Win7)

REGSVR32 WINTRUST.DLL                (for XP, Vista & Win7)

REGSVR32 INITPKI.DLL                       (for XP & Vista)

2. Manually Install Update KB 2720211

This particular update usually comes pre-installed on most Windows versions but sometimes the installation process skips it. So what you need to do is to manually search for KB 2720211 download. Once you find it, download it and install it to your system. It should ask for a reboot but if it does not make sure that you reboot anyway and check if you are still getting the 0x800b0001 message.

3. Reinitialize the Download Folders

This may sound like something fancy but in actuality Windows needs to download every update just like you download the installation kit for you Yahoo messenger. And sometimes those folders get so filled with data that errors turn up. And you can reset those folders by following these steps:

  • Open a Notepad file by writing notepad in the search option in the Start menu
  • Write the following code

net stop wuauserv net stop CryptSvc ren %windir%\system32\catroot2 catroot2.old ren %windir%\SoftwareDistribution sold.old net start CryptSvc net start wuauserv pause

  • Save the file to your Desktop with the file name rename.bat.
  • Right click on the file on your Desktop and select Run as administrator.
  • Restart your computer and see if the problem has been resolved.

4. Use the System Update Readiness Tool

If nothing has worked so far you can also try using the Windows automatic repair tool by going to their website and searching for the System Update Readiness Tool. You will have to enter your version of Windows and they will give you a program to install and run. In nothing else has worked than you have essentially eliminated every other possible cause for error and with this program you should be able to get passed the Windows Update error 800B0001.

 

How to run System Readiness Tool:

  • Swipe in from the right edge of the screen, and then tap Search. (If you’re using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search.)
  • Type command prompt in the search box.
  • In the list of results, swipe down on or right-click Command Prompt, and then tap or click Run as administrator.
  • In the Administrator: Command Prompt window, type the following commands exactly as they appear. Press the Enter key after each command:
    • DISM.exe /Online /Cleanup-image /Scanhealth
    • DISM.exe /Online /Cleanup-image /Restorehealth
  • To close the Administrator: Command prompt window, type Exit, and then press Enter.
  • Run Windows Update again.
 
Leave a comment

Posted by on February 5, 2013 in Information Technology

 
Aside

Error:  ‘Multiple connections to a server or shared resource by the same user’

Today I was trying to map a network drive on my computer. I right-clicked the folder and selected Map Network Drive. After selecting the drive letter I wanted, I clicked OK and got the following error message.

The mapped network drive could not be created because the following error has occurred:

Multiple connections to a server or shared resource by the same user, using more than one user name are not allowed. Disconnect all previous connections to the server or shared resource and try again.

Mapped drive error

Clicking OK yielded another error.

The network folder specified is currently mapped using a different user name and password. To connect using a different user name and password, first disconnect any existing mappings to this network share.

Hmm. I didn’t think I had any mapped drives. I checked My Computer. Nope, no mapped drives there. I then went to Start > Run and typed net use. I had a mapping showing there, but it wasn’t assigned a drive letter. I had to delete the resource using the command net use /delete \\servername\foldername

I tried to map the drive, and it worked! Amazing how you still need DOS to figure things out easily sometimes.

‘Multiple connections to a server or shared resource by the same user’

 
Leave a comment

Posted by on February 4, 2013 in Uncategorized

 
 
Follow

Get every new post delivered to your Inbox.