Posts

Showing posts from September, 2011

bit for bit copy of usb flash drive free utiltiy

Found this free utility to create a bit by bit copy of a flash drive
http://www.osforensics.com/tools/write-usb-images.html

ImageUSB is a free utility which lets you write an image concurrently to multiple USB Flash Drives. Capable of creating exact bit-level copies of USB Flash Drive (UFDs), ImageUSB is an extremely effective tool for the mass duplication of UFDs. ImageUSB also supports writing of an ISO file byte by byte directly to an USB drive, useful in conversion of bootable CD/DVD iso to a bootable USB drive. ImageUSB can also be used to install OSFClone to a USB Drive for use with PassMark OSForensics™.

Download Link
http://www.osforensics.com/downloads/imageusb.zip

Download link if site is down
http://dl.dropbox.com/u/24077962/imageusb.zip

Shell ipconfig the lazy way Visual Basic 2010

Shell("cmd /c ipconfig /all | findstr ""IPv4 Subnet Gateway"" > c:\support\ipconfig.txt", AppWinStyle.Hide, True)

lblIPConfig.Text = My.Computer.FileSystem.ReadAllText("c:\support\ipconfig.txt")

Managing AD objects

3 Ways to Move AD Objects
1. Open ADUC and drag and drop object
2. Context Menu - right click
3. DSMove - Command line

Example
To move user tunger from the users container to the sales users ou under corp users ou here is the command
dsmove "cn=tunger,cn=users,dc=tonyunger,dc=com" -newparent "ou=sales users,ou=corp users,dc=tonyunger,dc=com"

3 Ways to Delete Objects
1. Highlight object and hit delete button on keyboard
2. context Menu - right click and choose delete
3. DSRM - command line

Delete User:
DSRM "cn=tunger,cn=users,dc=tonyunger,dc=com"
Delete OU:

Remove an ou named sales users and all objects under the ou
DSRM -subtree - nopromp -c "ou=sales users,ou=corp users,dc=tonyunger,dc=com"
To remove all objects under an OU named sales, but leave the ou intact
DSRM - subtree -exclude -noprompt -c "ou=sales users,ou=corp users,dc=tonyunger,dc=com"

Add a user
dsadd user "cn=tunger,cn=users,dc=tonyunger,dc=com" -fn Tony -ln Unger -pwd 1234 -mus…

Shadow Groups

http://trycatch.be/blogs/roggenk/archive/2007/07/18/active-directory-domain-services-fine-grained-password-policies.aspx

A shadow group is a global security group that is logically mapped to an OU to enforce a fine-grained password policy. You add users of the OU as members of the newly created shadow group and then apply the fine-grained password policy to this shadow group. You can create additional shadow groups for other OUs as needed


More information:
http://technet.microsoft.com/en-us/library/cc770394(WS.10).aspx

Active Directory Service command-line tools

High overview

dsadd adding objects.
dsget displaying objects.
dsmod modifying objects.
dsmove moving objects.
dsquery finding objects matching search criteria.
dsrm deleting objects.
From http://www.symantec.com/connect/articles/readyfsmo-roles-active-directory-windows-2008-server

Flexibility Schema Operations Master FSOP

1. Forest Roles

Schema Master - As name suggests, the changes that are made while creation of any object in AD or changes in attributes will be made by single domain controller and then it will be replicated to another domain controllers that are present in your environment. There is no corruption of AD schema if all the domain controllers try to make changes. This is one of the very important roles in FSMO roles infrastructure.
Domain Naming Master - This role is not used very often, only when you add/remove any domain controllers. This role ensures that there is a unique name of domain controllers in environment.
2. Domain Roles

Infrastructure Master - This role checks domain for changes to any objects. If any changes are found then it will replicate to another domain controller.
RID Master - This role is responsible for making sure each security prin…

Lan Wan Speed Test Iperf

Iperf is a tool i use to determine tcp or udf performance on a network.

The following commands are to be ran on the client(machine connecting from) and servers(Machine connecting to)

Client:
iperf.exe -c 192.168.1.51

Server:
iperf.exe -s

Iperf is opensource.

Download links
Linux
http://code.google.com/p/iperf/
http://sourceforge.net/projects/iperf/
Windows
https://nocweboldcst.ucf.edu/files/iperf.exe - old
http://www.mayoxide.com/iperf/ - newer build fork.