Windows Vista - PowerCram Blog - Page 2

Disable/Enable User Access Control (UAC) on Windows 7 or Vista from the Command Line

Microsoft introduced User Account Control (UAC) in Windows Vista. UAC enables users to perform common tasks as non-administrators, called standard users in Windows (Vista and Windows 7), and as administrators without having to switch users, log off, or use Run As. A standard user account is synonymous with a user account in Windows XP. User accounts that are members of […]

How to Install Exchange 2007 SP1 Prerequisites on Windows Server 2008 or Windows Vista

Launch a command prompt window as Administrator and run the following in order: ServerManagerCmd -i Web-MetabaseServerManagerCmd -i Web-Lgcy-Mgmt-Console ServerManagerCmd -i PowerShell ServerManagerCmd -i Web-ServerServerManagerCmd -i Web-ISAPI-ExtServerManagerCmd -i Web-MetabaseServerManagerCmd -i Web-Lgcy-Mgmt-ConsoleServerManagerCmd -i Web-Basic-AuthServerManagerCmd -i Web-Digest-AuthServerManagerCmd -i Web-Windows-AuthServerManagerCmd -i Web-Dyn-Compression ServerManagerCmd -i RPC-over-HTTP-proxy

Schedule Windows reboot (restart) from command line with schtasks

Schedule one-time reboot: schtasks /create /tn “Reboot” /tr “shutdown /r /t 1” /sc once /st 01:00:00 /sd 08/18/2009 /ru “System” Create scheduled task to run twice daily: schtasks /create /tn “TTF” /tr “C:TempTttf.bat” /sc daily /st 06:00:00 /sd 08/25/2009 /ri 720 /du 720 /ru “System” Create scheduled task to run every weekday, M-F: schtasks /create /tn “Reboot” /tr […]

Windows Command Line Tricks

Here are a few Windows command line tricks that might make your life easier. Save A List of Files to a Text File by Extension dir *.ext /s /b > files.txt This command line will create a file called files.txt. When you open this file, there will be a complete list of all the files in that directory […]