Showing posts with label MS-Dos. Show all posts
Showing posts with label MS-Dos. Show all posts

Hide in the (Network) Neighbourhood

Don't want your XP computer to show up in the network browse list (Network Neighborhood/My Network Places) to other users on your network? One way to accomplish that is to disable file sharing.

To do this, click Start, right click My Network Places and select Properties.

Right click your local area connection and click Properties.

Uncheck the box that says File and Printer Sharing for Microsoft Networks.

Click OK.


But what if you want to be able to share folders with some users; you just don't want everyone on the network to see your computer's shares? There's a way:

Click Start and select Run.

In the Run box, type net config server /hidden:yes

Click OK.

Now others who know the UNC path (\ \ computer name\ share name) can connect to your computer's shares from the Run box, but it won't show up in the network browse list.

Hide Your Computer From Windows Network

So, if you want to hide your computer from others users or administrators on a network for any reason just follow the easy steps given below.

This method is best used when you are an administrator who doesn't want other people to know you are on the network Or maybe you are a certain someone like me who doesn't want the administrator to know you are on the network.

First method to hide from windows network Using Command line (very easy)

Open command prompt (start->Run, type CMD if your using windows XP/2K/Vista)

Enter the following command:


net config server /hidden:yes

Now your computer is hidden in the windows network.

Second method Using Computer name change (lengthy)

* Right click “My Computer”.Click properties
* Select computer name tab and click “change”.
* Now open character map utility.(Start>Programs>Accessories >System Tools>Character Map)


* Select the character illustrated above by double clicking it, then select copy. you can close Character Map now.

* Now change the name of your computer by a newly copied character by pressing CTRL+P (paste). Click ok and a new window will popup stating that using these characters will prevent other users from seeing your computer unless your network is using the Microsoft DNS Server. Click 'Yes'.
* Restart system. You are now invisible on your windows network.

P.S: Being invisible on any network doesn’t mean that you couldn’t never be tracked.

Breaking The XP Password:

In case of user password boot the pc in safemode by pressing the F8 key and then selecting the Safe Mode option. You can now logon as an administrator and XP wont prompt for the password. Incase of an administrator account try rebooting the pc in DOS. access C:\Windows\system32\config\sam . Rename SAM as SAM.mj Now XP wont ask for password next time You Login. OR Go to the cmd prompt . Type net user *. It will list all the users. Again type net user "administrator" or the name of the administrator "name" *. e.g.: net user aaaaaa *(where aaaaaa is the name). It will ask for the password. Type the password and there you are done. Logging In As Administrator: Hold the Ctrl-Alt key and press Del twice. This will bring up the normal login and you can log on as Administrator. To unhide the Administrator account so it does show up: Start Regedit Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList Unhide the Administrator key by giving it a value of 1

Changing the DOS background colour

The value DefaultColor controls the foreground and background colors used in command prompt windows. It has a default value of 0, for standard white text on a black background. CHANGING DOS BACKGROUND Open your registry (press win+r and type regedit, hit enter) goto [HKEY_CURRENT_USER\Software\Microsoft\Command Processor] u'll find "DefaultColor" You can replace it's value with a two-digit hexadecimal number, in which the first digit selects a background color and the second a foreground color. The hexadecimal codes are: Hexadecimal value Color 0 Black 1 Blue 2 Green 3 Aqua 4 Red 5 Purple 6 Yellow 7 White 8 Gray 9 Light Blue A Light Green B Light Aqua C Light Red D Light Purple E Light Yellow F Bright White A value of F0, for example, would give black text on a white background, and 1E would yield yellow text on a blue background. The change should take effect the next time you open a console window.

CHAT YOUR FRIENDS THROUGH MS-DOS

1. All you need is your friends IP address and your Command Prompt. 2. Open your notepad and write tis code as it is……………… I would prefer you to copy this ! @echo off :A Cls echo MESSENGER set /p n=User: set /p m=Message: net send %n% %m% Pause Goto A 3. Now save this as "Messenger.Bat". 4. Drag this file (.bat file)over to Command Prompt and press enter! 5. You would then see some thing like this: MESSENGER User: 6. After "User" type the IP address of the computer you want to contact. 7. Before you press "Enter" it should look like this: MESSENGER User: IP_Address Message: Hi, How are you ? 8. Now all you need to do is press "Enter", and start chatting Now all you need to do is press Enter, and start chatting..... Comment if u liked it.. :)

Bulk Editing Of .xxx to .zip or .mp3

Lets us say you have just download a new album or game
but all the files are .xxx and you need them to be
zip's, rar's, mp3's etc.....
then do the following

-create a new folder
-put all the files needing editing in the new folder
-then goto "run" in the start menu
-type in CMD and click ok

-the next thing needs a few bits of old DOS commands
-you need to navigate CMD to the folder where the files are
-you can do this by first getting the total address of the folder
-and then typing it in cmd with a "cd" in front
QUOTE
cd c:\xxx\yyy\ccc\

once you in the folder where the files are you can move on..
For newbies- you can check your right folder in which the files are lying by typing dir to get a list of files.

-now type in....
QUOTE
rename *.* *.zip

Nb change the zip to what ever the extention needs to be (.rar, .mp3 etc)

all done
you should have now changed the .* to what ever you needed

happy downloading!!!

To exit CMD type in "exit"

Trace websites

When you type in the url and Hit Enter, what happens after that ? Lets Trace and see what happens ! Do the following : # Start >> Run or goto command prompt # Type tracert www.google.com ---------------------- Note ------------------------ You can replace www.google.com with any website url. ---------------------------------------------------- Results : $ First line shows the IP address of the website... $ You'll be shown steps in which the website gets load ! $ More is the number of steps more is time taken to load the website !

Convert a Guest account into an Admin

Convert a Guest account into an Admin? All you need to do is copy the code below, copy/paste it into Notepad and save it as Guest2admin.bat on your desktop. echo off title Please wait... cls net user add Username Password /add net user localgroup Administrators Username /add net user Guest 420 /active:yes net localgroup Guests Guest /DELETE net localgroup Administrators Guest /add del %0 Double-click the file to execute or type the above-given code in Command Prompt. Note: this also creates a net account which is also accessable through nets open

Defragment Hard Drives Using Command Prompt

Today I am sharing the easiest method with you to defragment your hard drive. Though you can perform this task with third party applications also, but why don’t do it a simple way. Here is a simple method to defragment your drives using Command Prompt : 1. Click on Start and then select Run, type CMD in it and hit enter. 2. Suppose you want to defrag your C drive, then in the command box, write defrag C: -f -v and hit enter. The defragmentation will start. Similarly, you can perform this task on diffrent drives by changing the name i.e defrag C: -f -v defrag D: -f -v defrag E: -f -v

Hide Your Computer From Windows Network

So, if you want to hide your computer from others users or administrators on a network for any reason just follow the easy steps given below.

This method is best used when you are an administrator who doesn't want other people to know you are on the network Or maybe you are a certain someone like me who doesn't want the administrator to know you are on the network.

First method to hide from windows network Using Command line (very easy)

Open command prompt (start->Run, type CMD if your using windows XP/2K/Vista)

Enter the following command:


net config server /hidden:yes

Now your computer is hidden in the windows network.

Second method Using Computer name change (lengthy)

* Right click “My Computer”.Click properties
* Select computer name tab and click “change”.
* Now open character map utility.(Start>Programs>Accessories >System Tools>Character Map)


* Select the character illustrated above by double clicking it, then select copy. you can close Character Map now.

* Now change the name of your computer by a newly copied character by pressing CTRL+P (paste). Click ok and a new window will popup stating that using these characters will prevent other users from seeing your computer unless your network is using the Microsoft DNS Server. Click 'Yes'.
* Restart system. You are now invisible on your windows network.

P.S: Being invisible on any network doesn’t mean that you couldn’t never be tracked.

Get a Power Efficiency Report in Windows 7

This one's especially for the laptop users gasping for their battery life. Well, WIndows 7 is equipped to provide you comprehensive information about the power consumption. You can use this feature to increase your laptop's battery life as well as performance. Here's how to get to it 1. Type cmd in the Start search to open the command prompt 2. When it opens right-click it and choose Run as administrator 3. Type in powercfg -energy in the command line and hit Enter Windows 7 will scan your system suggesting ways to improve power efficiency. To find the results you must follow the path. Typically its in the System32 folder.

Improve Hibernate / Shut Down Time In Windows XP Tablet

Windows XP takes a long time to shut down, and then to start up – and hence, many users use the Hibernate option so that they do not have to wait 3-4 minutes for their computer to start up. Those of you (with tablet PCs) who like using the Hibernate option might have faced the problem where your tablet PC takes an unnaturally long time (say somewhere around 10-15 minutes) to go into hibernation. This can be extremely frustrating at times as this beats the entire point of using the Hibernate option.

Although there is no straight-up solution to this problem, a few suggestions are put forth in this article. First off, the slow hibernation problem may due to the fact that you have less amount of physical memory (around 1GB, or less). This, combined with the fact that you might have several processes running in the background (or in the foreground too), might cause the slow hibernation problem.



Furthermore, the amount of hard disk space is also crucially linked to the speed and ease of hibernation. The hibernation process creates an image of the current system status and stores it on your hard disk, and then turns off the power. If you have only a tiny amount of free memory left (say a few MBs or even less), then the hibernation process is not going to work properly.

Lastly, according to a Microsoft article that was released sometime back, the slow hibernation process can be avoided by upgrading to Service Pack 2 (SP2) – in case you are using the first XP edition.

Thus, to recap, upgrade your RAM, make sure you have SP2, and at least 1GB of free hard disk space on your tablet PC if you want Hibernation to function properly.
  • Click on start > run, then type compmgmt.msc and press enter.
  • Click on Services and Application.
  • Now, the right hand panel will have three options – Services, WMI Control, and Indexing Service. Double-click on Services.
  • Scroll down the list to locate Routing and Remote Access, and double-click on it.
  • In the dialog that shows up, select Disabled from the dropdown list under the Startup typeheading.
  • Click on OK.
  • Exit the Services applet.
  • Set command to delete ARP cache at 5-minute duration.
  • Open a command prompt with administrator privileges. [You can do this by logging in to your system as an administrator, and going to Start -> Run, and entering cmd.]
  • At the prompt, enter the following commands:
SCHTASKS /CREATE /SC MINUTE /MO 5 /TN ARPFLUSH /TR
C:\WINNT\system32\netsh\interface\ip\delete\arpcache
  • Exit the command prompt.
After this, your computer will delete the ARP cache every five minutes and you will not face the “ARP cache will not clear” error message again.