onsdag 27. juni 2012

Elevate in the middle of a batch-file

Have you ever run into an issue where you need to elevate during a script. Sometimes it's more convenient to allow users to run the scripts themselves, and if they are local admins they can do some serious changes also with a script. If you place your script on a mapped network drive, and they right-click that batch-file and select run as administrator, the administrative profile would not have any mapped drives, and trying to run the script will fail miserably.

Here is the solution:
http://technet.microsoft.com/en-us/magazine/2007.06.utilityspotlight.aspx?pr=blog

Examples:
elevate net stop spooler
elevate REG ADD HKLM\Software\Blabla /v Enabled /t REG_SZ /d 1

mandag 4. juli 2011

Scripte i en OSD-fil

Gjør dette ganske ofte, men må til stadig kikke i dette dokumentet for å huske syntax.

tirsdag 6. juli 2010

Citrix/RDP Shortcut Keys... The Cheat Sheet - RIA Grande

Terminal Server / Remote Desktop Client Shortcut Keys

Key combination Function Similar local keys
CTRL+ALT+END Opens the Windows Security dialog box

CTRL+ALT+DELETE
CTRL+ALT+BREAK Toggles the Terminal Services client display from window to full screen

NONE
ALT+INSERT Cycles through running programs on the remote computer

ALT+TAB
ALT+HOME Displays the remote computer's Start menu

ALT+DELETE Displays the remote window's Control menu

ALT+SPACE BAR
CTRL+ALT+NUMBER PAD MINUS Places an image of active window onto the TS clipboard

ALT+PRINT SCREEN
CTRL+ALT+NUMBER PAD PLUS Places an image of the entire Terminal Services client on the Terminal Services clipboard PRINT SCREEN

Citrix ICA Client Shortcut Keys

Key combination Function Similar local keys
SHIFT+F1
The Task List hotkey displays the local Windows Task List for Windows NT 3.51 client computers or the local Start menu for Windows NT 4.0 or Windows 95 client computers.


NONE
SHIFT+F2 The Toggle Title Bar hotkey causes the Citrix ICA Client window to display or hide its Windows title bar.

NONE
SHIFT+F3 The Close Remote Application hotkey disconnects the ICA session and exits the ICA Win32 Client. Using this hotkey either leaves the associated application in a disconnected state on the Citrix server or exits the application on the Citrix server, depending on how the application is configured.

NONE
CTRL+F1 This hotkey displays the Windows NT Security desktop in the ICA session.

CTRL+ALT+DEL
CTRL+F2 When using this hotkey during an ICA session on a WinFrame server, the remote Task List appears. For MetaFrame ICA sessions, the remote Windows NT Start menu appears.

CTRL+ESC
CTRL+F3 This hotkey displays the Windows NT Task Manager in the ICA session.

CTRL+SHIFT+ESC
ALT+F2 Use this hotkey to cycle through maximized and minimized Windows of programs that have been opened in the ICA session.

ALT+ESC
ALT+PLUS Use this hotkey to cycle through applications that have been opened in the ICA session. A popup box appears and displays the programs as you cycle through them.

ALT+TAB
ALT+MINUS Cycles through applications that have been opened in the ICA session but in the opposite direction. ALT+SHIFT+TAB

Source:
Citrix/RDP Shortcut Keys... The Cheat Sheet - RIA Grande

mandag 22. februar 2010

Unable to upgrade vmware tools

Ved problemer med å oppgradere VMware tools, søk etter "vmware tools.msi" i registry, og slett nøklene (ta backup først).

Kilde: VMware Communities: How manually uninstall vmware tools ...

fredag 13. november 2009

How to make a USB-drive bootable

How to format a USB memory key

Used abot 30 mins to find this particular link... with the needed DOS-files.

mandag 2. november 2009

fredag 2. oktober 2009

Hvordan installere usignerte applikasjoner på din Nokia :-)

Zedge | Forums: Expired Certificate error - page 1 - Free your phone!

TOOLS>APP MGR>OPTIONS>SETTINGS>SOFTWARE INSTALLATION and changed it from SIGNED ONLY to ALL.

onsdag 6. mai 2009

Feil under installasjon av Service Pack 2 til Office 2007

Microsoft har sluppet en hotfix om du får error 1008 i application-logen ved install av Office 2007 SP2. I mitt tilfelle skjedde dette på to terminalservere, som hadde automatiske oppdateringer på. Så hver natt sluttet Excel å fungere pga. de prøvde å installere SP2 uten hell.

Etter installasjon av denne hotfixen fungerer dette greit igjen.

FIX: Error message when you try to install a large Windows Installer package or a large Windows Installer patch package in Windows Server 2003 or in Windows XP: "Error 1718. File was rej

Kilder:
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Q_24367506.html

tirsdag 14. april 2009

Installasjon av Adobe Flash på en Citrix Terminalserver

Dette virker å være en forutsetning for å få det til å fungere...

Tech Notes: Adobe Flash player and Citrix (WTS)

Håper det hjelper andre der ute :)

onsdag 4. mars 2009

windows server sbs Re: Trend Micro Folder/File Exclusions (SBS2003 R2)

Ekslusjoner for antivirus på en SBS2003.

Grei referanse om du skal legge til exclusions for antivirus, kan benyttes for AD, Exchange, og SQL-servere.

windows server sbs Re: Trend Micro Folder/File Exclusions (SBS2003 R2)

tirsdag 3. mars 2009

Vector Magic | Precision Bitmap To Vector Conversion Online

Konverter Bitmap (JPG, BMP, PNG ++++) til Vektor-grafikk.

2 gratis, så blir det betalbart.

Vector Magic | Precision Bitmap To Vector Conversion Online

Om du er litt oppfinnsom, og sjekker ut http://mailinator.com så får du sikkert flere forsøk. Det er såpass sjelden at jeg har ikke hatt behov for det selv.

tirsdag 10. februar 2009

Migrering fra Virtual Server til VMWare?

V2V kan være en utfordring.. Har du glemt å fjerne Microsoft-driverne før du migrerte? Her er en liten fiks om du ikke får inn mus-driveren til VMWare, eller om du ikke får ut musa fra konsollet ;-)

If you don't want to have to reconvert your machine, simply remove the old mouse driver from the mouse device class:
Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}
Then remove the value msvmmouf from the UpperFilters Regvalue, then reboot.
No need to even uninstall the VMWare tools drivers beforehand. 2/10/2008 10:59

tirsdag 27. januar 2009

» RIBCL: Reset Administrator Password on iLO

Chrissy på Netnerds har dokumentert hvordan man kan resette iLO-passordet på en HP-server. Nice to know.

Har ikke testet selv, men jeg får bruk for det så snart jeg har fått inn Windows på en server her :-)

» RIBCL: Reset Administrator Password on iLO

torsdag 17. januar 2008

Hvordan dele media på Media Center til andre Media Center-maskiner, og hvordan dele på Vista anonymt

Fant denne når jeg søkte etter ressurser på hvordan dele en mappe på Vista uten å måtte benytte passord. Dette for å unngå å måtte velge bruker når jeg starter Media Center pc-en, du skriver ikke brukernavn og passord på dvd-spillern din heller ;-)

Link: Mike's Digital Home : How To: Share Recorded TV with other Media Centers

torsdag 10. januar 2008

mer enn 2 tunere i MediaCenter?

http://thegreenbutton.com/forums/thread/129923.aspx
http://mce.ramonvanbruggen.nl

torsdag 13. desember 2007

Slipstream Office 2007 SP1

D:\office2007sp1-kb936982-fullfile-en-us.exe /extract:C:\O2007Temp\Updates\

Office 2007 SP1 Installation/Slipstream Guide