Windows Tech Tips

Discussions about stuff that isn't Hardware. Keep it legal, or at least vague enough to cover my ass if the lawyers gets on my case.
User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4232
Joined: Thu Dec 01, 2005 10:40 pm

Windows Tech Tips

Postby Mort » Wed Oct 03, 2012 10:04 am

I thought I had already started a topic like this, but this will now be it. It's just a collection of bits of info that I keep finding myself looking for every now and then, so I'm going to post them here as a quick way to know where to find them

------------------
Windows Update command line options:
http://technet.microsoft.com/en-us/library/cc720477(v=WS.10).aspx

All command line options

From a dump of the .exe (W2k3 R2 version ) we can extract the following options:
/DetectNow
/ReportNow
/RunHandlerComServer
/RunStoreAsComServer
/ShowSettingsDialog
/ResetAuthorization
/ResetEulas
/ShowWU
/ShowWindowsUpdate
/SelfUpdateManaged
/SelfUpdateUnmanaged
/UpdateNow
/ShowWUAutoScan
/ShowFeaturedUpdates
/ShowOptions
/ShowFeaturedOptInDialog
/DemoUI

The command 'wuauclt /ResetAuthorization /DetectNow' is a good way to "reset" WU if required

"wuauclt /demoui" is a good way to mess with peoples computers. Try setting up a task to run it every 10 minutes!

User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4232
Joined: Thu Dec 01, 2005 10:40 pm

Re: Windows Tech Tips

Postby Mort » Wed Oct 03, 2012 10:06 am

BITS Service

bitsadmin is going to be replaced by powershell sometime, but until then...

Show all jobs pending download
bitsadmin /list /allusers

Clear all jobs
bitsadmin /reset /allusers

If the reset command doesn't work (normal for SYSTEM initiated jobs) then

Code: Select all

net stop bits
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
net start bits

User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4232
Joined: Thu Dec 01, 2005 10:40 pm

Re: Windows Tech Tips

Postby Mort » Tue Oct 16, 2012 9:11 am

Windows 8 "Run as different user" isn't enabled by default for the start page. Here' how to enable it:
http://www.ghacks.net/2012/08/05/add-ru ... startpage/

Local Computer Policy > User configuration > Administrative Templates > Start Menu and Taskbar.
Show “Run as different user” command on Start

Ironically, I discovered this while trying to open Group Policy Manager, which is what you use to enable the policies like this one in a domain.

User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4232
Joined: Thu Dec 01, 2005 10:40 pm

Re: Windows Tech Tips

Postby Mort » Tue Oct 30, 2012 10:43 pm

Set internet time sync
http://www.pool.ntp.org/en/use.html
http://technet.microsoft.com/en-us/libr ... 97(v=ws.10).aspx


On AD Domain Controller with PDC Emulator role get time from Internet

Code: Select all

w32tm /config /manualpeerlist:au.pool.ntp.org /syncfromflags:manual /reliable:yes /update


For DMZ workgroup computers or Virtual Host machines get time from Internet

Code: Select all

w32tm /config /manualpeerlist:au.pool.ntp.org /syncfromflags:manual /update


For domain members get time from Domain

Code: Select all

w32tm /config /syncfromflags:domhier /update


Check current status

Code: Select all

w32tm /query /status [/verbose]

User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4232
Joined: Thu Dec 01, 2005 10:40 pm

Re: Windows Tech Tips

Postby Mort » Sun Dec 09, 2012 9:00 am

Computer wakes up "for no reason" by itself at 7:00

if you have Media Centre installed there is an update task that it runs that is set to wake the computer if required. To stop the automatic wake up, modify the task to disable that function

Open Task Scheduler
Navigate to "Microsoft | Windows | Media Center"
Edit the "mcupdate_scheduled" task, go to Conditions and untick the "wake the computer..." option
Image

User avatar
Brad
Comfortable with my sexuality
Comfortable with my sexuality
Posts: 1195
Joined: Fri Dec 02, 2005 7:49 am
Location: planting RDX on your tank

Re: Windows Tech Tips

Postby Brad » Sun Dec 09, 2012 4:11 pm

When adding a new hard drive to an existing Windows 8 machine, by default it will get added to Storage Spaces (which is a dynamically managed storage pool). Ok, except it doesn't actually tell you what it is doing. So if you are then looking around to format the new drive, the disk will not appear in the disk management dialog - It does appear in device management so that I knew the computer actually knew about the disk.
Instead you have to go into the storage spaces management, release it from storage spaces and then it will appear in the disk management dialog and can be formatted.

This behaviour occurs for USB disks, as well as SATA / IDE...

B
I thought I had an appetite for destruction, but all I wanted was a club sandwich.


Return to “Software”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests