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.