In addition to serving as a host, a LAN (or local area network) also gives users a certain amount of control over the PCs that are connected to a network. Included in this is the ability to turn a computer on or off from a remote location.
This article will explain how to use the Shutdown command to turn off a computer remotely as well as how to use the WakeOnLan standard to wake or boot a PC.
This method was tested using a Windows XP Professional computer.
In order to control a computer remotely, please note that you must be connected to the same local network as the target PC. You must also know the username and password required for login.
The first step is to open TCP port 445 on the target computer. To do this, open your Start menu and then go to Settings > Control Panel > Security Center.
Open Windows Firewall and click the Exceptions tab.
Select the line that reads File Sharing and printers and press OK. If this line is missing, click Add Port and choose TCP port 445 .
Next, head to Start > Settings > Control Panel > System. Select the Remote tab and check the option that reads Allow users to connect remotely to this computer.
It is now time to open the command prompt.
Head to Start/Run or use the keyboard shortcut Windows + R. Next, type cmd and then hit OK. This will open your command prompt.
To obtain the necessary rights to run a shutdown command on the target machine, you must first run the net use command. Use the Windows + R keyboard shortcut and then enter net use \\ip_address_of_target_machine. Enter an administrator username and password for the target computer to connect to the target PC.
Once connected to the target PC, we can run the shutdown command. An example of the command is given below, whereby instructions are given for the target computer to close all active applications and shutdown after 30 seconds of inactivity. Please note that you can substitute any of the variables according to your network or PC specifics:
shutdown -s -f -t 30 - m \\192.168.3.4
-s: Shutdown the PC
-f: Force active applications to close without warning
-t xx: Set a countdown in seconds
-m \\xxx.xxx.xxx.xxx: The IP address of the target computer
The GUI is available by typing shutdown -i.
For any additional information about this command, type shutdown /?.
The WakeOnLAN Command
WakeOnLAN, as the name already suggests, is a tool that can boot or wake a computer by sending a Magic Packet to the network adapter of the target computer. It is important to note that not all network cards and BIOS are compatible with, or support, the use of Magic Packet.
In order to use the WakeOnLAN command, you must be connected to the same local area network (LAN) as the target computer. Knowledge of the physical location (MAC) and IP address of the target computer is also required.
Retrieve IP and MAC Address
The first step is to retrieve the IP address and MAC address of the target computer. To do this, go to Start/Run or use the keyboard shortcutWindows + R and type cmd > OK.
The command prompt will open. Now type ipconfig /all:
Copy the IP and physical (MAC) address of the target PC.
Compatibility Checks
It’s now time to check if your network card is compatible with Magic Packets. To do this, right-click on My Computer and click Manage. Next, go to Device Manager/Network Cards and do a right-click on your Network Card. Then click Properties.
Do a search for the following words and verify that all options that relate to them are currently active: Magic Packet, Wake On Magic Packet, Wake On Lan, or Wake. If none of these words appear, you may be required to update the drivers for your Network Card.
To see if your computer is BIOS compatible, enter the BIOS when you start the computer. You can do this by pressing ESC, F2, F5, F12 or DEL (depending on your system).
Once in the BIOS, go Power Options and enable Wake-On-LAN, or any similar option:
Open Port 8900
You can open Port 8900 in the same way as you would Port 445.
Wake On LAN (WOL)
Start by downloading the Symantec WOL tool on the source computer. Launch the tool and then fill in the empty fields using the information gathered above.
Mac Address: MAC address (the target machine)
Internet Address: Local IP address (target machine)
Subnet Mask: 255.255.255.255
Send Options: Local Subnet
Remote Port Number: 8900
Click the button: Wake Me Up
Once the packet has been received, the target computer will boot:
If you’ve been listening to various police agencies and their supporters, then you know what the future holds: anarchy is coming — and it’s all the fault of activists.
In May, a Wall Street Journal op-ed warned of a “new nationwide crime wave” thanks to “intense agitation against American police departments” over the previous year. New Jersey Governor Chris Christie went further. Talking recently with the host of CBS’s Face the Nation, the Republican presidential hopeful asserted that the Black Lives Matter movement wasn’t about reform but something far more sinister. “They’ve been chanting in the streets for the murder of police officers,” he insisted. Even the nation’s top cop, FBI Director James Comey, weighed in at the University of Chicago Law School, speaking of “a chill wind that has blown through American law enforcement over the last year.”
According to these figures and others like them, lawlessness has been sweeping the nation as the so-called Ferguson effect spreads. Criminals have been emboldened as police officers are forced to think twice about doing their jobs for fear of the infamy of starring in the next viral video. The police have supposedly become the targets of assassins intoxicated by “anti-cop rhetoric,” just as departments are being stripped of the kind of high-powered equipment they need to protect officers and communities. Even their funding streams have, it’s claimed, come under attack as anti-cop bias has infected Washington, D.C. Senator Ted Cruz caught the spirit of that critique byconvening a Senate subcommittee hearing to which he gave the title, “The War on Police: How the Federal Government Undermines State and Local Law Enforcement.” According to him, the federal government, including the president and attorney general, has been vilifying the police, who are now being treated as if they, not the criminals, were the enemy.
Beyond the storm of commentary and criticism, however, quite a different reality presents itself. In the simplest terms, there is no war on the police. Violent attacks against police officers remain at historic lows, even though approximately 1,000 people have been killed by the police this year nationwide. In just the past few weeks, videos have been released of problematic fatal police shootings in San Francisco and Chicago.
While it’s too soon to tell whether there has been an uptick in violent crime in the post-Ferguson period, no evidence connects any possible increase to the phenomenon of police violence being exposed to the nation. What is taking place and what the police and their supporters are largely reacting to is a modest push for sensible law enforcement reforms from groups as diverse asCampaign Zero, Koch Industries, the Cato Institute, The Leadership Conference, and the ACLU (my employer). Unfortunately, as the rhetoric ratchets up, many police agencies and organizations are increasingly resistant to any reforms, forgetting whom they serve and ignoring constitutional limits on what they can do.
Indeed, a closer look at law enforcement arguments against commonsense reforms like independently investigating police violence, demilitarizing police forces, or ending “for-profit policing” reveals a striking disregard for concerns of just about any sort when it comes to brutality and abuse. What this “debate” has revealed, in fact, is a mainstream policing mindset ready to manufacture fear without evidence and promote the belief that American civil rights and liberties are actually an impediment to public safety. In the end, such law enforcement arguments subvert the very idea that the police are there to serve the community and should be under civilian control.
And that, when you come right down to it, is the logic of the police state.
Due Process Plus
It’s no mystery why so few police officers are investigated and prosecuted for using excessive force and violating someone’s rights. “Local prosecutors rely on local police departments to gather the evidence and testimony they need to successfully prosecute criminals,” according to Campaign Zero . “This makes it hard for them to investigate and prosecute the same police officers in cases of police violence.”
Since 2005, according to an analysis by theWashington Post and Bowling Green State University, only 54 officers have been prosecuted nationwide, despite the thousands of fatal shootings by police. As Philip M. Stinson, a criminologist at Bowling Green, puts it, “To charge an officer in a fatal shooting, it takes something so egregious, so over the top that it cannot be explained in any rational way. It also has to be a case that prosecutors are willing to hang their reputation on.”
For many in law enforcement, however, none of this should concern any of us. When New York Governor Andrew Cuomo signed an executive order appointing a special prosecutor to investigate police killings, for instance, Patrick Lynch, president of the Patrolmen’s Benevolent Association, insisted: “Given the many levels of oversight that already exist, both internally in the NYPD [New York Police Department] and externally in many forms, the appointment of a special prosecutor is unnecessary.” Even before Cuomo’s decision, the chairman of New York’s District Attorneys Association calledplans to appoint a special prosecutor for police killings “deeply insulting.”
Such pushback against the very idea of independently investigating police actions has, post-Ferguson, become everyday fare, and some law enforcement leaders have staked out a position significantly beyond that. The police, they clearly believe, should get special treatment.
“By virtue of our dangerous vocation, we should expect to receive the benefit of the doubt in controversial incidents,” wrote Ed Mullins, the president of New York City’s Sergeants Benevolent Association, in the organization’s magazine, Frontline. As if to drive home the point, its cover depicts Baltimore State Attorney Marilyn Mosby under the ominous headline “The Wolf That Lurks.” In May, Mosby had announced indictments of six officers in the case of Freddie Gray, who died in Baltimore police custody the previous month. The message being sent to a prosecutor willing to indict cops was hardly subtle: you’re a traitor.
Mullins put forward a legal standard for officers accused of wrongdoing that he would never support for the average citizen — and in a situation in which cops already get what former federal prosecutor Laurie Levenson calls “a super presumption of innocence.” In addition, police unions in many states have aggressively pushed for their own bills of rights, which make it nearly impossible for police officers to be fired, much less charged with crimes when they violate an individual’s civil rights and liberties.
In 14 states, versions of a Law Enforcement Officers’ Bill of Rights (LEOBR) have already been passed, while in 11 others they are under consideration. These provide an “extra layer of due process” in cases of alleged police misconduct, according to Samuel Walker, an expert on police accountability. In many of the states without a LEOBR, the Marshall Project has discovered, police unions have directly negotiated the same rights and privileges with state governments.
LEOBRs are, in fact, amazingly un-American documents in the protectionsthey afford officers accused of misconduct during internal investigations, rights that those officers are never required to extend to their suspects. Though the specific language of these laws varies from state to state, notesMike Riggs in Reason, they are remarkably similar in their special considerations for the police.
“Unlike a member of the public, the officer gets a ‘cooling off’ period before he has to respond to any questions. Unlike a member of the public, the officer under investigation is privy to the names of his complainants and their testimony against him before he is ever interrogated. Unlike a member of the public, the officer under investigation is to be interrogated ‘at a reasonable hour,’ with a union member present. Unlike a member of the public, the officer can only be questioned by one person during his interrogation. Unlike a member of the public, the officer can be interrogated only ‘for reasonable periods,’ which ‘shall be timed to allow for such personal necessities and rest periods as are reasonably necessary.’ Unlike a member of the public, the officer under investigation cannot be ‘threatened with disciplinary action’ at any point during his interrogation. If he is threatened with punishment, whatever he says following the threat cannot be used against him.”
The Marshall Project refers to these laws as the “Blue Shield” and “the original Bill of Rights with an upgrade.’’ Police associations, naturally, don’t agree. “All this does is provide a very basic level of constitutional protections for our officers, so that they can make statements that will stand up later in court,” says Vince Canales, the president of Maryland’s Fraternal Order of Police.
Put another way, there are two kinds of due process in America — one for cops and another for the rest of us. This is the reason why the Black Lives Matter movement and other civil rights and civil liberties organizations regularly call on states to create a special prosecutor’s office to launch independent investigations when police seriously injure or kill someone.
The Demilitarized Blues
Since Americans first took in those images from Ferguson of police units outfitted like soldiers, riding in military vehicles, and pointing assault rifles at protesters, the militarization of the police and the way the Pentagon has been supplying them with equipment directly off this country’s distant battlefields have been top concerns for police reformers. In May, the Obama administration suggested modest changes to the Pentagon’s 1033 program, which, since 1990, has been redistributing weaponry and equipment to police departments nationwide — urban, suburban, and rural — in the name of fighting the war on drugs and protecting Americans from terrorism.
Even the idea that the police shouldn’t sport the look of an occupying army in local communities has, however, been met with fierce resistance. Read, for example, the online petition started by the National Sheriffs’ Association and you could be excused for thinking that the Obama administration was aggressively moving to stop the flow of military-grade equipment to local and state police agencies. (It isn’t.) The message that tops the petition is as simple as it is misleading: “Don’t strip law enforcement of the gear they need to keep us safe.”
The Obama administration has done no such thing. In May, the presidentannounced that he was prohibiting certain military-grade equipment from being transferred to state and local law enforcement. “Some equipment made for the battlefield is not appropriate for local police departments,” he said. The list included tracked armored vehicles (essentially tanks), bayonets, grenade launchers, camouflage uniforms, and guns and ammo of .50 caliber or higher. In reality, what use could a local police department have for bayonets, grenade launchers, or the kinds of bullets that resemble small missiles, pierce armor, and can blow people’s limbs off?
Yet the sheriffs’ association has no problem complaining that “the White House announced the government would no longer provide equipment like helicopters and MRAPs [mine-resistant ambush-protected vehicles] to local law enforcement.” And it’s not even true. Police departments can still obtain both helicopters and MRAPs if they establish community policing practices, institute training protocols, and get community approval before the equipment transfer occurs.
“Helicopters rescue runaways and natural disaster victims,” the sheriff’s association adds gravely, “and MRAPs are used to respond to shooters who barricade themselves in neighborhoods and are one of the few vehicles able to navigate hurricane, snowstorm, and tornado-strewn areas to save survivors.”
As with our wars abroad, think mission creep at home. A program started to wage the war on drugs, and strengthened after 9/11, is now being justified on the grounds that certain equipment is useful during disasters or emergencies. In reality, the police have clearly become hooked on a militarized look. Many departments are ever more attached to their weapons of war and evidently don’t mind the appearance of being an occupying force in their communities, which leaves groups like the sheriffs’ association fighting fiercely for a militarized future.
Legal Plunder
In July, the American Civil Liberties Union and the ACLU of Arizona suedlaw enforcement in Pinal County, Arizona, on behalf of Rhonda Cox. Two years before, her son had stolen some truck accessories and, without her knowledge, fitted them on her truck. When the county sheriff’s department arrested him, it also seized the truck.
Arriving on the scene of her son’s arrest, Cox asked a deputy about getting her truck back. No way, he told her. After she protested, explaining that she had nothing to do with her son’s alleged crimes, he responded “too bad.” Under Arizona law, the truck could indeed be taken into custody and kept or sold off by the sheriff’s department even though she was never charged with a crime. It was guilty even if she wasn’t.
Welcome to America’s civil asset forfeiture laws, another product of law enforcement’s failed war on drugs, updated for the twenty-first century. Originally designed to deprive suspected real-life Scarfaces of the spoils of their illicit trade — houses, cars, boats — it now regularly deprives people unconnected to the war on drugs of their property without due process of law and in violation of the Fifth and Fourteenth Amendments. Not surprisingly, corruption follows.
Federal and state law enforcement can now often keep property seized or sell it and retain a portion of the revenue generated. Some of this, in turn, can be repurposed and distributed as bonuses in police and other law enforcement departments. The only way the dispossessed stand a chance of getting such “forfeited” property back is if they are willing to take on the government in a process where the deck is stacked against them.
In such cases, for instance, property owners have no right to an attorney to defend them, which means that they must either pony up additional cash for a lawyer or contest the seizure themselves in court. “It is an upside-down world where,” says the libertarian Institute for Justice, “the government holds all the cards and has the financial incentive to play them to the hilt.”
In this century, civil asset forfeiture has mutated into what’s now called “for-profit policing” in which police departments and state and federal law enforcement agencies indiscriminately seize the property of citizens who aren’t drug kingpins. Sometimes, for instance, distinctly ordinary citizenssuspected of driving drunk or soliciting prostitutes get their cars confiscated. Sometimes they simply get cash taken from them on suspicion of low-level drug dealing.
Like most criminal justice issues, race matters in civil asset forfeiture. This summer, the ACLU of Pennsylvania issued a report, Guilty Property, documenting how the Philadelphia Police Department and district attorney’s office abused state civil asset forfeiture by taking at least $1 million from innocent people within the city limits. Approximately 70% of the time, those people were black, even though the city’s population is almost evenly dividedbetween whites and African-Americans.
Currently, only one state, New Mexico, has done away with civil asset forfeiture entirely, while also severely restricting state and local law enforcement from profiting off similar national laws when they work with the feds. (The police in Albuquerque are, however, actively defying the new law, demonstrating yet again the way in which police departments believe the rules don’t apply to them.) That no other state has done so is hardly surprising. Police departments have become so reliant on civil asset forfeiture to pad their budgets and acquire “little goodies” that reforming, much less repealing, such laws are a tough sell.
As with militarization, when police defend such policies, you sense their urgent desire to maintain what many of them now clearly think of as police rights. In August, for instance, Pinal County Sheriff Paul Babeu sent afundraising email to his supporters using the imagined peril of the ACLU lawsuit as clickbait. In justifying civil forfeiture, he failed to mention that a huge portion of the money goes to enrich his own department, but praised the program in this fashion:
“[O]ver the past seven years, the Pinal County Sheriff’s Office has donated $1.2 million of seized criminal money to support youth programs like the Boys & Girls Clubs, Boy Scouts, YMCA, high school graduation night lock-in events, youth sports as well as veterans groups, local food banks, victims assistance programs, and Home of Home in Casa Grande.”
Under this logic, police officers can steal from people who haven’t even been charged with a crime as long as they share the wealth with community organizations — though, in fact, neither in Pinal County or elsewhere is that where most of the confiscated loot appears to go. Think of this as the development of a culture of thievery masquerading as Robin Hood in blue.
Contempt for Civilian Control
Post-Ferguson developments in policing are essentially a struggle over whether the police deserve special treatment and exceptions from the rules the rest of us must follow. For too long, they have avoided accountability for brutal misconduct, while in this century arming themselves for war on America’s streets and misusing laws to profit off the public trust, largely in secret. The events of the past two years have offered graphic evidence that police culture is dysfunctional and in need of a democratic reformation.
There are, of course, still examples of law enforcement leaders who see the police as part of American society, not exempt from it. But even then, the reformers face stiff resistance from the law enforcement communities they lead. In Minneapolis, for instance, Police Chief Janeé Harteau attempted to have state investigators look into incidents when her officers seriously hurt or killed someone in the line of duty. Police union opposition killed her plan. In Philadelphia, Police Commissioner Charles Ramsey ordered his department to publicly release the names of officers involved in shootings within 72 hours of any incident. The city’s police union promptly challenged his policy, while the Pennsylvania House of Representatives passed a bill in November to stop the release of the names of officers who fire their weapon or use force when on the job unless criminal charges are filed. Not surprisingly, three powerful police unions in the state supported the legislation.
In the present atmosphere, many in the law enforcement community see the Harteaus and Ramseys of their profession as figures who don’t speak for them, and groups or individuals wanting even the most modest of police reforms as so many police haters. As former New York Police Department Commissioner Howard Safir told Fox News in May, “Similar to athletes on the playing field, sometimes it’s difficult to tune out the boos from the no-talents sipping their drinks, sitting comfortably in their seats. It’s demoralizing to read about the misguided anti-cop gibberish spewing from those who take their freedoms for granted.”
The disdain in such imagery, increasingly common in the world of policing, is striking. It smacks of a police-state, bunker mentality that sees democratic values and just about any limits on the power of law enforcement as threats. In other words, the Safirs want the public — particularly in communities of color and poor neighborhoods — to shut up and do as it’s told when a police officer says so. If the cops give the orders, compliance — so this line of thinking goes — isn’t optional, no matter how egregious the misconduct or how sensible the reforms. Obey or else.
The post-Ferguson public clamor demanding better policing continues to get louder, and yet too many police departments have this to say in response: Welcome to Cop Land. We make the rules around here.
If you want to give the impression that you’ve been using Windows 10 for years, learning a few keyboard shortcuts is the best way to go about it—you can navigate around the interface, get apps in position, trigger events, change settings and more with a couple of taps on your keyboard. Here are the shortcuts we’ve been finding most useful.
Window snapping has changed slightly in Windows 10 and so have the shortcuts. App windows can be snapped to either side of the screen, as in Windows 8, but you can also assign them to quadrants and get four windows open on screen simultaneously.
Windows Key+Left — snap active window to the left.
Windows Key+Right — snap active window to the right.
Windows Key+Up — snap the active window to the top.
Windows Key+Down — snap the active window to the bottom.
Bonus: Whenever you snap a window to a side or a quadrant, Windows will automatically suggest you pick one of your open apps to fill the remaining real estate on your desktop.
Virtual desktops
Official support for virtual desktops is one of the most exciting new additions in Windows 10—unless you’ve been developing a third-party utility to do the same job! It’s kind of like having extra invisible monitors. Each desktop can have its own set of apps but shortcuts and wallpaper are consistent across the board.
Windows Key+Ctrl+D — create a new virtual desktop.
Windows Key+Ctrl+Left — scroll through your desktops to the left.
Windows Key+Ctrl+Right — scroll through your desktops to the right.
Windows Key+Ctrl+F4 — close the current desktop.
Windows Key+Tab — see all your desktops (and open apps!) via the Task View page.
Cortana and settings
As you’ll know by now, Cortana has arrived on the desktop. If you don’t feel entirely comfortable shouting out “hey Cortana!” across a crowded room, then there are keyboard shortcuts that can help—once Cortana is active, you can choice voice or keyboard input.
Windows Key+Q — open up Cortana ready for voice input.
Windows Key+S — open up Cortana ready for typed input.
Windows Key+I — open up the Windows 10 settings pane.
Windows Key+A — open up Windows 10 notifications (Action Center).
Windows Key+X — open the Start button context menu (the one with easy access to a host of common computer management features—like the Command Prompt below).
Command prompt
The new Windows 10 command prompt gets new keyboard shortcuts as well. To use them, right-click on the command prompt title bar and choose Properties. On the Options tab, untick Use legacy console and enable Ctrl key shortcuts as well as the two text selection options.
Shift+Left — highlight text to the left of the cursor.
Shift+Right — highlight text to the left of the cursor.
Ctrl+Shift+Left (or Right)— highlight blocks of text instead of just characters at a time.
Ctrl+C — copy selected text to the Windows clipboard.
Ctrl+V — paste text from the Windows clipboard into command prompt.
Ctrl+A — select all text after the prompt.
These work in other text-based applications as well, but they’re new to Command Prompt.
Finding your way around
Besides all the new Windows 10 keyboard shortcuts, there are plenty of old classics that have survived successive versions of the operating system and are still going strong. Here are the combinations you’re going to need to navigate around the interface.
Windows Key+, — temporarily hide apps to briefly show the desktop.
Windows Key+D — minimize apps to go straight to the desktop.
Ctrl+Shift+M — restore all minimized windows to full-size (useful after a Win + D)
Windows Key+Home — minimize all windows except the one you’re actively using
Windows Key+L — lock your PC and go to the lock screen.
Windows Key+E — launch File Explorer (aka Windows Explorer).
Alt+Up — go up one level in File Explorer.
Alt+Left — go to the previous folder in File Explorer.
Alt+Right — go to the next folder in File Explorer.
Alt+Tab — switch between windows. (Hold down Alt while tapping Tab to pick visually).
Alt+F4 — close the current window.
Windows Key+Shift+Left (or Right)— move a window to your next monitor.
Windows Key+T — cycle through taskbar items (hit Enter to launch).
Windows Key+Any Number Key — open the app pinned to the taskbar in the numbered position (e.g. Win+2 launches the app in your second taskbar slot)
Going deeper into Windows
Unlock parts of Windows you never knew existed: Here are the shortcuts you need if you want to go way beyond the surface of the software into settings and options that would otherwise be difficult to find. Don’t click on anything unless you know what you’re doing.
Ctrl+Shift+Esc — open the Windows 10 Task Manager.
Windows Key+R — open the Run dialog box.
Shift+Delete — delete files without sending them to the Recycle Bin.
Alt+Enter — show the properties of the currently selected file.
Windows Key+U — open the Ease of Access Center.
Windows Key+Space — switch input language and keyboard.
Windows Key+Shift+Any Number Key — launch a new instance of the app in the numbered taskbar slot
Windows Key+Ctrl+Shift+Any Number Key — same, but launch the app with admin powers enabled
Pictures, video and display
As you would expect, Windows 10 is a very visual OS and there are keyboard shortcuts to help you capture screenshots, record on-screen activity and zoom in and out. Note that to use theGame DVR recorder app you’re going to need a decent graphics setup installed.
Windows Key+PrtScr — take a screenshot saved to your Pictures folder.
Windows Key+G — open the Game DVR recorder (if supported by your graphics card).
Windows Key+Alt+G — start recording activity in the current window.
Windows Key+Alt+R — stop recording in the Game DVR.
Windows Key+P — switch between display modes (with a secondary display connected).
Windows Key+plus — zoom in using the Magnifier utility.
Windows Key+minus — zoom out using the Magnifier utility.
Find even more obscure keyboard shorts at this link.