Archive for the ‘Windows’ Category.

Windows “net use” commands

net localgroup administrators <- See who is part of the adminstrator group
net use g: \\nas\media <- Mount share as g:
net use g:\\nas\media /USER:cainmanor.local\gregcain <- Mount share as g:, for user gregcain in domain cainmanor.local
net use g: \\nas\media /DELETE <- Delete share
net use /PERSISTENT:yes <- Make current connections persistent across reboots

Short list of important mmc plugins

My most used are…

Disk Management diskmgmt.msc
Local Users & Groups lusrmgr.msc
Event Viewer eventvwr.msc
Active Directory Users & Computers dsa.msc
The full list after the jump

Continue reading ‘Short list of important mmc plugins’ »

VMware Infrastructure Client 2.5 Authentication passthrough

To keep from typing your password when using VI Client 2.5, instead of

"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe"

Use

"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -passthroughAuth -s [admin console DNS Name]

Your would need to be logged in with the appropriate credentials on your client.

32 CPU Superdome

Something you don’t see every day…

Considerations when moving SAV CE v10 from UNC to HTTP updates

I didn’t see this documented anywhere, but you have to create the following MIME types on your web server when you move to HTTP updates as your transport.

IS Manager -> <your server> -> Default Web Site -> Your Directory -> properties.

Go to http header -> MIME Types. Add

.m25 application/binary (for v10)
.x86 application/binary (for v8 & v9)

If Windows 2000 Add/Remove programs doesn’t open

From a command window run…

regsvr32 mshtml.dll
regsvr32 shdocvw.dll -i
regsvr32 shell32.dll -i

After each command, you’ll get a pop-up window saying “xxx was registered”
I support a lot of W2K boxes :(

Some quick SQL tips for myself

osql -E- Login with your Windows credential

to change your authentication mode to Mixed Mode (meaning you can use both local password such as sa, and Windows Credentials), change…

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\LoginMode from 1 (default) to 2(mixed).

Now that you have mixed, mode you can change the sa password..

osql -E

sp_password NULL,”<new-password>”,sa

go