Search This Blog

Friday, April 15, 2011

Shutdown remote PC

Steps

  1. 1
    Make sure you have an administrative rights on the remote machine and you can PING it.

    Remote Access Software

     Free Remote Access to any PC. Download the Software for Free!
    www.TeamViewer.com/Remote_Access
  2. 2
    On your workstation - Click on Start > Run, Type shutdown -i
    click for bigger image
     click for bigger image
  3. 3
    select options to shutdown or restart
  4. 4
    Alternatively - Go to command prompt (start > run > cmd) on your workstation... and Type
    shutdown -r -m \\xxx.xxx.xxx.xxx
    Replace xxx.xxx.xxx.xxx with the IP address or computer name of the remote machine. -r option is for restart, don't use -r if want to just shut down the system.
    click for bigger image
     click for bigger image
  5. 5
    This article describes how to use the Remote Shutdown tool (Shutdown.exe) to shut down and restart a local or remote Windows 2000-based or Microsoft Windows NT 4.0-based computer.
  6. 6
    Shutdown.exe is available on the Microsoft Windows 2000 Resource Kit CD-ROM only. It is a command-line tool that you can use to shut down or to restart a local or remote computer that is running Windows 2000 or Windows NT 4.0. If you want to schedule a computer to shut down and restart at a specific time, use Shutdown.exe in combination with the at command or Task Scheduler.
  7. 7
    Note Shutdown.exe for Windows 2000 is no longer supported and is not available for download from Microsoft. This tool is available on the original Microsoft Windows 2000 Resource Kit CD-ROM only.
  8. 8
    Back to the top
  9. 9
    Description of the Shutdown.exe Tool
  10. 10
    Shutdown.exe uses the following syntax:
  11. 11
    shutdown \\computername /l /a /r /t:xx "msg" /y /c
  12. 12
    You can use the following switches with Shutdown.exe:
    • \\computername: Use this switch to specify the remote computer to shut down. If you omit this parameter, the local computer name is used.
    • /l (Note that this is a lowercase "L" character): Use this switch to shut down the local computer
    • /a: Use this switch to quit a shutdown operation. You can do this only during the time-out period. If you use this switch, all other parameters are ignored.
    • /r: Use this switch to restart the computer instead of fully shutting it down.
    • /t:xx: Use this switch to specify the time (in seconds) after which the computer is shut down. The default is 20 seconds.
    • "msg": Use this switch to specify a message during the shutdown process. The maximum number of characters that the message can contain is 127.
    • /y: Use this switch to force a "yes" answer to all queries from the computer.
    • /c: Use this switch quit all running programs. If you use this switch, Windows forces all programs that are running to quit. The option to save any data that may have changed is ignored. This can result in data loss in any programs for which data is not previously saved.
  13. 13
    Back to the top
  14. 14
    Examples
    • To shut down the local computer in two minutes and display a "The computer is shutting down" message, use the following line in a batch file or type it at a command prompt, and then press ENTER:
  15. 15
    shutdown /l /t:120 "The computer is shutting down" /y /c
  16. 16
    To cancel the shutdown process, type the following line at the command prompt, and then press ENTER:
  17. 17
    shutdown /l /a /y
    • To shut down and restart a remote computer named "Support," use the following line in a batch file or type it at a command prompt, and then press ENTER:
  18. 18
    shutdown \\support /r
    • To schedule the local computer to shutdown and restart at 10:00 P.M., type the following line at a command prompt, and then press ENTER:
  19. 19
    at 22:00 shutdown /l /r /y /c
    • To schedule the local computer to shutdown and restart at 6:00 P.M. every weekday, type the following line at a command prompt, and then press ENTER:
  20. 20
    at 18:00 /every:M,T,W,Th,F shutdown /l /r /y /c

Tuesday, April 12, 2011

credentials for resources outside your domain


I’m probably preaching to the choir here, but I’ve seen this happen occasionally at FCPS.

There is a function built into XP and 7 that allows you to save credentials for resources outside your domain. For example, your computer is joined to DomainA, but you want to gain access to resources on DomainB. Usually, you’re prompted for credentials. Stored Usernames and Passwords will allow you to save that info so you don’t have to keep reentering it. It’ll work for internal resources as well (file servers, things not on the domain)…

What I’ve noticed is that, sometimes after an employee changes their password, and doesn’t log off & log back onto their computer, Outlook gets confused, and continually requests credentials. For whatever reason, those credentials will get stored; more often than not, it’s the wrong credentials. I’ve seen this happen with network shares as well.

To remedy, I usually go to START > RUN > control userpasswords2 > Advanced tab > Manage Passwords > remove entries

“control userpasswords2” won’t work for me in 7, but it’s still somewhere under the control panel.

XP control panel:
START > RUN > CONTROL PANEL > USER ACCOUNTS >Advanced > Manage Passwords >remove entries
Publish Post

Wednesday, April 6, 2011

Setup Unsolicited Remote Assistance - Windows 7

Right click on desktop. Choose New --> Shortcut.

Copy and paste msra.exe /offerra in the Location field -->Next.

Type Remote Assistance as the Shortcut name (or whatever makes sense to you). --> Finish


Double click the new shortcut to initiate a remote control session.

remote assistance xp/7

Instructions for creating an Offer Remote Assistance shortcut on your desktop


  1. Right click on the Desktop and choose New Shortcut
  2. For the location, paste in:
    • Windows XP:  "%ProgramFiles%\Internet Explorer\iexplore"
      hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/Unsolicited/Unsolicitedrcui.htm
    • Windows 7: %windir%\system32\msra.exe /offerra
  3. Click Next and name the shortcut whatever you'd like

How to Change File Extension

XP

Control Panel>folder options> file type>


Windows 7
Control Panel>all control panel items>default programs>associate a file type  or protocol with a program.