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.