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
onsdag 27. juni 2012
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
|
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 ...
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.
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.
TOOLS>APP MGR>OPTIONS>SETTINGS>SOFTWARE INSTALLATION and changed it from SIGNED ONLY to ALL.
Abonner på:
Innlegg (Atom)