2010년 1월 26일 화요일

Win7에서 종료(Shutdown) 및 재시작(Restart) 버튼 없애기

아주 드문 경우지만, 여러 사람들이 공동으로 사용하는 컴퓨터에 대해서는, 이를 관리하는 측면에서는 사용자들이 시스템을 끄거나 재시작하는 것이 관리를 번거럽게 만들 수도 있습니다.

 

이때 시스템 종료 메뉴에 [시스템 종료] 및 [시스템 재시작] 버튼을 없애는 방법이 있습니다.

 

이 방법은 [로컬 그룹 정책 편집기 - Local Group Policy Editor]를 통하여 지원되는 기능이므로, Windows 7 Starter나 Home Premium 버전에서는 지원하지 않는 기능입니다.

 

1pwr

 

Disable Shutdown, Restart, Sleep, and Hibernate Buttons

로컬 그룹 정책 편집기(Gpedit)를 실행하기 위해, 다음과 같이 gpedit.msc를 입력하고 [Enter]키를 누릅니다.

gpedit_start

 

{다음 설명부터는 영문 버전을 기준으로 설명합니다.}

 

In Local Group Policy Editor navigate to User Configuration \ Administrative Templates \ Start Menu and Taskbar and double click on Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands.

2pwr

Now you want to enable this setting and click Apply and Ok. You can leave a note to yourself in the comment box, which I find comes in handy when changing a lot of settings in Group Policy.

3pwr 

Now when you look at the Power options in the Start Menu, the only options available are Log off, Switch user, and Lock.

4pwr

또한, [Ctrl+Alt+Del]을 누른 상황에서도 동일하게 종료와 재시작 버튼이 보이지 않게 됩니다.

 

[출처: How-To Geek Remove Shutdown and Restart Buttons In Windows 7]

Win7 로그온 화면 바꾸기

 

Windows GUI 환경을 바꾸어 보고 싶은 분들께, Windows 7 로그온 화면을 다른 배경 화면으로 바꿀 수 있는 무료 애플리케이션 한 가지를 소개합니다.

 

Windows 7 Logon Background Changer

 

먼저 이 무료 애플리케이션을 다운로드(Download Windows 7 Logon Background Changer) 한 후, 압축 파일을 풀고, 아래 그림과 같이 Win7LogonBackgroundChanger.exe를 실행합니다.

9log

먼저 Windows 기본 배경 화면들 중에서 사용할 배경 화면을 선택할 수 있습니다.

2log 

또한 다른 그림 파일이 포함된 폴더도 지정 가능합니다.

10log

원하는 배경 화면을 선택한 후, [Apply]을 눌러 선택한 배경 화면을 적용합니다.

4log

[Yes] 버튼을 눌러 줍니다.

5log

[Yes] 버튼을 눌러 줍니다.

6log

배경 화면이 적용되는 동안 잠시 기다려 주십시오.

7log 

이제 다음 로그 온 화면부터 새롭게 바뀐 로그 온 화면을 볼 수 있습니다. 

8log

몇 가지 추가 다른 변경 가능한 설정이 있으니 참조하십시오.

3log

 

Download Windows 7 Logon Background Changer

 

Windows 7 Logon Background Changer Homepage

 

[출처: How-To Geek Customize the Windows 7 Logon Screen ]

2010년 1월 25일 월요일

숨겨진 Administrator 계정 활성화 시키기

Enable Built-in Administrator Account

 

명령 프롬프트 창을 관리자 권한으로 실행합니다.

image

다음 명령어를 입력하고 실행합니다.

 

net user administrator /active:yes

 

image

 

 

다음 그림과 같이 Administrator 계정이 활성화되고 로그온이 가능합니다.

 

image

 

 

Disable Built-in Administrator Account

 

반대로 활성화된 Administrator 계정을 다시 Disable 시키려면 아래 명령어를 실행합니다.

 

net user administrator /active:no

 

[출처: How-To Geek Enable the (Hidden) Administrator Account on Windows 7 or Vista ]

[NirCmd.exe] - Freeware Windows command-line tool

명령 프롬프트 상에서 Command-line으로 다양한 작업을 실행할 수 있는 NirCmd라는 Freeware utility를 소개합니다. NirCmd를 사용하여 CD-ROM 드라이브 Open/Close 작업이나 사운드 볼륨 +/- 및 음소거 등 아래 예제와 같은 다양한 기능들을 Command-line으로 실행 가능합니다.

 

 자세한 사용 방법은 여기를 클릭하십시오.

 

 

Examples of what you can do with NirCmd

Open the door of J: CD-ROM drive   nircmd.exe cdrom open j:
Close the door of Y: CD-ROM drive   nircmd.exe cdrom close y:
Speaks the text currently in the clipboard (For Windows XP and Vista).   nircmd.exe speak text ~$clipboard$
Increase the system volume by 2000 units (out of 65535)   nircmd.exe changesysvolume 2000
Decrease the system volume by 5000 units (out of 65535)   nircmd.exe changesysvolume -5000
Set the volume to the highest value   nircmd.exe setsysvolume 65535
Mute the system volume   nircmd.exe mutesysvolume 1
Unmute the system volume   nircmd.exe mutesysvolume 0
Switch the system volume between the mute and normal state.   nircmd.exe mutesysvolume 2
Create a shortcut on your desktop that switch the system volume between the mute and normal state.   nircmd.exe cmdshortcut "~$folder.desktop$" "Switch Volume" mutesysvolume 2
Turn off the monitor   nircmd.exe monitor off
Start the default screen saver   nircmd.exe screensaver
Put your computer in 'standby' mode   nircmd.exe standby
log off the current user  nircmd.exe exitwin logoff
Ask if you want to reboot, and if you answer 'Yes', reboot the computer.  nircmd.exe qboxcom "Do you want to reboot ?" "question" exitwin reboot
Turn off your computer   nircmd.exe exitwin poweroff
Turn off all computers specified in computers.txt !   nircmd.exe multiremote copy "c:\temp\computers.txt" exitwin poweroff force
Dial to "My Internet" connection   nircmd.exe rasdial "My Internet"
Disconnect the "My Internet" connection   nircmd.exe rashangup "My Internet"
Make your Internet Explorer windows 75% transparent ! (192 / 256)   nircmd.exe win trans ititle "internet explorer" 192
Minimize all your Internet Explorer windows   nircmd.exe win min class "IEFrame"
Close all your Internet Explorer windows   nircmd.exe win close class "IEFrame"
Close all your Explorer windows (My Computer, folders, and so on)   nircmd.exe win close class "CabinetWClass"
Hide all your Internet Explorer windows   nircmd.exe win hide class "IEFrame"
Show all your Internet Explorer windows (after you made them hidden with previous example)   nircmd.exe win show class "IEFrame"
Center all top-level windows   nircmd.exe win center alltop
Remove the title bar of My Computer window.   nircmd.exe win -style title "my computer" 0x00C00000
Return the title bar of My Computer window that we removed in the previous example.   nircmd.exe win +style title "my computer" 0x00C00000
Set the My Computer window to right-to-left order (For hebrew and arabic languages)   nircmd win +exstyle title "my computer" 0x00400000
Set all child windows of My Computer window to right-to-left order (For hebrew and arabic languages)   nircmd win child title "my computer" +exstyle all 0x00400000
Create a shortcut on your desktop that closes all your Internet Explorer windows   nircmd.exe cmdshortcut " "~$folder.desktop$ "Close All IE" win close class "IEFrame"
Create a shortcut on your desktop that hides all your Internet Explorer windows   nircmd.exe cmdshortcut " "~$folder.desktop$ "Hide All IE" win hide class "IEFrame"
Create a shortcut on your desktop that shows back all your Internet Explorer windows   nircmd.exe cmdshortcut " "~$folder.desktop$ "Show All IE" win show class "IEFrame"
Set the Windows Calculator as top-most window (above all other windows)   nircmd.exe win settopmost title "Calculator" 1
Set the Windows Calculator back to regular window (non top-most window)   nircmd.exe win settopmost title "Calculator" 0
Create a shortcut to Windows calculator under Start Menu->Programs->Calculators   nircmd.exe shortcut "f:\winnt\system32\calc.exe" "~$folder.programs$\Calculators" "Windows Calculator"
Hide the desktop window   nircmd.exe win hide class progman
Show the desktop window (After hiding it in previous example)   nircmd.exe win show class progman
Hide the start button on the system tray   nircmd.exe win child class "Shell_TrayWnd" hide class "button"
Show the start button on the system tray   nircmd.exe win child class "Shell_TrayWnd" show class "button"
Hide the clock on the system tray   nircmd.exe win child class "Shell_TrayWnd" hide class "TrayClockWClass"
Show the clock on the system tray   nircmd.exe win child class "Shell_TrayWnd" show class "TrayClockWClass"
Kill (terminate) all instance of Internet Explorer processes   nircmd.exe killprocess iexplore.exe
Create a shortcut on your desktop that opens the door of K: CDROM drive when you run it.   nircmd.exe cmdshortcut "~$folder.desktop$" "Open CDROM" cdrom open k:
Create a shortcut to NirSoft Web site on your desktop   nircmd.exe urlshortcut "http://www.nirsoft.net" "~$folder.desktop$" "NirSoft"
Add NirSoft Web site to your Favorities under Links folder.   nircmd.exe urlshortcut "http://www.nirsoft.net" "~$folder.favorites$\Links" "NirSoft"
Create a shortcut to NirSoft Web site on the desktop of all computers listed in computers.txt   nircmd.exe multiremote copy "c:\temp\computers.txt" urlshortcut "http://www.nirsoft.net" "~$folder.common_desktop$" "NirSoft"
Set the display mode to 800x600x24bit colors   nircmd.exe setdisplay 800 600 24
Create a shortcut on the desktop that set the display mode to 800x600x24bit colors   nircmd.exe cmdshortcut "~$folder.desktop$" "800x600x24" setdisplay 800 600 24
Copy all shortcuts on your desktop to another folder (f:\temp\desktop).   nircmd.exe execmd copy "~$folder.desktop$\*.lnk" f:\temp\desktop
Restart your Apache server (under Windows NT/2000/XP/2003)   nircmd.exe service restart apache
Create a shortcut on your desktop that restarts the Apache server   nircmd.exe cmdshortcut "~$folder.desktop$" "Restart Apache" service restart apache
Restart your IIS   nircmd.exe service restart w3svc
Restart MySql   nircmd.exe service restart MySql
Open the desired Registry key/value in RegEdit   nircmd.exe regedit "HKLM\Software\Microsoft\Windows\CurrentVersion" "CommonFilesDir"
Open the Registry key that you copied to the clipboard in RegEdit.   nircmd regedit "~$clipboard$"
Disable the screen saver   nircmd.exe regsetval sz "HKCU\control panel\desktop" "ScreenSaveActive" 0
Enable the screen saver   nircmd.exe regsetval sz "HKCU\control panel\desktop" "ScreenSaveActive" 1
Change the date/time of the specified filename (creation time and modified time)   nircmd.exe setfiletime "c:\temp\myfile.txt" "24-06-2003 17:57:11" "22-11-2005 10:21:56"
Copy your desktop folder path to the clipboard   nircmd.exe clipboard set ~$folder.desktop$
Copy your start menu folder path to the clipboard   nircmd.exe clipboard set ~$folder.start_menu$
Copy the content of info1.txt (simple text file) to the clipboard   nircmd.exe clipboard readfile "c:\My Files\info1.txt"
Add the text content of clipboard to info1.txt   nircmd.exe clipboard addfile "c:\My Files\info1.txt"
Clear the clipboard   nircmd.exe clipboard clear
Create all folders specified in "c:\temp\folders.txt". The folder path names are separated by CRLF characters.   nircmd.exe paramsfile "c:\temp\folders.txt" "" "" execmd md ~$fparam.1$
Install the specified .NET assembly in the global assembly cache (like gacutil)   nircmd.exe gac install "C:\temp\MyAssembly\bin\MyAssembly.dll"
Empty the recycle bin in all drives.   nircmd.exe emptybin
Answer 'Yes' to a standard Windows message-box.   nircmd.exe dlg "" "" click yes
Wait 2 seconds, and then save the current screen to shot.png   nircmd.exe cmdwait 2000 savescreenshot "f:\temp\shot.png"
Save 10 screenshots in a loop, and wait 60 seconds between the screenshot save calls. The filenames of the screenshot will contain the time and date of the saved screenshot.   nircmd.exe loop 10 60000 savescreenshot c:\temp\scr~$currdate.MM_dd_yyyy$-~$currtime.HH_mm_ss$.png
Wait until Fixfox is closed, and then say "Firefox was closed"   nircmd.exe waitprocess firefox.exe speak text "Firefox was closed"

Win7/Vista에서 컴퓨터 아이콘을 [빠른 실행]에 추가하기

작업표시줄에 마우스 오른쪽 버튼을 클릭 메뉴에서, [도구 모음] [새 도구 모음]을 클릭합니다.

 

[컴퓨터] 폴더를  선택합니다.

 

다음 그림과 같이 작업표시줄에 [컴퓨터] 아이콘이 등록된 것을 확인할 수 있습니다.

 

 

 

Win7의 모든 시스템 설정을 1개의 프로그램안에서 사용하기

Setting “Windows 7 in a Box” up is very quick and easy. Simply unzip the rar file, place the exe file in an appropriate “Program Files” folder, and create a shortcut.

 

sshot-2009-12-02-[18-48-38]

Links

Download Windows 7 in a Box

 

2010년 1월 23일 토요일

[Windows Update 설치 후 시스템 종료] 메뉴 추가 시키기

I’ve been more than irritated with Windows 7 or Vista’s habit of changing the Sleep/Shutdown button into an “Install Updates and Shut Down” button whenever there are updates from Windows Update.

After the last time I accidentally clicked this stupid button when I just wanted to enter sleep mode, I decided to look for a solution.

 

image

 

Update: Windows 7 does the same thing to my Shutdown button, and this same registry hack fixes the problem.

 

 

Manual Registry Hack

If you’d like to manually create this hack, you can open up regedit.exe using the start menu search box and then browse down to the following key, creating the key if it doesn’t exist.

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsUpdate\AU

image

 

Add a 32-bit DWORD value called NoAUAsDefaultShutdownOption with a value of 1.

No reboot should be necessary.

 

Now our Sleep button should be back to the way it was, but if you wanted to use the Install Updates and Shut Down option, it’s still available via the shutdown menu:

image

 

Download Registry Hack

Unzip the file and double-click on the StopHijackingMySleepButton.reg file to activate the registry hack. You shouldn’t have to restart anything, as the changes will happen immediately. There’s also a registry file to uninstall the hack.

I believe there is a similar option for XP, but I’m guessing the key is located in a different place.

 

Download StopHijackingMySleepButton Registry Hack

 

[출처: How-To Geek Stop Windows Update from Hijacking the Sleep/Shutdown Button ]