SCCM Books

Monday, March 5, 2012

PowerShell in Nutshell learn from these steps

Stage 1

Stage 2

Stage 3

    Thursday, March 1, 2012

    Enable RDP in the Task Sequence

    Const HKEY_LOCAL_MACHINE = &H80000002
    strComputer = "."

    Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
    strComputer & "\root\default:StdRegProv")

    strKeyPath = "SYSTEM\CurrentControlSet\Control\Terminal Server"

    strValueName = "fDenyTSConnections"
    dwValue = 0
    oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue