http://knowledgewithoutlimitation.blogspot.com 2015-01-11 ~ Ilmu Tanpa Sempadan

Open Source, Delay Tolerant Network, Internet of Things

The Most Popular Traffic Exchange
EasyHits4U.com - Your Free Traffic Exchange - 1:1 Exchange Ratio, FREE Advertising!

Share Your Web Link Here

Saturday, January 17, 2015

Launch Windows Admin Tools from the Command Line

You can access admin tools in Windows consoles instead of from the Start menu. But you can also open these console from the command line if you know their .msc filenames. This can be especially useful if you log on to your admin workstation using a limited privilege account and use Runas command to perform admin tasks.

Windows Admin Tools CMD


First we need to execute windows cmd, this is the shorcuts:

For normal prompt, follow these steps:

------------------------------------------------------------------------
WinKey+R
Input "cmd".
Enter
.
For elevated (administrator) prompt, follow these steps:

WinKey (Start Menu opens on the left-bottom corner)
Input "cmd".
Ctrl+Shift+Enter
------------------------------------------------------------------------

For reference, here's a list of admin tools with their associated .msc files. You can print this out and tape it on the wall beside your workstation until you memorize the ones you use most commonly.

AD Domains and Trusts
 domain.msc

Active Directory Management
 admgmt.msc

AD Sites and Serrvices
 dssite.msc

AD Users and COmputers
 dsa.msc

ADSI Edit
 adsiedit.msc

Authorization manager
 azman.msc

Certification Authority Management
 certsrv.msc

Certificate Templates
 certtmpl.msc

Cluster Administrator
 cluadmin.exe

Computer Management
 compmgmt.msc

Component Services
 comexp.msc

Configure Your Server
 cys.exe

Device Manager
 devmgmt.msc

DHCP Managment
 dhcpmgmt.msc

Disk Defragmenter
 dfrg.msc

Disk Manager
 diskmgmt.msc

Distributed File System
 dfsgui.msc

DNS Managment
 dnsmgmt.msc

Event Viewer
 eventvwr.msc

Indexing Service Management
 ciadv.msc

IP Address Manage
 ipaddrmgmt.msc

Licensing Manager
 llsmgr.exe

Local Certificates Management
 certmgr.msc

Local Group Policy Editor
 gpedit.msc

Local Security Settings Manager
 secpol.msc

Local Users and Groups Manager
 lusrmgr.msc

Network Load balancing
 nlbmgr.exe

Performance Montior
 perfmon.msc

PKI Viewer
 pkiview.msc

Public Key Managment
 pkmgmt.msc

QoS Control Management
 acssnap.msc

Remote Desktops
 tsmmc.msc

Remote Storage Administration
 rsadmin.msc

Removable Storage
 ntmsmgr.msc

Removalbe Storage Operator Requests
 ntmsoprq.msc

Routing and Remote Access Manager
 rrasmgmt.msc

Resultant Set of Policy
 rsop.msc

Schema management
 schmmgmt.msc

Services Management
 services.msc

Shared Folders
 fsmgmt.msc

SID Security Migration
 sidwalk.msc

Telephony Management
 tapimgmt.msc

Terminal Server Configuration
 tscc.msc

Terminal Server Licensing
 licmgr.exe

Terminal Server Manager
 tsadmin.exe

UDDI Services Managment
 uddi.msc

Windows Mangement Instumentation
 wmimgmt.msc

WINS Server manager
 winsmgmt.msc

Tutorial Enable USB Port through Regedit in Windows if it is blocked



1. Click Start, and then click Run.
2. In the Open box, type regedit, and then click OK.
3. Locate, and then click the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

4. In the right pane, double-click "Start".
5. In the Value data box, type "3" (without quotes), click Hexadecimal (if it is not already selected), and then click OK. Note :- if 3 is entered it will open the port and if 4 is entered it will close the port.
6. Quit Registry Editor.

6.7 Multiple of Senders and Receivers Test

SMTP servers may reject messages from mail server if there are too many recipients in a single email. This is because the receiving SMTP server may think that the email message is spam because of sending to a large number of users. The number of recipient uses in the same delivery can be set in the mail server configuration menu. The mail server will disconnect from the recipient server when this number has been reached, connect again and continue with the remaining recipients. This test is to ensure this offline email system can it differentiate different senders sending an email at the same time. This test performed by sending an email between two senders to one receiver which is user offlineA and user offlineB to user onlineC, three senders to one receiver which is user offlineA, user offlineB and user onlineD to user onlineC, one sender to two receivers which is user offlineA to user onlineC and user onlineD and one sender to three receivers which is user offlineA to user offlineB, user onlineC and user onlineD.
Expected outcome from this test as per below:
Test 1: User offlineA and user offlineB successfully send email to user onlineC.
Test 2: User offlineA, user offlineB and user onlineD successfully send email to user onlineC.
Test 3: User offlineA successfully send email to user onlineC and user onlineD.
Test 4: User offlineA successfully send email to user offlineB, user onlineC and user onlineD.
Test result for multiple sender and receiver sending and receiving email at the same time through infomediary device with DTN based technique shown in the Table 6.6. Test result is produced by actual conduct test.
Test
Number of sender
Number of receivers
Email delivery result
1
2
1
Send email success
2
3
1
Send email success
3
1
2
Send email success
4
1
3
Send email success

Table 6.6: Multiple sender and receiver test result

Thursday, January 15, 2015

6.6.2 Expected Outcome

6.6.2 Expected Outcome

         This offline email system is expected to allow user uploading any type of data with various extensions as an email attachment except the block attachment for files with extension bat, cmd, com, cpl, csh, exe, inf, lnk, msi, msp, reg, scf and scr.

6.6.3 Test Result

         Types of data tested by uploading a file with various extensions as an email attachment. File type attachment test result shown in the Table 6.5. Test result is produced by actual conduct test.
Test
File Types
Attachment result
1
pdf, txt
Upload attachment success
2
doc, docx, xls, xlsx, ppt and pptx
Upload attachment success
3
zip, rar and 7z
Upload attachment success
4
jpg, png, gif and bmp
Upload attachment success
5
mp4, avi and mpg
Upload attachment success
6
mp3, wma and ogg
Upload attachment success
7
bat, cmd, com, cpl, csh, exe, inf, lnk, msi, msp, reg, scf and scr
Fail to upload attachment

Table 6.35: Testing types of data attachment

6.6 Types of Data Test

6.6  Types of Data Test
6.6.1   Test Design
Email tested sending with file attachment. Any file format with various extensions is supported for attachment. The administrator can block attachments with certain extensions on the mail server. The default setting for block attachments is for files with extension bat, cmd, com, cpl, csh, exe, inf, lnk, msi, msp, reg, scf and scr. These types of file extensions are recommended to be blocked as to prevent any virus attack.

Types of attachment files tested for pdf, txt, office file format such as doc, docx, xls, xlsx, ppt and pptx, compress file format such as zip, rar and 7z, image file format such as jpg, png, gif and bmp, video file format such as mp4, avi and mpg and audio file format such as mp3, wma and ogg.

Tuesday, January 13, 2015

6.5.3 Test Result

Email size content limitation is depending on the hard disk available storage. This offline email system maximum attachment size is 10MB, maximum message size is 50MB and allocated maximum size storage for each email is 250MB. A test result of sending an email with attachment size 1MB, 5MB, 9MB, 10MB, 20MB and two 10MB files shown in the Table 6.4. Test result is produced by actual conduct test. 

Test
Attachment Size
Total message size
Email delivery result
1
1MB
1.4MB
Upload attachment success
Send email success
2
5MB
6.9MB
Upload attachment success
Send email success
3
9MB
12MB
Upload attachment success
Send email success
4
9.97MB
13MB
Upload attachment success
Send email success
5
20MB
-
Fail to upload attachment
6
2 x 9.97MB
27MB
Upload attachment success
Send email success
7
6 x 9.97MB
81MB
Upload attachment success
Fail to send email

Table 6.4: Testing email data size

6.5.2 Expected Outcome


This offline email system expected to allow user uploading an attachment files with the maximum size of 10MB. The email message is expected to be send successfully with limitation of message size is 50MB or below.

6.5 Size of Data Test


This offline email system maximum allowed size of file attachment is 10MB and maximum message size is set to 10MB. Attachment file with size greater than 10MB is unable to be uploaded and if the total size of the message is greater than 10MB, the email will be failing to send. Each email accout in this offline email system allocated size is set to 250MB. This size depends on the server computer storage size. If the email account used up all 250MB quota, the email account will fail to send or receive any email. Different size of data test performed with an attachment size of 1MB, 5MB, 9MB, 10MB, 20MB and two 10MB files.

Sunday, January 11, 2015

Contact

Dear readers,

You may contact us through Google Plus page: plus.google.com/u/0/113590265123372303361

Feel free to leave some comments and enjoy reading my articles.

Thank you for visiting.

DoudouLinux for my kids

DoudouLinux is specially designed for children to make computer use as easy and pleasant as possible for them (and for their parents too! [1]), while taking care of children self-fulfillment. DoudouLinux provides tens of applications that suit children from 2 to 12 years old and gives them an environment as easy to use as a gaming console. Kids can learn, discover and have fun without Dad and Mum always watching!

I am preparing an old laptop for this purpose. The Interface is great, really suit to fulfill my need. My kids will love it.

Reference: http://www.doudoulinux.org/web/english/index.html

6.4.3 Test Result

            Wi-Fi range for outdoors is 95 Meters with data rate transfer 54 Mbps which is 54 megabits per second where when the data size to be transferred is 54MB. One byte is equal to eight bits. This means 54 Mbps which is 54 megabits per second is equal to 6.75 MBps which is 6.75 megabytes per second. The range and speed of the synchronization operation is shown in Figure 6.4. The Wi-Fi range and data rate transfer depends on the wireless access point specifications and the size of data being transferred. The D-Link DWL-2100AP used as a Wi-Fi access point for this offline email system where the effective range is shown in Table 5.1.
            Online server computer storage is Samsung HD754JJ with sequential reads speed is 89.30 MBps and writes speed is 130.3 MBps. Infomediary device storage is Kingston Micro SD with sequential reads speed is 20.04 MBps and writes speed is 2.03 MBps. Offline server computer storage is Western Digital WD5000BEVT with sequential reads speed is 54.42 MBps and writes speed is 28.79 MBps. The read and write speeds of Online server computer storage, informediary device storage and offline server computer result is produced by CrystalDiskMark version 3.0.2. The comparison of transfer rate, read speed and write speed is summarized in Table 6.3.

No
Device
Read Speed
Write Speed
1
Wi-Fi Access Point:
Offline server computer (D-Link DWL-2100AP)
Online server computer (Riger DB 108-WL Wireless ADSL Modem 2/2+)
Outdoors operation transfer rate is 6.75 MBps with effective range 95 meters
2
Online server computer storage (Samsung HD754JJ)
89.30 MBps
130.3 MBps
3
Infomediary device storage (Kingston Micro SD)
20.04 MBps
2.03 MBps
4
Offline server computer storage (Western Digital WD5000BEVT)
54.42 MBps
28.79 MBps
Table 6.3 Transfer rate, read speed and write speed comparisons

            The transfer rate of data during database synchronization is limited by infomediary device storage write speed which is 2.03 MBps. This means that when the size of data to be transferred is 54MB with the transfer rate is 2.03 MBps and range between server computer and infomediary device is 95 meter, the speed of infomediary device movement through the Wi-Fi range of the server computer is:

       (Network range/Size of data) x transfer rate = (95 meter/54 MB) x 2.03 MBps = 3.57 m/s
Equation 6.1 Infomediary device movement speed

            Based on calculation, the maximum recommended speed of infomediary device movement through the Wi-Fi range of the server computer is 3.57 m/s equal to 12.85 km/hr or less. The data synchronization is not completed if the infomediary device movement exceeds this speed. It is also recommended if the infomediary device is staying for about five to ten minutes at the server computer. This will allow for database synchronization to complete successfully.


Range and speed for mail data synchronization

Figure 6.4: Range and speed for mail data synchronization

6.4.2 Expected Outcome

            This test is expected to produced is the maximum recommended speed of infomediary device movement through the Wi-Fi range of the server computer based on identified value of:
i)                    Server computer effective Wi-Fi range for outdoors
ii)                  Size of data sample data

iii)                Transfer rate based on Wi-Fi access point transfer rate, online server computer storage read and write speed, offline server computer storage read and write speed and infomediary device storage read  and write speed.