You have been trying combinations to see which command line options best fit your needs, and you’ve finally found it. Now let’s make that into a script.
Impress your friends with your CLI magic in Linux
Here are two one-liners to have fun with. The first one takes a block of text you input it and displays it one character at a time, creating the impression that someone else is typing:
Extract a tarball online without local saving In Linux
This can be a real saver if you are using an EeePC with very low disk space. Say you want to download a large file but you don’t want to save it locally because you don’t have the necessary disk space.
Make that last command into a Linux script
You have been trying combinations to see which command line options best fit your needs, and you’ve finally
Re-Enabling System Restore
If you previously disabled system restore through the Group Policy Editor,
the option to start it again does not show in the System Properties.
You can re-enable it again by:
the option to start it again does not show in the System Properties.
You can re-enable it again by:
- Run the Group Policy Editor (gpedit.msc)
Decreasing Boot Time
Microsoft has made available a program to analyze and decrease the time it takes to boot to WindowsXP
The program is called BootVis
The program is called BootVis
- Uncompress the file.
- Run BOOTVIS.EXE
Running NetMeeting
To run NetMeeting:
- Do a Start / Run
- Enter conf
- Answer the prompts along the way for name, e-mail etc.
Allowing Network Access with Blank Passwords
Although you can log in locally without a password, by default, WindowsXP Pro does not allow network users to access the computer without a password. Typically you will receive an Unknown error 31 if this is the case.
To change this setting:
To change this setting:
Changing Drive Letters
If you want to change the letters assigned to your fixed or removable drives:
- Right Click on My Computer
- Select Manage
- Select Disk Management
Search Companion Error
When doing a file search, if you get the error A File That Is Required to Run Search Companion Cannot Be Found
- Log on as an Administrator
Re-Installing User Login Pictures
Normally WindowsXP shows assigned pictures for each user on the system.
If you have deleted your user pictures, want to know the location, or need to reinstall them,
they are stored in the C:\Documents and Settings\All Users\Application Data\Microsoft\User Account
If you have deleted your user pictures, want to know the location, or need to reinstall them,
they are stored in the C:\Documents and Settings\All Users\Application Data\Microsoft\User Account
Speeding the Startup of Some CD Burner Programs
If you use program other than the native WindowsXP CD Burner software,
you might be able to increase the speed that it loads.
you might be able to increase the speed that it loads.
- Go to Control Panel / Administrative Tools / Services
- Double-click on IMAPI CD-Burning COM Service
No GUI Boot
If you don't need to see the XP boot logo,
- Run MSCONFIG
- Click on the BOOT.INI tab
- Check the box for /NOGUIBOOT
Adding SafeBoot to the Boot Menu
You can add Safeboot as an option to the normal XP boot screen
- Open a command prompt
- Copy the current c:\boot.ini to another name (just in case)
- With your favorite text editor, edit c:\boot.ini
- Copy then edit the current boot line to another line. For example:
Formatting a Partition Greater than 32 GIGs with FAT32
WindowsXP will only format a partition greater than 32 GIGs as NTFS.
If you want to format it with FAT32:
If you want to format it with FAT32:
- You can use a regular Win98 Boot disk and use that version of FDISK to create the partition
Setting the Dir Command to Display Filenames on the Left
Previous versions of Windows displayed the filenames on the left hand side when you run the dir command.
WindowsXP changes this and the default it to put it on the right.
WindowsXP changes this and the default it to put it on the right.
To change this back:
- Right click on My Computer
ReInstalling WindowsXP
If you need to reinstall WindowsXP and want to keep all your current installed applications and settings:
- Start WindowsXP
- Go to the location of your source files
- Run WINNT32 /unattend
Controlling the Desktop Cleanup Wizard
By default, the Desktop Cleanup Wizard will pop up every 60 days to cleanup your desktop.
To stop this:
To stop this:
- Right click on the desktop.
- Select Properties
- Click on the Desktop tab
Adding Environment Variables
Since any version of NT does not use an autoexec.bat file,
to add environment variables to WindowsXP:
to add environment variables to WindowsXP:
- Right click on My Computer
- Select Properties
Disable Shared Documents
To disable the Shared Documents folder that shows up on the network
- Start Regedit
- Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \
Hiding the Last User Logged On
If you use the standard NT style of login and want to hide the last user:
- Start the Group Policy Editor (gpedit.msc)
- Go to Computer Configuration / Windows Settings
Stop Password Expiration
If you want to do this for all users, enter:
Start / Run / net accounts /maxpwage:unlimited
Added 3/18/02
If you are getting an error message that your password is about to expire:
Start / Run / net accounts /maxpwage:unlimited
Added 3/18/02
If you are getting an error message that your password is about to expire:
Adding TCP/IP Printers
To create a connection to a printer connected to your network:
- Start to add a new printer through the control panel.
- Select Local Printer / Next
Bringing Up the Shutdown Dialog Box
- Create a new txt file somewhere on your system, open it and put in this one line:
(new ActiveXObject("Shell.Application")).ShutdownWindows();
Corrupted or Missing \WINDOWS\SYSTEM32\CONFIG
If you get the error:
Windows could not start because the following files is missing or corrupt
\WINDOWS\SYSTEM32\CONFIG\SYSTEM or \WINDOWS\SYSTEM32\CONFIG\SOFTWARE
Windows could not start because the following files is missing or corrupt
\WINDOWS\SYSTEM32\CONFIG\SYSTEM or \WINDOWS\SYSTEM32\CONFIG\SOFTWARE
- Insert and boot from your WindowsXP CD.
- At the first R=Repair option, press the R key
Repair Install
If XP is corrupted to the point where none of the previous solutions get it to boot,
you can do a Repair Install that might work as well as keep the current settings.
Make sure you have your valid WindowsXP key.
The whole process takes about half an hour depending on your computer
If you are being prompted for the administrator's password, you need to choose the 2nd repair option, not the first.
you can do a Repair Install that might work as well as keep the current settings.
Make sure you have your valid WindowsXP key.
The whole process takes about half an hour depending on your computer
If you are being prompted for the administrator's password, you need to choose the 2nd repair option, not the first.
Accessing Non-Listed Display Configurations
If you want to access display configurations not normally listed (e.g. 256 colors)
- In the Display Properties dialog box, click the Settings tab.
- Click the Advanced button.
- Click the Adapter tab,
- Click the List all modes button.
- Select the resolution, color depth, and refresh rate that you want and click OK.
Cleaning the Prefetch Directory
WindowsXP has a new feature called Prefetch. This keeps a shortcut to recently used programs.
However it can fill up with old and obsolete programs.
To clean this periodically go to:
However it can fill up with old and obsolete programs.
To clean this periodically go to:
- Star / Run / Prefetch
- Press Ctrl-A to highlight all the files
- Delete them
Stopping the Messenger Service
To remove the ability for anyone in the world to pop up messages on your computer,
you can disable the Messenger service.
you can disable the Messenger service.
- Click Start->Settings ->Control Panel
- Click Performance and Maintenance
- Click Administrative Tools
Services You Can Disable In Windows Xp
There are quite a few services you can disable from starting automatically.
This would be to speed up your boot time and free resources.
They are only suggestions so I suggestion you read the description of each one when you run Services
and that you turn them off one at a time.
This would be to speed up your boot time and free resources.
They are only suggestions so I suggestion you read the description of each one when you run Services
and that you turn them off one at a time.
Subscribe to:
Posts (Atom)
