You are on page 1of 7

================================================================================

How to Run a Program as an Administrator in Windows 7


http://www.sevenforums.com/tutorials/11841-run-administrator.html
================================================================================
1. Press and hold Ctrl+Shift while opening the program.
-------------------------------------------------------------------------------1. Right click on the shortcut of the program, then click on Properties.
2. Click on the Shortcut tab for a program shortcut, then cllick on the Advanced
button.
3. To Always Run this Program as an Administrator check the Run as administrator
box, and click on OK.
================================================================================
How to Create a Elevated Program Shortcut without a UAC Prompt
http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac
-prompt-create.html
================================================================================
1. Open the Start Menu, then type taskschd.msc in the search line and press ent
er.
NOTE: This will open Task Scheduler. This file is located at:
C:\Windows\system32\taskschd.msc.
2. In the far right pane, click on Create task.
3. Under the General tab, type in the "Name" of the program you want to create t
his shortcut for.
NOTE: This will be the name of the task. As an example, I will use CCleaner for
that program. Make note of this name, you will need it later in step 12 below.
4. Check the Run with highest privileges box.
5. Click on the Actions tab, then on the New button.
6. Under "Action", select Start a program and click on the Browse button.
7. Navigate to the .exe file of the program that you want to create this shortcu
t for, then select it and click on Open.
8. Click on OK.
9. Click on OK.
10. You will now see your new task created with the name (ex: CCleaner) you gave
it in step 3. Close Task Schedular.
11. Right click on a empty area of the desktop, then click on New and Shortcut.
12. Type in schtasks /run /tn task-name for the location, then click on the Next
button. (See screenshot below tip)
Tip
Subsitute task-name with the name that you used in step 3 and see in ste
p 10 (ex: CCleaner).
For a Name without Spaces - For example, type:
schtasks /run /tn CCleaner
For a Name with Spaces - You will need to have quotes around the name if it has
spaces. For example, type:
schtasks /run /tn "Cleaner Program"
13. Type in a name you want for the shortcut (ex: CCleaner), then click on the F

inish button.
14. Right click on the new shortcut (ex: CCleaner) on the desktop, then click on
Properties.
15. Click on the Shortcut tab and on the Change Icon button.
16. Click on OK.
17. Click on the Browse button.
18. Navigate to the .exe file of the program that you have created this shortcut
with, then select it and click on Open.
NOTE: If you have a icon of your own that you would prefer to use instead, then
navigate to where you have that icon saved at instead.
19. Select the icon you want for the shortcut, then click on OK.
20. Click on OK.
21. Move the shortcut to where you like for easy use.
22. When you run this new elevated shortcut, you will now no longer have to clic
k on YES to approve the UAC prompt to allow the program run as administrator.
Tip
To Undo This:
* Right click on the task in step 10, then click on Delete and Yes to approv
e.
* Delete shortcut.
================================================================================
Monitor attempts to access and change settings on your computer
http://windows.microsoft.com/en-us/windows7/Monitor-attempts-to-access-and-chang
e-settings-on-your-computer
================================================================================
Open Local Security Policy by clicking the Start button Picture of the Start but
ton, typing secpol.msc into the search box, and then clicking secpol. Administra
tor permission required If you're prompted for an administrator password or conf
irmation, type the password or provide confirmation.
In the left pane, double-click Local Policies, and then click Audit Policy.
Double-click the event type that you want to audit.
Select the Success or Failure check box, or both, and then click OK.
If you select Success, Windows will record any successful attempts to co
mplete the type of event that you are monitoring. For example, if you're auditin
g logon events, any time someone logs on to your computer would be considered a
successful logon event.
If you select Failure, any unsuccessful attempt to log on to your comput
er will be recorded.
If you select both Success and Failure, Windows will record all attempts
.
There is a limit to how many events can be recorded and, if the audit log gets t
oo full, it can slow down your computer. To make more space, you can delete even
ts from the log when you're viewing them in Event Viewer.

-------------------------------------------------------------------------------Open Event Viewer by clicking the Start button Picture of the Start button, clic
king Control Panel, clicking System and Security, clicking Administrative Tools,
and then double-clicking Event Viewer.? Administrator permission required If yo
u're prompted for an administrator password or confirmation, type the password o
r provide confirmation.
In the left pane, double-click Windows Logs, and then click Security.
Double-click an event to see the details.
================================================================================
Windows 7 Enable Telnet
http://www.fettesps.com/windows-7-enable-telnet/
================================================================================
1. Start
2. Control Panel
3. Programs And Features
4. Turn Windows features on or off
5. Check Telnet Client
6. Hit OK
================================================================================
Windows Help program (WinHlp32.exe) for Windows 7
http://www.microsoft.com/downloads/details.aspx?FamilyID=258aa5ec-e3d9-4228-8844
-008e02b32a2c&displaylang=en
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
How to disable autoconfiguration IPv4
http://social.technet.microsoft.com/Forums/en-US/winserverNIS/thread/3e26affd-bb
91-460a-b5fa-c7c0496c927c
================================================================================
Use Registry Editor to create the following registry key, where <var>adapter nam
e</var> is the name of the Dynamic Host Configuration Protocol (DHCP) configured
adapter where you want to disable APIPA:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters\Interface
s\<var>adapter name</var>
Add the following value to this key:
Value name: IPAutoconfigurationEnabled
Value type: REG_DWORD
Value in hexadecimal: 0 (A value of 0 disables APIPA support on this adapter)
NOTE: If the IPAutoconfigurationEnabled entry is not present, a default value of
1 is assumed, which indicates that APIPA is enabled.
After you make this change, restart your computer.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
DISABLE / ENABLE / HIDE / UNHIDE DRIVE
================================================================================
http://michael.anastasiou.me/en/component/content/article/7-how-to/30-how-to-ena
ble-or-disable-cd-rom-win-xpvista78
To Enable CD/DVD-Rom:
reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d
1 /f

To Disable CD/DVD-Rom:
reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d
4 /f
-------------------------------------------------------------------------------http://en.kioskea.net/faq/8502-hide-cd-dvdrom-drive-in-my-computer
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \
Explorer
Create new Dword and named it "Nodrives"
Assign value to your drive as show in example
=> Hide drive A : 1
=> Hide drive B : 2
=> Hide drive C : 4
=> Hide drive D : 8
=> Hide drive E : 16
=> Hide drive F : 32
=> Hide drive G : 64
=> Hide drive H : 128
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
FILES / FOLDERS / SEARCH
================================================================================
How to Add a Folder to the Windows 7 File Index
http://www.wikihow.com/Add-a-Folder-to-the-Windows-7-File-Index
Click the Start button and in the search box at the very bottom type "search
" then choose the result "Change How Windows Searches"
2
Choose the "Modify" button just below the list of indexed locations and this
will open the Indexed Locations window.
3
Browse your file structure in the topmost list and click the checkbox next t
o the folder to add the folder and all of its sub-directories to the index. You
can also click the small arrow between the check box and the location text to di
g one level in the directory structure.
4
Once you have selected all the folders you wish to have indexed you may choo
se OK, then Close on the Indexing Options window while Windows begins rebuilding
the Index to include your newly selected locations.
-------------------------------------------------------------------------------How to Make Windows 7 Search File Contents
http://www.wikihow.com/Make-Windows-7-Search-File-Contents
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
NETWORKING
================================================================================
How to turn your Windows 7 laptop into a wireless hotspot
http://www.techradar.com/news/computing/pc/how-to-turn-your-windows-7-laptop-int
o-a-wireless-hotspot-657138
netsh wlan set hostednetwork mode=allow ssid=AP-HOST key=########

netsh wlan start hostednetwork


Control Panel > Network and Internet > Network and Sharing Centre > Change Adapt
er Settings, right-click your internet connection and select Properties. Click t
he Sharing tab, check "Allow other network users to connect...", choose your vir
tual Wi-Fi adaptor - and that's it.
-------------------------------------------------------------------------------http://www.tomshardware.com/forum/29125-42-network-connections
If you install something like VirtualBox, you can create a guest VM on the host.
Now use the first network connection listed in Network Connections->Advanced->A
dvanced Settings->Adapters and Bindings->Connections for the host, and pass the
other network connection to the guest VM for virtualization. Whalla, each enviro
nment is using different network connections. And now you segregate/limit your a
ctivities by the choice of host or guest VM (i.e., INDIRECTLY).
-------------------------------------------------------------------------------Disable Homegroup
http://www.howtogeek.com/howto/27091/how-to-disable-or-enable-the-homegroup-feat
ure-in-windows-7/
Windows Explorer --> Right Click Homegroup --> Change HomeGroup settings --> Lea
ve the homegroup
Start --> services.msc --> Double click on HomeGroup Listener --> Change type to
Disabled and click on Stop
Repeat for HomeGroup Provider.
--------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
REGISTRY TWEAKS
================================================================================
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces
\{CB3482D2-B06A-45BF-AFB6-30D401D0E31C}\IPAutoconfigurationEnabled
-------------------------------------------------------------------------------http://www.askvg.com/yahoo-messenger-ad-remover/
HKEY_CURRENT_USER\Software\Yahoo\pager\Locale
Enable Messenger Ad
Change to 0 to remove ads from Yahoo Messenger.
OR
In hosts file set insider.msg.yahoo.com to 127.0.0.1
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
USEFUL COMMANDS
================================================================================
subst <driveletter> <folder path>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
HOW TO BACK UP AND RESTORE PINNED TASKBAR ITEMS IN WINDOWS 7
http://www.sevenforums.com/tutorials/212923-taskbar-backup-restore-pinned-itemswindows-7-a.html
In the registry:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband
In the hidden TaskBar folder:
C:\Users\(user-name)\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Us
er Pinned\TaskBar
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
--------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------================================================================================
================================================================================
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------