Search in uioop.blogspot.com

Showing posts with label xp CMD. Show all posts
Showing posts with label xp CMD. Show all posts

Friday, November 14, 2008

Run a program as an Administrator through CMD

RUNAS USAGE:

RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]
/user: program

RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]
/smartcard [/user:] program

RUNAS /trustlevel: program

/noprofile specifies that the user's profile should not be loaded.
This causes the application to load more quickly, but
can cause some applications to malfunction.
/profile specifies that the user's profile should be loaded.
This is the default.
/env to use current environment instead of user's.
/netonly use if the credentials specified are for remote
access only.
/savecred to use credentials previously saved by the user.
This option is not available on Windows Vista Home or Windo
ws Vista Starter Editions
and will be ignored.
/smartcard use if the credentials are to be supplied from a
smartcard.
/user should be in form USER@DOMAIN or DOMAIN\USER
/showtrustlevels displays the trust levels that can be used as arguments
to /trustlevel.
/trustlevel should be one of levels enumerated
in /showtrustlevels.
program command line for EXE. See below for examples

Examples:
> runas /noprofile /user:mymachine\administrator cmd
> runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
> runas /env /user:user@domain.microsoft.com "notepad \"my file.txt\""

LocalComputer
runas /env /user:Administrator "E:\xxx.exe"

NOTE: Enter user's password only when prompted.
NOTE: /profile is not compatible with /netonly.
NOTE: /savecred is not compatible with /smartcard.

Monday, August 25, 2008

108 Commands You can Execute from the Run Command Prompt in XP

Type the word: "control" at the command prompt.

You can also upon specific control panel folders by typing the following:
"Control Panel"
"Control desktop"
"Control color"
"Control date/time"
"Control international"
"Control mouse"
"Control keyboard"
"Control printers"
"Control fonts"

You can also open most of the components available in the control panel via Microsoft Management Console snap-ins. From the pompt, type the following commands to open their snap-in:

Certificate Manager: "certmgr.msc"
Indexing Service : "ciadv.msc"
Computer Management : "compmgmt.msc"
Device Manager : "devmgmt.msc"
Disk Defragmenter : "dfrg.msc"
Disk Management : "diskmgmt.msc"
Event Viewer : "eventvwr.msc"
Shared Folders : "fsmgmt.msc"
Group Policy : "gpedit.msc"
Local Users and Groups : "lusrmgr.msc"
Removable Storage : "ntmsmgr.msc"
Performance Monitor : "perfmon.msc"
Resultant Set of Policy : "rsop.msc"
Security Policy : "secpol.msc"
Services : "services.msc"
Windows Management Infrastructure : "wmimgmt.msc"

http://www.bloghash.com/2007/04/108-commands-you-can-execute-from-the-run-command-prompt-in-xp/

Mentioned below is a list of 108 commands that you can execute from the ‘Run’ command prompt in XP. All you have to do is click on Start » Click Run and type the below commands to run the respective application/tool.



COMMAND-Will run the following app/tool
access.cpl-Accessibility Controls
hdwwiz.cpl-Add Hardware Wizard
appwiz.cpl-Add/Remove Programs
certmgr.msc-Administrative Tools
charmap-Character Map
chkdsk-Check Disk Utility
clipbrd-Clipboard Viewer
cmd-Command Prompt
dcomcnfg-Component Services
compmgmt.msc-Computer Management
timedate.cpl-Date and Time Properties
ddeshare-DDE Shares
devmgmt.msc-Device Manager
directx.cpl-Direct X Control Panel (If Installed)
dxdiag-Direct X Troubleshooter
cleanmgr-Disk Cleanup Utility
dfrg.msc-Disk Defragment
diskmgmt.msc-Disk Management
diskpart-Disk Partition Manager
control desktop-Display Properties
desk.cpl-Display Properties
control color-Display Properties (w/Appearance Tab
Preselected)
drwtsn32-Dr. Watson System Troubleshooting
Utility
verifier-Driver Verifier Utility
eventvwr.msc-Event Viewer
sigverif-File Signature Verification Tool
findfast.cpl-Findfast
control folders-Folders Properties
control fonts-Fonts
fonts-Fonts Folder
freecell-Free Cell Card Game
joy.cpl-Game Controllers
gpedit.msc-Group Policy Editor (XP Prof)
mshearts-Hearts Card Game
iexpress-Iexpress Wizard
ciadv.msc-Indexing Service
inetcpl.cpl-Internet Properties
ipconfig /all-IP Configuration (Display Connection
Configuration)
ipconfig /displaydns-IP Configuration (Display DNS Cache
Contents)
ipconfig /flushdns-IP Configuration (Delete DNS Cache
Contents)
ipconfig /release-IP Configuration (Release All
Connections)
ipconfig /renew-IP Configuration (Renew All Connections)
ipconfig /registerdns-IP Configuration (Refreshes DHCP &
Re-Registers DNS)
ipconfig /showclassid-IP Configuration (Display DHCP Class ID)
ipconfig /setclassid-IP Configuration (Modifies DHCP Class
ID)
javaws-Java Control Panel (If Installed)
control keyboard-Keyboard Properties
secpol.msc-Local Security Settings
lusrmgr.msc-Local Users and Groups
logoff-Logs You Out Of Windows
winchat-Microsoft Chat
winmine-Minesweeper Game
control mouse-Mouse Properties
main.cpl-Mouse Properties
netstat -Netstat
control netconnections-Network Connections
ncpa.cpl-Network Connections
netsetup.cpl-Network Setup Wizard
notepad-Notepad
nvtuicpl.cpl-Nview Desktop Manager (If Installed)
packager-Object Packager
odbccp32.cpl-ODBC Data Source Administrator
osk-On Screen Keyboard
password.cpl-Password Properties
perfmon.msc-Performance Monitor
perfmon-Performance Monitor
telephon.cpl-Phone and Modem Options
powercfg.cpl-Power Configuration
control printers-Printers and Faxes
printers-Printers Folder
eudcedit-Private Character Editor
QuickTime.cpl-Quicktime (If Installed)
intl.cpl-Regional Settings
regedit-Registry Editor
mstsc-Remote Desktop
ntmsmgr.msc-Removable Storage
ntmsoprq.msc-Removable Storage Operator Requests
rsop.msc-Resultant Set of Policy (XP Prof)
sticpl.cpl-Scanners and Cameras
control schedtasks-Scheduled Tasks
wscui.cpl-Security Center
services.msc-Services
fsmgmt.msc-Shared Folders
shutdown-Shuts Down Windows
mmsys.cpl-Sounds and Audio
spider-Spider Solitare Card Game
cliconfg-SQL Client Configuration
sysedit-System Configuration Editor
msconfig-System Configuration Utility
sfc /scannow-System File Checker Utility (Scan
Immediately)
sfc /scanonce-System File Checker Utility (Scan Once At
Next Boot)
sfc /scanboot-System File Checker Utility (Scan On Every
Boot)
sfc /revert-System File Checker Utility (Return to
Default Setting)
sfc /purgecache-System File Checker Utility (Purge File
Cache)
sfc /cachesize=x-System File Checker Utility (Set Cache Size
to size x)
sysdm.cpl-System Properties
taskmgr-Task Manager
telnet-Telnet Client
tracert-Traceroute to hostname or IP
nusrmgr.cpl-User Account Management
utilman-Utility Manager
firewall.cpl-Windows Firewall
magnify-Windows Magnifier
wmimgmt.msc-Windows Management Infrastructure
syskey-Windows System Security Tool
wupdmgr-Windows Update Launches
tourstart-Windows XP Tour Wizard
write-Wordpad

AVG Internet Security 2013

Total Pageviews

Contributors