::cyborg::
In the zone
Hi
guys
there are many tweaking threads running on this forum with same (old) tweaks .what makes this thread different from other thread is new content as this will include the fixes to windows problem too with tweaking ur computer.
Well i have taken content from here it is the excellent site www.dougknox.com
1) This VB Script can be run as a Scheduled Task to create an unattended System Restore Point. The Restore point will be identified as Automatic Restore Point with the date and time the script was run.
---------------------------------------------cut here---------------------------------------------------
'Unattended System Restore Point
'sysrestorepoint.vbs
Set sr = getobject("winmgmts:\\.\root\default:Systemrestore")
msg = "New Restore Point successfully created." & vbCR
msg = msg & "It is listed as: " & vbCR
msg = msg & "Automatic Restore Point " & Date & " " & Time
'Put a ' in front of the next five lines to disable the Success Failed Prompt.
If (sr.createrestorepoint("Automatic Restore Point", 0, 100)) = 0 Then
MsgBox msg
Else
MsgBox "Restore Point creation Failed!"
End If
'Remove the ' from the next 3 lines to only alert you if the process failed
'If (sr.createrestorepoint("Automatic Restore Point", 0, 100)) <> 0 Then
' MsgBox "Restore Point creation Failed!"
'End If
-----------------------------------cut here---------------------------------------------------
2)How do I restrict a User's Logon hours?
You can only restrict when a user can log on to the system. On a stand alone computer, there is no way, currently, to force a user to log off when their hours expire.
1) Open Help and Support and type "logon hours" (without the quotes) in the search box.
2) Go to Full text matches and click on "Net user". See the examples for setting a user's logon hours. Some examples would be:
net user johnsw /time:M-F,08:00-17:00
net user johnsw /time:M-F,8am-5pm
net user marysl /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00
net user johnsw /time:all (this one means this user can always log on)
3) Open a Command Prompt window.
4) Enter the appropriate "net user" command for the user(s) you wish to restrict access for.
If you need to force a user to log off when their hours expire, you may want to investigate Access Boss, from FS Pro Labs
3) Windows® XP - Search Problems
Windows® XP has a known issue for not finding a number of File Types when you do a Search for Files "containing text" or using the "A word or phrase in the file" option. This can be remedied for many file types, but not all. The cause is the lack of a PersistentHandler value in the Registry for this type of file.
You can correct this by clicking Start, Run and entering REGEDIT Navigate to HKEY_CLASSES_ROOT and locating the entry for the file type in question. For example, .txt, .adm, .asp. Expand the branch for that file type, and if the PersistentHandler subkey does not exist, create it. Do this by clicking on the file extension key and going to Edit, New, Key. Name the Key, PersistentHandler. Click on the PersistentHandler sub-key. In Regedit's right pane, double click on the Default value and enter the following (copy and paste may be your best bet):
{5e941d80-bf96-11cd-b579-08002b30bfeb}
If the PersistentHandler sub-key does exist, do not change the default value. This could have very undesired consequences.
Close Regedit and reboot the computer. This file type will now be searched for "A word or phrase in the file" type searches.
An alternative is to download a small VB Script utility here. Save the file you just downloaded to your hard disk. Locate the file you just saved and double click it. Enter the file extension you wish to modify. If the PersistentHandler sub-key exists, no changes will be made. If it does not exist for the file type in question, the Registry will be updated accordingly. Reboot when you're finished with the file types you wish to change.
4)How Do I Do a "Repair Installation"?
Configure your computer to start from the CD-ROM drive. For more information about how to do this, please refer to your computer's documentation or contact your computer manufacturer.
Insert your Windows XP compact disc (CD) into your CD-ROM drive or DVD-ROM drive, and then restart your computer.
(You can also boot with a Windows 98/Me Startup disk with CD support and run WINNT.EXE in the I386 folder on the CD)
When the "Press any key to boot from CD" message is displayed on your screen, press a key to start your computer from the Windows XP CD.
When you see the following message displayed on the Welcome to Setup screen, press ENTER:
To setup Windows XP now, press ENTER.
At this point an option to press R to enter the Recovery Console is displayed. Do not select this option.
On the Windows XP Licensing Agreement screen, press F8 to agree to the license agreement.
Make sure that your current installation of Windows XP is selected in the box, and then press the R key to repair Windows XP.
5) How do I delete an "undeletable" file?
Open a Command Prompt window and leave it open. Close all open programs. Click Start, Run and enter TASKMGR.EXE Go to the Processes tab and End Process on Explorer.exe. Leave Task Manager open. Go back to the Command Prompt window and change to the directory the AVI (or other undeletable file) is located in. At the command prompt type DEL <filename> where <filename> is the file you wish to delete. Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell. Close Task Manager.
6) Autoplay tab Missing and CD's Don't Autoplay
Sorry, no script file fix for this one. If you're CD's don't autoplay and the Autoplay tab is missing from the Properties (right click the CD drive and select Properties), then click Start, Run and enter SERVICES.MSC Scroll down to Shell Hardware Detection and make sure this service is Started and set to Automatic.
7) Remove TweakUI v1.33 (and earlier) Manually
To remove TweakUI v1.33, or earlier versions, manually, perform the following steps:
1. Do a Find for TWEAKUI.CPL, TWEAKUI.HLP and TWEAKUI.GID. When each of these files has been located, delete it. Note: TWEAKUI.GID may not exist on your system.
2. Click Start, Run and enter REGEDIT.
3. This step is only necessary if you wish to remove the Shortcut Icon customization. Go to the Registry branches indicated and modify or delete the values as instructed.
a) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons\29
In the right pane, locate the value named "29". Right click on this value and select Delete.
b) HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
In the right pane, locate the value called "Shell Icon Size". Double click on this entry and set the value to 32.
4. Go to: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
In the right pane, locate the value called "Tweak UI". Right click on this value and select Delete.
5. Close Regedit.
8)Editing the Registry for "other" Users
From an account with Administrator level access
1) Click Start, Run and enter REGEDIT
2) In Regedit, highlight the HKEY_USERS key and go to File, Load Hive.
3) Use the File Open dialog to go to the Documents and Settings\<username> folder, where <username> is the account you wish to modify.
4) Highlight the NTUSER.DAT file in this folder (usually a hidden file) and select Open.
5) You'll be prompted to enter a "Key name". You can use whatever you wish, but I use the User's logon name.
6) You can now expand the Hive you just loaded and make any needed changes.
7) When finished, highlight this Hive again and go to File, Unload Hive.
NOTE: You MUST unload the Hive prior to logging on to the users account. Otherwise XP may have trouble loading the user's profile.
Well there are lot more tweaks tips and tricks and is taken care by a MICROSOFT'S MVP.
A MUST WATCH SITE FOR A NOVICE OR A PROFESSIONAL WWW.DOUGKNOX.COM
HOPE U LIKE IT
::cyborg::
guys
there are many tweaking threads running on this forum with same (old) tweaks .what makes this thread different from other thread is new content as this will include the fixes to windows problem too with tweaking ur computer.
Well i have taken content from here it is the excellent site www.dougknox.com
1) This VB Script can be run as a Scheduled Task to create an unattended System Restore Point. The Restore point will be identified as Automatic Restore Point with the date and time the script was run.
---------------------------------------------cut here---------------------------------------------------
'Unattended System Restore Point
'sysrestorepoint.vbs
Set sr = getobject("winmgmts:\\.\root\default:Systemrestore")
msg = "New Restore Point successfully created." & vbCR
msg = msg & "It is listed as: " & vbCR
msg = msg & "Automatic Restore Point " & Date & " " & Time
'Put a ' in front of the next five lines to disable the Success Failed Prompt.
If (sr.createrestorepoint("Automatic Restore Point", 0, 100)) = 0 Then
MsgBox msg
Else
MsgBox "Restore Point creation Failed!"
End If
'Remove the ' from the next 3 lines to only alert you if the process failed
'If (sr.createrestorepoint("Automatic Restore Point", 0, 100)) <> 0 Then
' MsgBox "Restore Point creation Failed!"
'End If
-----------------------------------cut here---------------------------------------------------
2)How do I restrict a User's Logon hours?
You can only restrict when a user can log on to the system. On a stand alone computer, there is no way, currently, to force a user to log off when their hours expire.
1) Open Help and Support and type "logon hours" (without the quotes) in the search box.
2) Go to Full text matches and click on "Net user". See the examples for setting a user's logon hours. Some examples would be:
net user johnsw /time:M-F,08:00-17:00
net user johnsw /time:M-F,8am-5pm
net user marysl /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00
net user johnsw /time:all (this one means this user can always log on)
3) Open a Command Prompt window.
4) Enter the appropriate "net user" command for the user(s) you wish to restrict access for.
If you need to force a user to log off when their hours expire, you may want to investigate Access Boss, from FS Pro Labs
3) Windows® XP - Search Problems
Windows® XP has a known issue for not finding a number of File Types when you do a Search for Files "containing text" or using the "A word or phrase in the file" option. This can be remedied for many file types, but not all. The cause is the lack of a PersistentHandler value in the Registry for this type of file.
You can correct this by clicking Start, Run and entering REGEDIT Navigate to HKEY_CLASSES_ROOT and locating the entry for the file type in question. For example, .txt, .adm, .asp. Expand the branch for that file type, and if the PersistentHandler subkey does not exist, create it. Do this by clicking on the file extension key and going to Edit, New, Key. Name the Key, PersistentHandler. Click on the PersistentHandler sub-key. In Regedit's right pane, double click on the Default value and enter the following (copy and paste may be your best bet):
{5e941d80-bf96-11cd-b579-08002b30bfeb}
If the PersistentHandler sub-key does exist, do not change the default value. This could have very undesired consequences.
Close Regedit and reboot the computer. This file type will now be searched for "A word or phrase in the file" type searches.
An alternative is to download a small VB Script utility here. Save the file you just downloaded to your hard disk. Locate the file you just saved and double click it. Enter the file extension you wish to modify. If the PersistentHandler sub-key exists, no changes will be made. If it does not exist for the file type in question, the Registry will be updated accordingly. Reboot when you're finished with the file types you wish to change.
4)How Do I Do a "Repair Installation"?
Configure your computer to start from the CD-ROM drive. For more information about how to do this, please refer to your computer's documentation or contact your computer manufacturer.
Insert your Windows XP compact disc (CD) into your CD-ROM drive or DVD-ROM drive, and then restart your computer.
(You can also boot with a Windows 98/Me Startup disk with CD support and run WINNT.EXE in the I386 folder on the CD)
When the "Press any key to boot from CD" message is displayed on your screen, press a key to start your computer from the Windows XP CD.
When you see the following message displayed on the Welcome to Setup screen, press ENTER:
To setup Windows XP now, press ENTER.
At this point an option to press R to enter the Recovery Console is displayed. Do not select this option.
On the Windows XP Licensing Agreement screen, press F8 to agree to the license agreement.
Make sure that your current installation of Windows XP is selected in the box, and then press the R key to repair Windows XP.
5) How do I delete an "undeletable" file?
Open a Command Prompt window and leave it open. Close all open programs. Click Start, Run and enter TASKMGR.EXE Go to the Processes tab and End Process on Explorer.exe. Leave Task Manager open. Go back to the Command Prompt window and change to the directory the AVI (or other undeletable file) is located in. At the command prompt type DEL <filename> where <filename> is the file you wish to delete. Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell. Close Task Manager.
6) Autoplay tab Missing and CD's Don't Autoplay
Sorry, no script file fix for this one. If you're CD's don't autoplay and the Autoplay tab is missing from the Properties (right click the CD drive and select Properties), then click Start, Run and enter SERVICES.MSC Scroll down to Shell Hardware Detection and make sure this service is Started and set to Automatic.
7) Remove TweakUI v1.33 (and earlier) Manually
To remove TweakUI v1.33, or earlier versions, manually, perform the following steps:
1. Do a Find for TWEAKUI.CPL, TWEAKUI.HLP and TWEAKUI.GID. When each of these files has been located, delete it. Note: TWEAKUI.GID may not exist on your system.
2. Click Start, Run and enter REGEDIT.
3. This step is only necessary if you wish to remove the Shortcut Icon customization. Go to the Registry branches indicated and modify or delete the values as instructed.
a) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons\29
In the right pane, locate the value named "29". Right click on this value and select Delete.
b) HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
In the right pane, locate the value called "Shell Icon Size". Double click on this entry and set the value to 32.
4. Go to: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
In the right pane, locate the value called "Tweak UI". Right click on this value and select Delete.
5. Close Regedit.
8)Editing the Registry for "other" Users
From an account with Administrator level access
1) Click Start, Run and enter REGEDIT
2) In Regedit, highlight the HKEY_USERS key and go to File, Load Hive.
3) Use the File Open dialog to go to the Documents and Settings\<username> folder, where <username> is the account you wish to modify.
4) Highlight the NTUSER.DAT file in this folder (usually a hidden file) and select Open.
5) You'll be prompted to enter a "Key name". You can use whatever you wish, but I use the User's logon name.
6) You can now expand the Hive you just loaded and make any needed changes.
7) When finished, highlight this Hive again and go to File, Unload Hive.
NOTE: You MUST unload the Hive prior to logging on to the users account. Otherwise XP may have trouble loading the user's profile.
Well there are lot more tweaks tips and tricks and is taken care by a MICROSOFT'S MVP.
A MUST WATCH SITE FOR A NOVICE OR A PROFESSIONAL WWW.DOUGKNOX.COM
HOPE U LIKE IT
::cyborg::