Category: OS Windows and Tips Tricks

Partitioning Your Harddisk With Fdisk

For more Visit: www.Deepjeevani.com

Partitioning Your Harddisk With Fdisk

Partitioning involves creating logical units on your hard drive that are then addressed as different drive letters. Not only does it help to organize your data (program files on one drive, games on another, documents on another) but also to speed up your PC. This is so because the drive head has to move a lesser distance for accessing data within one partition. You can also have different file systems and OSs on the same hard drive.

Partitioning can be done using ‘fdisk’ in DOS/Windows 9x or ‘disk management’ in Windows 2000/ NT/XP. We will describe the procedure for fdisk, since disk management is GUI driven and the basics otherwise remain the same. While several other commercial packages like Partition Magic are available, these utilities (fdisk, computer management) are bundled with their respective OSs. You need a bootable floppy with fdisk.exe, format.com, and sys. com utilities. Before starting, decide how many partitions you want to create and their sizes. You can create one primary and one extended partition using the DOS fdisk. The extended partition can then have multiple logical partitions.

Steps:

Boot your machine using the bootable disk, and do the following.

  • Run fdisk. The utility will show you a numbered menu from where you can create, view, or delete partitions.
  • The utility first asks you whether you want to enable large disk support. Type Y (for yes) and press enter if your hard-drive capacity is more than 4 GB. Large disk support creates a FAT32 partition, which can be greater than 2 GB.
  • Select the first option from fdisk menu to create a primary partition.
  • Specify the partition size in megabytes or percentage size when prompted for it similarly, create an extended partition. Extended partitions by themselves do not appear as drive letters. Instead, logical partitions must be created in them, which are then assigned drive letters Exit fdisk and reboot the computer Fdisk automatically assigns drive letters to all the partitions.
  • You’ll need to format each partition in order to use it. Use format.com for the same
  • Your hard drive is now ready for taking an OS.

Hope the information above helpful 🙂 🙂 🙂


How to Restrict Login Hours Allowed?

How to Restrict Login Hours Allowed

Login Hours

 

 

 

 

To restrict a users logon hours , use the net user command. These commands are used from the Command Prompt.

(Start – RUN – and type cmd)

Below are some examples:

1 – net user John /time:M-F,08:00-17:00

2 – net user Peter /time:M-F,8am-5pm

3 – net user Stefan /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00

4 – net user Sean /time:all (this one means this user can always log on)

Note: You can only restrict when a user can log on to the system. On a standalone computer, there is no way to force a user to log off when their hours expire,

without a third party script or software.

Hope this Helps 🙂


Some windows tips to create Shortcuts for shutting down and rebooting your PC!

Create One-click Shutdown And Reboot Shortcuts :-

First, create a shortcut on your desktop by right-clicking on the desktop, choosing New, and then choosing Shortcut. The Create Shortcut Wizard appears. In the box asking for the location of the shortcut, type shutdown. After you create the shortcut, double-clicking on it will shut down your PC.

But you can do much more with a shutdown shortcut than merely shut down your PC. You can add any combination of several switches to do extra duty, like this:

shutdown -r -t 01 -c “Rebooting your PC”

Double-clicking on that shortcut will reboot your PC after a one-second delay and display the message “Rebooting your PC.” The shutdown command includes a variety of switches you can use to customize it. Table 1-3 lists all of them and describes their use.

I use this technique to create two shutdown shortcuts on my desktop—one for turning off my PC, and one for rebooting. Here are the ones I use:

shutdown -s -t 03 -c “Bye Bye mate!”
shutdown -r -t 03 -c “Ill be back mate ;)!”

Switch
What it does

-s
Shuts down the PC.

-l
Logs off the current user.

-t nn
Indicates the duration of delay, in seconds, before performing the action.

-c “messagetext”
Displays a message in the System Shutdown window. A maximum of 127 characters can be used. The message must be enclosed in quotation marks.

-f
Forces any running applications to shut down.

-r
Reboots the PC.

Hope this Helps 🙂


Why windows makes life difficult sometimes?

We know windows is very easy operating system to operate compared to other operating systems due to its Graphical user interface but some times it may make your job worst when you are unable to solve OS issues. Recently I came across the issue with the windows xp activation. This particular problem took my  2 days of time to solve.

At this point I got questions in my mind,

Is windows Buggy……..?

Why windows makes life difficult sometimes……?

The problem was with windows xp activation. On my PC I had installed the trial version of windows xp for some test and went on holidays during the time of activation and when I came back, my windows xp crossed more than 30 days and my trial period got expired. As I was doing some tests, I decided to not to go with the windows xp and decided to install the windows 7. So I went to uninstall the windows xp but my system was not booting using the cd-rom to load the windows 7 setup. The screen always going to windows xp login screen. When I tried entering my password the machine was asking me to activate my windows xp by contacting customer services but I was not at all interested in windows xp as I have the windows 7 and its licenced version. I tried changing the BIOS settings to load using the CD-ROM. I even disabled the HDD boot option but the system still loading in to windows xp.

When my mind reached the status to get help from someone, I thought of looking for answers on internet which could help me to solve the my problem. Thankfully I got some tips from internet and I was able to solve my problem. My concern was to load the new operating system as it was affecting my work and testing. I was not at all concerned about my data as it was on some other drive (This was planned to deal with these kind of disaster recovery situation).

How did I solved this issue?

Well, as my machine was not allowing me to boot using the windows 7 using the cd I copied the setup to an USB and connected to my PC and booted the machine till I get the windows login screen.

Next, click to login as usual. You should get an error from Windows telling you that your Windows has expired and is asking whether you would like to activate Windows now. Click Yes.

A “Let’s activate Windows” window will appear. Let’s minimize it. DO NOT close it.

Now, hold down the Windows Key on your keyboard while you also press the “U” key. This will open up the Narrator program to help assist those with poor vision. It is this program that will help us login to our Windows.

Click the little computer icon in the top left hand side of the Narrator window. A drop down menu should appear. The last option in this menu is named “About Narrator…”. Click it. This should open up another window called “About Narrator”.

In this window, there should be the text “Microsoft Web site”. Click it, as it is a link and will open up your Internet Explorer, taking you to the Microsoft Accessibility website.

In the address bar of Internet Explorer, type “G:” (G: is just an example here which is our USB drive which contains the windows7  OS. You can enter the drive letter accordingly) . This should display all removable drive contents on drive “G”. From there you run the windows setup. The time is very less to perform these steps and you have to try these within 2-3 minutes.

The New windows will load successfully without any issues

Hope the provided information above helps. Happy Troubleshooting 🙂

Disclaimer: This is not to promote piracy, but I do feel people should have access to their personal files, regardless of whether Windows has expired or not.Also no one can force to use only there operating system and should not avoid reinstalling/Upgrading the operating system as this situation may occur accidently (as in my case). This tutorial should not be used to bypass Windows Activation, nor does it restore full Windows functionality, but I provide it to those who are in desperate need of accessing files that are suddenly lost to them through the Microsoft Genuine Advantage activation system or want to install newer version of OS..


Some windows features

Create A Personal Screen Saver In Win Xp.

This isn’t a tweak, but a great little feature! For a great way to put your digital photos to work, try creating a slide show presentation for use as a screen saver. Here’s how:

1. Right-click an empty spot on your desktop and then click on Properties.

2. Click the Screen Saver tab.

3. In the Screen saver list, click My Pictures Slideshow.

4. Click Settings to make any adjustments, such as how often the pictures should change, what size they should be, and whether you’ll use transition effects between pictures, and then click OK.

Now your screen saver is a random display of the pictures taken from your My Pictures folder.

How Do U See Hidden Files, Using DOS…

Simple and useful tip

Simple and useful tip

At command prompt just type
dir /ah
if the list is too long u can use
dir /ah/p/w

How Long Has Your System Been Running?

Here’s how you verify system uptime:

Click Start | Run and type cmd to open a command prompt.

At the prompt, type systeminfo

Scroll down the list of information to the line that says System Up Time.

This will tell you in days, hours, minutes and seconds how long the system has been up.

Note that this command only works in XP Pro, not in XP Home. You can, however, type net statistics workstation at the prompt in Home. The first line will tell you the day and time that the system came online.

Automatic Windows Installation, No key press require

An unattended Windows XP/2003 install can install all your software and settings along with Windows, and without you having to click a button or press a key, completely automated. Learn how over here:

http://unattended.msfn.org

Make your unattended setup now!