Windows firewall disable/enable/show commands

1. To show firewall state for all profiles in win 7

netsh advfirewall show allprofiles

2. To disable firewall  for all profiles in win 7

netsh advfirewall set allprofiles state off

3.  To enable firewall  for all profiles in win 7

netsh advfirewall set allprofiles state on

 

 

4. for help use netsh /?

5. For windows xp use netsh firewall instead advfirewall

 

Posted in WINDOWS | Leave a comment

DHCP Scope Script for voice vlan

DHCP Scope Script for voice vlan_updated

Posted in WINDOWS | Leave a comment

A Simple Hard Disk Partitions Overview

A Simple Hard Disk Partitions Overview

Posted in Linux | Leave a comment

Some Windows CLI Commands

How to see members of of local group from CLI in windows?

net localgroup “power users”
You must include the quotation marks.

To list members of the Users group, type:
net localgroup users

To list members of the Administrators group, type:
net localgroup administrators

How to see memory/RAM specification from CMD

WMIC MEMORYCHIP

 

Posted in WINDOWS | Leave a comment

Active Directory Domain Policies (Edited)

This policies actually take all client host at unique platform.

Objective

1. Adminstrator password will be changed

2. No local user or domain user will be member of Local Administrator Group but some domain group will be member of  Local Administrator Group

3. Each domain user will be member of power user of each domain PC

4. Remote Dekstop will be enable.

5. At last after succesfull operation a report will be generated and copied to a location

**************************************************************************

Procedure

https://ndurjoy3002.files.wordpress.com/2012/07/information-gathering.doc

Policies

https://ndurjoy3002.files.wordpress.com/2012/07/remotedekstop.pdf
https://ndurjoy3002.files.wordpress.com/2012/07/restrictgrp.pdf
https://ndurjoy3002.files.wordpress.com/2012/07/startupscript.pdf
https://ndurjoy3002.files.wordpress.com/2012/07/win7.pdf

Script

script

Posted in WINDOWS | 1 Comment

Windows WMIC Commands

1.To get computer serial number

wmic bios get serialnumber

2. To get computer model

wmic csproduct get name

Posted in WINDOWS | Leave a comment

How to make mirror copy of entire logical volume (/dev/sdaX) in linux

1. create ma partition by using disk utility or command prompt (i.e /dev/sda10)

2. Do no mount this as it will take more time to copy.

3.

dd if=/dev/sda9 of=/dev/sda10
Posted in Linux | Leave a comment