Monday, June 10, 2013

"Network mapping is disable by default on domain networks..." on Windows 7 or Windows 8

When you want to open the Network Mapping in you personal computer inside of Domains and Public Networks, you receive the error:

"Network mapping is disable by default on domain networks. Your network administrator can use Group Policy to enable mapping"

For fix this error follow the next steps:
  1. On "Windows 7" click "Start", in "Search  programs and files" type "gpedit.msc", then press "Enter" key. On "Windows 8" press "Windows key + R key", type "gpedit.msc", then press "Enter" key.
  2. In "Local Group policy Editor" click to expand "Computer Configuration > Administrative Templates > Network > Link-Layer Topology Discovery".
  3. In "Link Layer Topology Discovery" in the right panel double click to edit "Turn on Mapper I/O (LLTDIO) Driver".
  4. In "Turn on Mapper I/O (LLTDIO) Driver" window, click to check "Enable", in "Options:" click to check "Allow operation while in domain". *** for security and convenience, I don't recomend check "Allow operation while in public network".
  5. Click on "Apply", and click "OK" to close "Turn on Mapper I/O (LLTDIO) Driver" window. 
  6. Repeat from step 3 to 5 on "Turn on Responder (RSPNDR) driver" policy setting.
  7. Finally click to close "Local Group Policy Editor", and restart the machine.
Now you can see all computer in your Network. :-) 

Friday, June 7, 2013

Setup VPN Client in Windows 7 or Windows 8

VPN can be used by users to connect back into their home network or company network through of Router or Firewall.

Now I show you, how you setup the windows 7 or Windows 8 VPN Client.

Follow the below steps:
  1. Right click on "Internet Access
  2. Click on "Open Network and Sharing Center".
  3. In "Network and Sharing center" window, click on "Set up a new connection or network".
  4. In "Set up a Connection or Network" window, click to select "Connect to a workplace", then click Next.
  5. In "Connect to a workplace" window, click "Next" and click on "Use my Internet connection (VPN). e.g (
  6. In "Internet address:" type the external Firewall or Router IP address, and in "Destination name:" type the name of connection. e.g (Contoso_VPN)
  7. Click to check "Remember my credentials", then click on "Create".
The new VPN connection was created. Now we need Set Up this.
  1. In "Network and Sharing Center" window, click on "Change adapter settings".
  2. In "Network Connections" windows, right click on the new VPN connection created and select "Properties".
  3. In "VPN Connection Properties" window, click on "Security" tab and expand "Type of VPN" and select the connection in my case is "PPTP".
  4. Click to check "Allow these protocols" and check "Microsoft CHAP Version 2 (MS_CHAP v2)".
  5. In "VPN Connection Properties" window, click on "Networking" tab, click to uncheck "TCP/IPv6", select "TCP/IPv4" and click on "Properties" tab.
  6. In "Internet Protocol Version 4 (TCP/IPv4) Properties" window, click on "Advance Tab" and click to uncheck "Use default gateway on remote network", then click OK to close all open windows.
Now you are setting your VPN client connection in Windows 7 or Windows 8. Congratulation you can connecting :-)

If you want to know how you can create a WatchGuard Firebox VPN with PPTP, click in the follow Links:

Monday, June 3, 2013

Mailbox Size Report for Exchange Server 2010

Exchange Management Shell, Windows PowerShell, and DOS give us the ability to generate and automating detailed reports. In this recipe, I use these cmdlets to create and automating a report on all of the mailboxes database in the organization unit and send an alert email.

Use the below steps to generate a report of each mailbox in the organization unit,  export this report to a CSV file, and send a report email.

  1. Create a folder in C:\ drive. e.g (C:\demo)
  2. Open "Notepad" an copy the script below.
  3. Save this script in "demo" folder.
  4. Name this file. e.g (mailbox_report.ps1) * Look, the file extension is .ps1
  5. Click to close O/S (C:) window.

* You need change the email address and SMTP Exchange in the script, before you save it.

Now you are ready to run this script manually :)

Process automation

Following the below steps:
  1. Open "Notepad" and type the next command line:
powershell.exe -version 1.0 -command ". 'F:\Program Files\Exchsrv\Bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; C:\demo\mailbox_report.ps1"

     2.  Save this in C:\demo.
     3.  Name this file. e.g (mailbox_automation.bat) * Look, the file extension is .bat
     4.  Click to close O/S (C:) window.

* Maybe you need change the path "F:\Program Files\Exchsrv\Bin\RemoteExchange.ps1", this depend where you can find "RemoteExchange.ps1" script. By default Exchange Server is installed in C: \ drive, and you can find "RemoteExchange.ps1" script in this path "C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1".

     5.  Open "Task Scheduler" window.
     6.  In "Task Scheduler" window, click on "Task Scheduler Library".
     7.  In "Actions" panel click "Create Task".
     8.  In "Create Task" window, on "General" tab type a Name of the task, On "Change User or Group..." click and select an "Administrator" account.
     9.  In "Create Task" window, on "Triggers" Tab click on "New" and define the convenience schedule, then click OK.
   10.  In "Create Task" window, on "Action" tab click on "New" and click on "Browse...", and find where you created "mailbox_automation.bat", in this case (C:\demo\mailbox_automation.bat), then click OK.
   11. Click Ok to close "Task Scheduler" window, type the "User Name:" and "Password" in the Pop Up window and click OK.
   12. Right click on the new Task and click "Run".

END... :)

Thank you for visiting this blog.