Teknisk

Nato Spelling

Alfa – Bravo – Charlie – Delta – Echo
Foxtrot – Golf – Hotel – India – Juliet
Kilo – Lima – Mike – November – Oscar
Papa – Quebec – Romeo – Sierra
Tango – Uniform – Victor – Whisky
X-ray – Yankee – Zulu


Tider og Timer

24-timers 12-timers
EU standard UK standard
00:00 12:00 am
07:00 7:00 am
11:00 11:00 am
12:00 12:00 pm
13:00 1:00 pm
17:00 5:00 pm
23:00 11:00 pm
24:00 12:00 am

Windows Shortcuts

  • %windir%explorer.exe /e,/root,C:
  • control.exe (Control Panel)
  • eventvwr.msc / eventvwr ( Event Viewer )
  • compmgmt.msc / compmgmt ( Computer Management )
  • appwiz.cpl ( Tilføj / Fjern Programmer )
  • lusrmgr.msc ( Lokale brugere )
  • mstsc.exe /w:800 /h:600 /v:%0

wuaucpl.cpl access.cpl appwiz.cpl bthprops.cpl desk.cpl firewall.cpl hdwwiz.cpl igfxcpl.cpl inetcpl.cpl intl.cpl irprops.cpl iscsicpl.cpl joy.cpl jpicpl32.cpl main.cpl mbllnk.cpl mmsys.cpl ncpa.cpl netsetup.cpl nusrmgr.cpl nwc.cpl odbccp32.cpl powercfg.cpl sysdm.cpl telephon.cpl timedate.cpl wscui.cpl


Windows Icon Libraries

shell32.dll, imageres.dll, explorer.exe


“Medmenneskelig” User Account Control (UAC) i Windows Vista

gpedit.msc Computer Configuration Windows Setting Security Settings Local Policies Security Options User Account Control: Behavior of the elevation prompt in Admin Approval Mode = Elevate without prompt


Windows Mobile 6 SmartPhone og Sonofon GPRS

Opsætningen skal være således for at fungere:

  1. Start Settings Connections GPRS
  2. Opret en ny
    1. Description: Sonofon GPRS
    2. Connects to: Internet
    3. Access Point: internet
    4. User Name: Sonofon
    5. Password: “blankt” (ingen indtastning)
    6. Primary DNS +
      Secondary DNS +
      IP address efterlades blankt

RDP files

desktopwidth:i:1660
desktopheight:i:1010
winposstr:s:0,1,1280,0,2960,1050

desktopwidth = bredden på den virtuelle desktop
desktopheight = højde på den virtuelle desktop
winposstr = 0,1,Start-X,Start-Y,End-X,End-Y

width skal være 15-20 px mindre end skærmen (rammen omkring vinduet)
height skal være 30 px mindre end skærmen (rammen + titellinie)


DNS

MONTES DNS

ns1 62.243.38.132
ns2 62.242.164.243

Cybercity DNS

dns1 212.242.40.3
dns2 212.242.40.51

TDC DNS

ns.tele.dk 193.162.159.194
ns2.tele.dk 194.239.134.82
ns3.tele.dk 194.239.134.83

DK-Hostmaster

ns.dk-hostmaster.dk 193.163.102.2
ns2.dk-hostmaster.dk 193.163.102.10

Eksempel DNS zone
$TTL 86400@ SOA ns1.provider.dk. hostmaster.provider.dk. (
    2003022601 ; serial
          3600 ; 1h refresh
          1800 ; 1/2h retry
       3628800 ; 42d expire
       86400 ) ; 1d ttl
       NS  ns1.provider.dk.
       NS  ns2.provider.dk.
       MX  10 mail.provider.dk.
       A   127.0.0.1
www    A   127.0.0.1
mail   A   127.0.0.1

Program Settings

Music Brainz Tagger Link?

Naming Settings
%artist_-_%album-%type-%year%0num-%track
VA_-_%album-%type-%year%0num-%artist-%track

BGinfo Link?

System Type: <System Type>
Boot Time: <Boot Time>
CPU: <CPU>
Memory: <Memory>

IP Address: <IP Address>
Subnet Mask: <Subnet Mask>
DNS Server: <DNS Server>
Default Gateway:<Default Gateway>
DHCP Server: <DHCP Server>
Network Card: <Network Card>
MAC Address: <MAC Address>
Network Speed: <Network Speed>
Network Type: <Network Type>

Volumes: <Volumes>
Free Space: <Free Space>

Host Name: <Host Name>
Machine Domain: <Machine Domain>
Logon Server: <Logon Server>
Logon Domain: <Logon Domain>
User Name: <User Name>

OS Version: <OS Version>
Service Pack: <Service Pack>
IE Version: <IE Version>
Snapshot Time: <Snapshot Time>


Reset root password on debian host

Found @ http://www.pdxlinux.org/doc/Debian/reference/ch-tips.en.html?

  • press shift at LILO prompt
  • input “linux init=/bin/sh”
  • mount -n -o remount,rw /
  • mount -avt nonfs,noproc,nosmbfs
  • cd /etc
  • vi passwd
  • vi shadow

RoboCopy

robocopy c:source f:destination
/zb /w:3 /r:3 /e /copy:dat /v /ts /np /eta /log+:rbcplog.txt /tee

http://qix.dk/files/Tools/robocopy.exe

/zb == restartable mode ellers backup mode
/r == no. retries on failed copy
/w == wait time between retries
/e == copy all subfolders incl. empty ones
/dat == copy data + attributes + timestamps (or /copyall (incl. all file info (security,owner,auditing))
/v == verbose output, showing skipped files
/ts == include source file time stamps in the output
/np == no progress indicator
/eta == show estimated time of arrival of copied files
/log+:rbcplog.txt == produce/append to log file
/tee == log to screen also

Sync Offline Files

For at synkronisere Windows XP Offline Files før shutdown – endda over en PPTP/VPN forbindelse kan følgende script bruges.

echo Fil Synkronisering startet
start /wait rasdial “Dialup connection name” user password
start /wait mobsync /logoff
start /wait rasdial “Dialup Connection name” /disconnect
start shutdown -s


WinAudit

WinAudit.exe /r=gsoPxuUeNtnlbMdSr /o=HTMLi


Stop-All-Exchange.cmd
@echo off
start /min net stop MSExchangeMGMT /yes
start /min net stop RESvc /yes
start /min net stop POP3Svc /yes
start /min net stop IMAP4Svc /yes
start /min net stop NntpSvc /yes
start /min net stop SMTPSVC /yes
start /min net stop IISADMIN /yes
start /min net stop MSSEARCH /yes
start /min net stop Spooler /yes
net stop MSExchangeES /yes
net stop MSExchangeIS /yes
net stop MSExchangeMTA /yes
net stop MSExchangeSA /yes


Backup Exec Exclusion

How to exclude a file globally
Use the following pathname \**filename.ext


Write to remote Event log!

Const EVENT_SUCCESS = 0
Set objShell = Wscript.CreateObject(“Wscript.Shell”)
objShell.LogEvent EVENT_SUCCESS, _
“Payroll application successfully installed.” , “\ServerName


Links

a href="http://xyz.xyz.xyz" target="_blank"
img src="http://xyz.xyz.xyz" width="160" height="160"


UserProfile registry path

hkey_Local_machine

software

microsoft

windows nt

CurrentVersion

ProfileList


new

Print Friendly, PDF & Email