1.

Solve : 10 for cmd?

Answer» --using cmd--
1) Change backround
2) Change start MENU delay
3) Remove recent documents menu
4) hide your account from the logon menu
5) Create a briefcase
6) Automatically switch on num-lock
7) Speed up shutdown
8 ) Speed up NTFS
9) Shutdown to "its now safe to turn off your computer"
0) Change registerd owner\company


-------------------------------------------------------

1)Change Backround

@echo off
reg add "HKCU\control panel\desktop" /t REG_SZ /v Wallpaper /d %1 /f


%1 = Location of .BMP Example: c:\mybackround.bmp

Note:it does change automatically , but unless you reboot or GO to the backround settings menu.. it wont.


2)Change Start Menu Delay

@echo off
reg add "HKCU\Control Panel\desktop" /t REG_SZ /v MenuShowDelay /d %1 /f


%1 = Start Menu Delay Example: nuShowDelay /d 0 /f


3) Removing Recent Documents Menu

@echo off
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoRecentDocsMenu /t REG_DWORD /d 0


Note: this one requires reboot to work , or try using the alternative method listed as 11.

4) Hide your account from the logon menu


@echo off
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /t REG_DWORD /v %username% /d /f 0


note: since its used in cmd, %username% will work to complete it with the current user.
note: it will hide your user or administrator from logon screen , you have to use the logon box..
you can switch to it at start up , by holding shift and the pressing winkey+U or +L.

5)Create a Briefcase

RunDll32.exe SYNCUI.DLL,Briefcase_Create

note: may not work.

6)Automatically Switch on Num-Lock


@echo off
reg add "HKCU\control panel\keyboard" /t REG_SZ /v initialkeyboardindicators /d 2 /f


note:requires restart or usage of the other method.

7) speed up shutdown

@echo off
reg add "HKCU\Control Panel\Desktop" /t REG_SZ /v AutoEndTasks /d %1 /f
reg add "HKCU\Control Panel\Desktop" /t REG_SZ /v HungAppTimeout /d %2 /f
reg add "HKCU\Control Panel\Desktop" /t REG_SZ /v WaitToKillAppTimeout /d %3 /f
reg add "HKCU\Control Panel\Desktop" /t REG_SZ /v WaitToKillServiceTimeout /d %4 /f


%1 = AutoEndTasks Value Example:1
%2 = HungAppTimeout Value Example:4000
%3 = WaitToKillAppTimeout Value Example:4000
%4 = WaitToKillServiceTimeout Value Example:400


8 )Speed Up NTFS

@echo off
reg add "HKLM\system\currentcontrolset\control\filesystem" /t REG_SZ /v disableNTFSlastaccesUpdate /d %1 /f
reg add "HKLM\system\currentcontrolset\control\filesystem" /t REG_SZ /v NtfsDisable8Dot3NameCreation /d %2 /f
reg add "HKLM\system\currentcontrolset\control\filesystem" /t REG_SZ /v NtfsMftZoneReservation /d %3 /f


%1 - 1 , Last File Access no longer registerd
%2 - 1 , No More Double Filenames
%3 - 2 , If their are MANY files on the drive, the mft wont GET defragmented after using this.

9)Shutdown to "its now safe to turn off computer"


@echo off
RunDll32.exe USER.DLL,exitwindows


0) Change Registerd Owner\Company

@echo off
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /t REG_SZ /v RegisteredOrganization /d %1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /t REG_SZ /v RegisteredOwner /d %2 /f


%1 = Your Organization Value Example: my company.
%2 = The Owners Name Example : Diablo

11)Alternative to update registry without restarting

@echo off
taskkill /f /im explorer.exe

note: this will terminate explorer.exe, it might reload automatically but if it doesent.
type explorer.exe , if it has to be done.. this cannot be used in a batch file because without explorer.exe
cmd.exe stops working.


note: use any of these methods at your own risk, i list them here for education purposes only.






Discussion

No Comment Found