Tuesday, August 30, 2011

DHCP Server Classes

 Now we will explain how to define dhcp user class id and how to configure dhcp class string on client computers and to make a dhcp scoope to apply it to the new class. so no more worries about portable devices that can join your network and their ability to access the internet like the computers that belong to your network

Define a User Class ID:
  1. Start DHCP Manager.
  2. In console tree, click the DHCP server Name.
  3. Right-click the server, and then click Define User Classes to create a new user class, or click Define Vendor Classes to create a new vendor class. 
  4. Click Add. 
  5.  In the New Class dialog box, type a name for the new option in the Display name box. You may also add additional information to the Description box.
  6. Type in the data to be used by the DHCP Server service for matching the class ID provided by DHCP clients under ID or ASCII. To enter the data as hexadecimal byte numeric values, click the left side of the text box. To enter data as American Standard Code for Information Interchange (ASCII) text character values, click the right side of the text box.
  7. Click OK, and then click Close.
Configure New DHCPScope For the New Class ID
  1. In DHCP Manager, double-click the appropriate DHCP scope.
  2. Right-click Scope Options and then click Configure Options.
  3. Click Advanced.
  4. Click to select the check box or boxes next to the features you want to use with the new vendor or user class.
  5. Click OK.
Set the Specified DHCP Class ID String for Client Computers

Client computers that connect to a Windows 2000-based DHCPserver can use the following command to set the specified DHCP class ID string:

ipconfig /setclassidadapter_name class_id

For example, to configure an adapter called "Local AreaConnection" with a user class ID called "myuserclass", type ipconfig /setclassid "Local AreaConnection" myuserclass at a command prompt, and then press ENTER.

Note: You can make the client class configuration in a batch file to run it without need to Run CMD to configure it.

Disable USB Mass Storage

Stop USB Memory Sticks with one click

Always the way to disable and enable access to usb port for mass storage devices like memory sticks in windows 7 is to edit registry. This means many steps and many mistakes. but today i will give you shortcut to do this in one click :D with my smart batch file. All what you need to do is to download this file and inside you will find two files: one you run it to Enable USB and the other to Disable USB and that's it.

Note: After you run any of those two files, DON'T FORGET TO RESTART THE PC!

To Download the Files Click HERE

Flash SWF in Blogger

Today i will explain How to Insert and to embed Flash SWF File in Your Blogspot Post. There is a code you need to add in your post (HTML) to run it.

Using Flash in Blogger

So Our Code is like this:

<object width="256" height="256">
<param name="movie" value="Your SWF file Name Here">
<embed src="Your SWF File URL Here" width="256" height="256">

Blogger HTML Post

Lets Say that

Your File Name is: Flash.swf and its uploaded on URL : www.uploadedfile.com\flash.swf

so the code should look like below now :

<object width="256" height="256">
<param name="movie" value="Flash.swf">
<embed src="www.uploadedfile.com\flash.swf" width="256" height="256">


Note: You can adjust the width and the height as you want to match your blog dimension

Related Topic: Download Embedded SWF Files Using Firefox