Network access fails in script after Terminal logout/disconnect

I have a script which is running in the background (script invoked using amp[&]) and occasionally it attempts to access a URL (using wget, lynx etc). This works fine when I start the script, but as soon as I logout of the Terminal from which the script was initiated it fails. Enclosed is a small demonstration reproducing the problem using a csh script. To reproduce the problem on OS X 10.5.8 run the script from command line in background:
script.csh &
It will then create duplicate files with different filenames on disk. Exit the command line window and login again... it is no longer producing the files, but the process is still running.
Regards,
Andreas
#!/bin/tcsh
any_label:
wget http://gcn.gsfc.nasa.gov/gcn3/10146.gcn3
goto any_label

In theory it should not matter what shell launchd starts up with, as you have #!/bin/tcsh at the beginning of your script.
If you suspect that you do not have the correct environment variables, then add the following to your script:
printenv >/tmp/myscript.enviroment.txt
Then go look at the file after your script has run. Add any other debugging information to the .txt file that might be helpful in diagnosing your problem.
Another thing you might look at is your PATH when your script runs. launchd generally has a very reduced PATH setup. It might be that wget is not even being found. For example, on my Leopard system, the only version of wget I have is from <http://fink.sf.net> and stored in /sw/bin/wget, which is not normally in a default PATH. Mac OS X Leopard did not provide a copy of wget.
I do not personally use launchd, I'm still a cron kind of guy, and I have any number of cron based scripts that run just fine, including one that uses "curl" (a similar utility to wget).

Similar Messages

  • [SOLVED] Network bridge fails to start after systemd update

    Hello,
    After rebooting with the upgraded systemd (208-11 -> 210-2) by bridge could not start.
    journal
    Mar 06 00:08:45 myhost systemd[1]: Job sys-subsystem-net-devices-enp2s0.device/start timed out.
    Mar 06 00:08:45 myhost systemd[1]: Timed out waiting for device sys-subsystem-net-devices-enp2s0.device.
    Mar 06 00:08:45 myhost systemd[1]: Dependency failed for My network bridge with DHCP.
    Mar 06 00:08:45 myhost systemd[1]: Starting Network.
    Mar 06 00:08:45 myhost systemd[1]: Reached target Network.
    # cat /etc/systemd/system/[email protected]
    .include /usr/lib/systemd/system/[email protected]
    [Unit]
    Description=My network bridge with DHCP
    BindsTo=sys-subsystem-net-devices-enp2s0.device
    After=sys-subsystem-net-devices-enp2s0.device
    # cat /etc/netctl/br0
    Description="My network bridge with DHCP"
    Interface=br0
    Connection=bridge
    BindsToInterfaces=(enp2s0)
    IP=dhcp
    Commenting out BindsTo and After in the unit file allows to start the service, but it would still throw an error
    Mar 06 00:14:05 myhost systemd[1]: Starting My network bridge with DHCP...
    Mar 06 00:14:05 myhost network[732]: Starting network profile 'br0'...
    Mar 06 00:14:05 myhost kernel: Bridge firewalling registered
    Mar 06 00:14:05 myhost systemd-udevd[739]: Could not apply link config to br0
    I never renamed interfaces, it was always the system-assigned enp2s0.
    What could have become wrong?
    Last edited by aya (2014-03-11 14:31:31)

    aya wrote:I do use a custom kernel and I did not have CONFIG_FHANDLE enabled. I wish it was posted as an announcement or something.
    From the 210 release announcement:
    systemd 210 announcement wrote:
    Heya,
    And here's the next release 210:
    http://www.freedesktop.org/software/sys … 210.tar.xz
    <snip>
    Oh, and one reminder that kinda got lost when we announced 209: you have
    to enable CONFIG_FHANDLE in your kernel to use systemd >= 209
    successfully, otherwise udev won't find any devices.
    <snip>

  • "Wake for Network Access" Won't Stay DISabled

    I'm trying to prevent my iMac from needlessly waking. When I uncheck "Wake for Network Access" in Energy Saver, after I've restarted the computer the setting does not stick. I've tried deleting the energysaver preferences file in /Library/Preferences/Systemconfiguration, as well as repairing disk permissions. The checkbox keeps rechecking itself after logout/restart. Any ideas?

    Check the Log Me in Client, it has an option for Wake for Network access - which enforces the option.
    I had the same issue and wanted to kill someone

  • Error "NOTICE: [0] disk access failed" during guest domain network booting

    Hi,
    Could you please tell me what is the problem with my configuration?
    I created guest domain on my T1000 server.
    As a disk I used disk from disk array: /dev/dsk/c0t18d0
    I added disk using commands:
    # ldm add-vdsdev /dev/dsk/c0t18d0 vol1@primary-vds0
    # ldm add-vdisk vdisk1 vol1@primary-vds0 myldom1
    # ldm set-variable auto-boot\?=false myldom1
    # ldm set-variable boot-device=/virtual-devices@100/channel-devices@200/disk@0 myldom1
    Then I logged to guest domain and booted from network to install OS from JumpStart server:
    {0} ok boot net - install
    Boot device: /virtual-devices@100/channel-devices@200/network@0 File and args: - install
    Requesting Internet Address for 0:14:4f:f9:78:19
    SunOS Release 5.10 Version Generic_137137-09 64-bit
    Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    Configuring devices.
    NOTICE: [0] disk access failed.
    Checking rules.ok file...
    Using begin script: install_begin
    Using finish script: patch_finish
    Executing SolStart preinstall phase...
    Executing begin script "install_begin"...
    Begin script install_begin execution completed.
    ERROR: No disks found
    - Check to make sure disks are cabled and powered up
    Solaris installation program exited.
    Configuration:
    [root@gt1000a /]# ldm list-bindings
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    primary active -n-cv- SP 4 2G 0.5% 2h 23m
    MAC
    00:14:4f:9f:71:4e
    HOSTID
    0x849f714e
    VCPU
    VID PID UTIL STRAND
    0 0 5.3% 100%
    1 1 0.5% 100%
    2 2 0.5% 100%
    3 3 0.4% 100%
    MAU
    ID CPUSET
    0 (0, 1, 2, 3)
    MEMORY
    RA PA SIZE
    0x8000000 0x8000000 2G
    VARIABLES
    keyboard-layout=US-English
    IO
    DEVICE PSEUDONYM OPTIONS
    pci@780 bus_a
    pci@7c0 bus_b
    VCC
    NAME PORT-RANGE
    primary-vcc0 5000-5100
    CLIENT PORT
    myldom1@primary-vcc0 5000
    VSW
    NAME MAC NET-DEV DEVICE DEFAULT-VLAN-ID PVID VID MODE
    primary-vsw0 00:14:4f:fa:ca:94 bge0 switch@0 1 1
    PEER MAC PVID VID
    vnet0@myldom1 00:14:4f:f9:78:19 1
    VDS
    NAME VOLUME OPTIONS MPGROUP DEVICE
    primary-vds0 vol1 /dev/dsk/c0t18d0
    CLIENT VOLUME
    vdisk1@myldom1 vol1
    VCONS
    NAME SERVICE PORT
    SP
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    myldom1 active -n---- 5000 12 2G 0.1% 2h 18m
    MAC
    00:14:4f:f9:e7:ae
    HOSTID
    0x84f9e7ae
    VCPU
    VID PID UTIL STRAND
    0 4 0.5% 100%
    1 5 0.0% 100%
    2 6 0.0% 100%
    3 7 0.0% 100%
    4 8 0.0% 100%
    5 9 0.0% 100%
    6 10 0.0% 100%
    7 11 0.0% 100%
    8 12 0.0% 100%
    9 13 0.0% 100%
    10 14 0.0% 100%
    11 15 0.0% 100%
    MEMORY
    RA PA SIZE
    0x8000000 0x88000000 2G
    VARIABLES
    auto-boot?=false
    boot-device=/virtual-devices@100/channel-devices@200/disk@0
    NETWORK
    NAME SERVICE DEVICE MAC MODE PVID VID
    vnet0 primary-vsw0@primary network@0 00:14:4f:f9:78:19 1
    PEER MAC MODE PVID VID
    primary-vsw0@primary 00:14:4f:fa:ca:94 1
    DISK
    NAME VOLUME TOUT DEVICE SERVER MPGROUP
    vdisk1 vol1@primary-vds0 disk@0 primary
    VCONS
    NAME SERVICE PORT
    myldom1 primary-vcc0@primary 5000
    [root@gt1000a /]#
    Kind regards,
    Daniel

    Issue solved.
    There was a wrong disk name:
    primary-vds0 vol1 /dev/dsk/c0t18d0
    I changed to c0t18d0s2 and now I sucessfuly installed OS from Jumpstart.

  • WinPE fails every time after "preparing network connections" message during Build & Capture task sequence

    Sorry, I'm using SCCM 2012 but can't find a forum for that ANYWHERE, so I'm posting this here:
    We're making our first attempt at OSD (build & capture) on an out-of-the box Dell Optiplex 9010 all-in-one. I've injected the NIC drivers found
    here on Dell's Enterprise support blog into the boot image.
    Using PXE boot, the machine starts up in WinPE when we deploy the task sequence, but every time it reaches the "preparing network connections" message in the splash screen, WinPE quits and the machine reboots.
    I've hit F8 to get the command line while WinPE is booting, and from running ipconfig there, it looks like the machine takes a long time to pick up its IP address from DHCP, but it DOES pick up an IP address eventually which implies to me that the NIC driver
    is at least somewhat working.
    See below for the wpeinit.log file from this machine. What am I doing wrong? What's that message about "no operational adapters found", expecially when I've verified that it does get an IP address (albeit after a short while)?
    BEGIN WPEINIT LOG:
    Info      No unattend file was found; WPEINIT is using default settings to initialize WinPE
    Info      ==== Initializing Display Settings ====
    Info      No display settings specified
    Info      STATUS: SUCCESS (0x00000001)
    Info      ==== Initializing Computer Name ====
    Info      Generating a random computer name
    Info      No computer name specified, generating a random name.
    Info      Renaming computer to MININT-S90VG8D.
    Info      Acquired profiling mutex
    Info      Service winmgmt disable: 0x00000000
    Info      Service winmgmt stop: 0x00000000
    Info      Service winmgmt enable: 0x00000000
    Info      Released profiling mutex
    Info      STATUS: SUCCESS (0x00000000)
    Info      ==== Initializing Virtual Memory Paging File ====
    Info      No WinPE page file setting specified
    Info      STATUS: SUCCESS (0x00000001)
    Info      ==== Initializing Optional Components ====
    Info      WinPE optional component 'Microsoft-WinPE-WMI' is present
    Info      WinPE optional component 'Microsoft-WinPE-WSH' is present
    Info      STATUS: SUCCESS (0x00000000)
    Info      ==== Initializing Network Access and Applying Configuration ====
    Info      No EnableNetwork unattend setting was specified; the default action for this context is to enable networking support.
    Info      Acquired profiling mutex
    Info      Install MS_MSCLIENT: 0x0004a020
    Info      Install MS_NETBIOS: 0x0004a020
    Info      Install MS_SMB: 0x0004a020
    Info      Install MS_TCPIP6: 0x0004a020
    Info      Install MS_TCPIP: 0x0004a020
    Info      Service dhcp start: 0x00000000
    Info      Service lmhosts start: 0x00000000
    Info      Service ikeext start: 0x00000000
    Info      Service mpssvc start: 0x00000000
    Info      Released profiling mutex
    Info      Spent 1310ms installing network components
    Info      Installing device pci\ven_8086&dev_1502&subsys_05431028 X:\WINDOWS\INF\oem1.inf succeeded
    Info      Spent 10437ms installing network drivers
    Info      QueryAdapterStatus: no operational adapters found.
    Info      Spent 10140ms confirming network initialization; status 0x80004005
    Info      WaitForNetworkToInitialize failed; ignoring error
    Info      STATUS: SUCCESS (0x003d0001)
    Info      ==== Applying Firewall Settings ====
    Info      STATUS: SUCCESS (0x00000001)
    Info      ==== Executing Synchronous User-Provided Commands ====
    Info      STATUS: SUCCESS (0x00000001)
    Info      ==== Executing Asynchronous User-Provided Commands ====
    Info      STATUS: SUCCESS (0x00000001)
    Info      ==== Applying Shutdown Settings ====
    Info      No shutdown setting was specified
    Info      STATUS: SUCCESS (0x00000001)

    This turned out to work for me, too! It was nothing to do with network switch configuration, per se-- or at least I didn't have to change anything on my switch to fix it. Instead I tried fusiongroup's method of getting into the command-line before the WinPE
    boot hit the "Preparing network connections" step, and I repeatedly ipconfig /renewed until suddenly the TS reached the next step of the sequence instead of failing out.
    I also made this an "Available" sequence instead of a "Required" sequence, which I think buys you a little time in terms of offering a GUI in WinPE for the sequence, instead of just trying to run it.
    One last thing: I was running this on a Workgroup machine that is not joined to our domain; I had followed another tutorial to get the client installed on it even though it's outside the domain. Prior to trying the command-line fix fusiongroup gave, I also
    went into Assets and Compliance in Configuration Manager and right-clicked the machine in the list of devices, and found that I had to "Approve" it for management by SCCM. Don't know if that helped as well.
    Sylvie Andrews

  • MacPro with10.7.3. running a Python script in terminal I see a : "There is no more application memory available on your startup disk". Python uses 10G of 16G RAM and  VM =238G with 1TB free. Log: macx-swapon FAILED - 12. It only happens with larger inputs

    On my MacPro with10.7.3. while running a Python script in terminal, after a while, in several hours actually,  I see a system message for the Terminal app: "There is no more application memory available on your startup disk". Both RAM and VM appear to be fine at this point, i.e. Python uses only 10G of 16G RAM and  VM =238G with ~1TB free. Log reads: " macx-swapon FAILED - 12" multiple times. Furthermore, other terminal windows can be opened and commands run there. It only happens with larger inputs (text files), but with inputs that are about half the size everything runs smoothly.  So the issue must be the memory indeed, but where to look for the problem/fix?

    http://liulab.dfci.harvard.edu/MACS/README.html
    Have you tried with the --diag flag for diagnostics? Or changing verbose to 3 to show debug messages? Clearly one of three things is happening;
    1. You ARE running out of disk space, but once it errors out the space is reclaimed if the output file is deleted on error. When it fails, does your output have the content generated up to the point of termination?
    2. The application (Terminal) is allocated memory that you are exceeding
    3. The task within Terminal is allocated memory that you are exceeding
    I don't know anything about what this does but is there a way to maybe run a smaller test run of it? Something that takes 10 minutes? Just to see if it works.

  • First I got a wrong password for the network and the application error after a while that I wanted to enter the correct password no longer have access to network settings

    First I got a wrong password for the network and the application error after a while that I wanted to enter the correct password no longerhave access to network settings

    Unfortunately, it says I can't delete anything without the missing password.

  • IMac after 10.6.8 update no more Wake for network access!!

    iMac 2009 -  after 10.6.8 no more wake for network access - is a sleep issue because i tested several approached to see what is the problem. If the computer enter in sleep mode then i cannot wake remotely. Anyone with the same problem? (vnc user, etc)

    I can confirm this works also. Thanks!
    GeekyPaul wrote:
    OK. I fixed the problem, for me at least. My time capsule wasn't even showing a light on for the ethernet port, the card in my mac pro was clearly powered down which would explain why the magic packets go missing.
    10.6.8 contained a modified version of /System/Library/Extensions/IONetworkingFamily.kext, more specifically /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/Intel82574L. kext.
    I replaced IONetworkingFamily.kext with the version that was present before the 10.6.8 update and my WOL now works once more.
    So I'm pretty sure right now that 10.6.8 broke my WOL and I'm also pretty sure I fixed it but I'm not sure what other issues I'm causing as a result.
    I have no idea how I get a reaction from Apple given that I have no "support credit" but surely they should support a customer with regressed software. Anyone got any ideas?

  • Client boots into WinPE but then it will fail and reboot after the step: "Preparing network connections"

    I  have a new issue with all DPs.
    When I pxe boot, it will boot into WinPE but then it will fail and reboot after the step: “Preparing network connections”
    I have tried reinstalling the DP and MP. Also redistributing the boot image.
    When I press F8 to go into debug mode, ipconfig show me an IP address and I am able to ping my Management point, my DHCP server and also my Distribution point.
    I have attached the smsts.log file.
    <![LOG[LOGGING: Finalize process ID set to 900]LOG]!><time="10:43:28.925+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="904" file="tslogging.cpp:1495">
    <![LOG[==============================[ TSBootShell.exe ]==============================]LOG]!><time="10:43:28.925+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="904"
    file="bootshell.cpp:1055">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="10:43:28.925+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="904" file="util.cpp:964">
    <![LOG[Debug shell is enabled]LOG]!><time="10:43:28.940+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="904" file="bootshell.cpp:1066">
    <![LOG[Waiting for PNP initialization...]LOG]!><time="10:43:28.940+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:60">
    <![LOG[RAM Disk Boot Path: NET(0)\SMSIMAGES\EVN0002F\BOOT.EVN0002F.WIM]LOG]!><time="10:43:28.940+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="configpath.cpp:302">
    <![LOG[Booted from network (PXE)]LOG]!><time="10:43:28.940+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="configpath.cpp:317">
    <![LOG[Network(PXE) path: X:\sms\data\]LOG]!><time="10:43:28.940+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="configpath.cpp:319">
    <![LOG[Found config path X:\sms\data\]LOG]!><time="10:43:28.940+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:548">
    <![LOG[Booting from removable media, not restoring bootloaders on hard drive]LOG]!><time="10:43:28.940+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:582">
    <![LOG[X:\sms\data\WinPE does not exist.]LOG]!><time="10:43:28.940+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:599">
    <![LOG[X:\_SmsTsWinPE\WinPE does not exist.]LOG]!><time="10:43:28.940+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:613">
    <![LOG[Executing command line: wpeinit.exe -winpe]LOG]!><time="10:43:28.956+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:860">
    <![LOG[The command completed successfully.]LOG]!><time="10:44:13.294+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:942">
    <![LOG[Starting DNS client service.]LOG]!><time="10:44:13.294+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:666">
    <![LOG[Executing command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\]LOG]!><time="10:44:13.809+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908"
    file="bootshell.cpp:860">
    <![LOG[The command completed successfully.]LOG]!><time="10:44:13.809+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:942">
    <![LOG[==============================[ TSMBootStrap.exe ]==============================]LOG]!><time="10:44:13.903+480" date="08-13-2014" component="TSMBootstrap" context="" type="1" thread="1116"
    file="tsmbootstrap.cpp:1165">
    <![LOG[Command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\]LOG]!><time="10:44:13.903+480" date="08-13-2014" component="TSMBootstrap" context="" type="0" thread="1116"
    file="tsmbootstrap.cpp:1166">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="10:44:13.919+480" date="08-13-2014" component="TSMBootstrap" context="" type="1" thread="1116" file="util.cpp:964">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\TSRESNLC.DLL']LOG]!><time="10:44:13.919+480" date="08-13-2014" component="TSMBootstrap" context="" type="1" thread="1116" file="resourceutils.cpp:169">
    <![LOG[Current OS version is 6.2.9200.0]LOG]!><time="10:44:13.919+480" date="08-13-2014" component="TSMBootstrap" context="" type="1" thread="1116" file="util.cpp:3094">
    <![LOG[Adding SMS bin folder "X:\sms\bin\x64" to the system environment PATH]LOG]!><time="10:44:13.934+480" date="08-13-2014" component="TSMBootstrap" context="" type="0" thread="1116"
    file="tsmbootstrap.cpp:963">
    <![LOG[PXE Boot with Root = X:\]LOG]!><time="10:44:13.934+480" date="08-13-2014" component="TSMBootstrap" context="" type="1" thread="1116" file="tsmbootstrap.cpp:1062">
    <![LOG[Executing from PXE in WinPE]LOG]!><time="10:44:13.934+480" date="08-13-2014" component="TSMBootstrap" context="" type="1" thread="1116" file="tsmbootstrap.cpp:1077">
    <![LOG[Loading TsPxe.dll from X:\sms\bin\x64\TsPxe.dll]LOG]!><time="10:44:13.934+480" date="08-13-2014" component="TSMBootstrap" context="" type="0" thread="1116" file="tsmbootstraputil.cpp:1363">
    <![LOG[TsPxe.dll loaded]LOG]!><time="10:44:13.934+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="tsmbootstraputil.cpp:1373">
    <![LOG[Device has PXE booted]LOG]!><time="10:44:13.934+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="tspxe.cpp:122">
    <![LOG[Variable Path: \SMSTemp\2014.08.13.10.42.54.0001.{F722E5C6-13E4-4635-B674-7A56A68BCF03}.boot.var]LOG]!><time="10:44:13.934+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116"
    file="tspxe.cpp:134">
    <![LOG[Variable Key Len: 69]LOG]!><time="10:44:13.934+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="tspxe.cpp:141">
    <![LOG[Succesfully added firewall rule for Tftp]LOG]!><time="10:44:13.950+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="fwopen.cpp:123">
    <![LOG[Executing: X:\sms\bin\x64\smstftp.exe -i 10.9.12.122 get \SMSTemp\2014.08.13.10.42.54.0001.{F722E5C6-13E4-4635-B674-7A56A68BCF03}.boot.var X:\sms\data\variables.dat]LOG]!><time="10:44:13.950+480" date="08-13-2014" component="TSPxe"
    context="" type="0" thread="1116" file="tspxe.cpp:177">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="10:44:14.028+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="commandline.cpp:228">
    <![LOG[Set command line: "X:\sms\bin\x64\smstftp.exe" -i 10.9.12.122 get \SMSTemp\2014.08.13.10.42.54.0001.{F722E5C6-13E4-4635-B674-7A56A68BCF03}.boot.var X:\sms\data\variables.dat]LOG]!><time="10:44:14.028+480" date="08-13-2014"
    component="TSPxe" context="" type="0" thread="1116" file="commandline.cpp:731">
    <![LOG[Executing command line: "X:\sms\bin\x64\smstftp.exe" -i 10.9.12.122 get \SMSTemp\2014.08.13.10.42.54.0001.{F722E5C6-13E4-4635-B674-7A56A68BCF03}.boot.var X:\sms\data\variables.dat]LOG]!><time="10:44:14.028+480" date="08-13-2014"
    component="TSPxe" context="" type="1" thread="1116" file="commandline.cpp:827">
    <![LOG[Process completed with exit code 0]LOG]!><time="10:44:14.106+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="commandline.cpp:1123">
    <![LOG[Succesfully removed firewall rule for Tftp]LOG]!><time="10:44:14.122+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="fwopen.cpp:146">
    <![LOG[Successfully downloaded pxe variable file.]LOG]!><time="10:44:14.122+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tspxe.cpp:187">
    <![LOG[we are booted using PXE]LOG]!><time="10:44:14.122+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:2673">
    <![LOG[we are booted using PXE and we use a generated password]LOG]!><time="10:44:14.122+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:2678">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="10:44:14.122+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsremovablemedia.cpp:322">
    <![LOG[CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,165)]LOG]!><time="10:44:14.122+480" date="08-13-2014" component="TSPxe" context=""
    type="0" thread="1116" file="windes.cpp:165">
    <![LOG[SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\tscore\tsremovablemedia.cpp,387)]LOG]!><time="10:44:14.122+480"
    date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="tsremovablemedia.cpp:387">
    <![LOG[Verifying media password.]LOG]!><time="10:44:14.122+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:271">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="10:44:14.122+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsremovablemedia.cpp:322">
    <![LOG[Found network adapter "Intel(R) 82577LM Gigabit Network Connection" with IP Address 10.9.2.50.]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="0"
    thread="1116" file="tsmbootstraputil.cpp:517">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsremovablemedia.cpp:322">
    <![LOG[CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,165)]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context=""
    type="0" thread="1116" file="windes.cpp:165">
    <![LOG[SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\tscore\tsremovablemedia.cpp,387)]LOG]!><time="10:44:14.153+480"
    date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="tsremovablemedia.cpp:387">
    <![LOG[Entering TSMediaWizardControl::GetPolicy.]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="tsmediawizardcontrol.cpp:527">
    <![LOG[Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00350031004100300031003600420036002D0046003000440045002D0034003700350032002D0042003900370043002D003500340045003600460033003800360041003900310032007D00']LOG]!><time="10:44:14.153+480"
    date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="environmentscope.cpp:263">
    <![LOG[Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116"
    file="environmentscope.cpp:623">
    <![LOG[Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00420041003300410033003900300030002D0043004100360044002D0034006100630031002D0038004300320038002D003500300037003300410046004300320032004200300033007D00']LOG]!><time="10:44:14.153+480"
    date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="environmentscope.cpp:263">
    <![LOG[Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116"
    file="environmentscope.cpp:623">
    <![LOG[Setting LogMaxSize to 1000000]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:555">
    <![LOG[Setting LogMaxHistory to 1]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:556">
    <![LOG[Setting LogLevel to 0]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:557">
    <![LOG[Setting LogEnabled to 1]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:558">
    <![LOG[Setting LogDebug to 1]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:559">
    <![LOG[UEFI: false]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:569">
    <![LOG[Loading variables from the Task Sequencing Removable Media.]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:584">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsremovablemedia.cpp:322">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="util.cpp:964">
    <![LOG[Setting SMSTSMP TS environment variable]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSMediaGuid TS environment variable]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSBootMediaPackageID TS environment variable]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSHTTPPort TS environment variable]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSHTTPSPort TS environment variable]LOG]!><time="10:44:14.153+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSIISSSLState TS environment variable]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSLaunchMode TS environment variable]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSMediaPFX TS environment variable]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSPublicRootKey TS environment variable]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSSiteCode TS environment variable]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSSiteSigningCertificate TS environment variable]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSUseFirstCert TS environment variable]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSx64UnknownMachineGUID TS environment variable]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSx86UnknownMachineGUID TS environment variable]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Root CA Public Certs=]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:615">
    <![LOG[Missing root CA environment variable from variables file]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:621">
    <![LOG[Support Unknown Machines: 0]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:632">
    <![LOG[Custom hook from X:\\TSConfig.INI is ]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:675">
    <![LOG[No hook is found to be executed before downloading policy]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:699">
    <![LOG[Authenticator from the environment is empty.]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:838">
    <![LOG[Need to create Authenticator Info using PFX]LOG]!><time="10:44:14.169+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmediawizardcontrol.cpp:850">
    <![LOG[Initialized CStringStream object with string: 6b7b5b1a-8a29-40a1-af6b-008746965168;2014-08-13T18:44:14Z.]LOG]!><time="10:44:14.200+480" date="08-13-2014" component="TSPxe" context="" type="0"
    thread="1116" file="stringstream.cpp:101">
    <![LOG[Set media certificate in transport]LOG]!><time="10:44:14.216+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="libsmsmessaging.cpp:9401">
    <![LOG[Set authenticator in transport]LOG]!><time="10:44:14.216+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="libsmsmessaging.cpp:7734">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: SS01.adskevents.local:80  GET /SMS_MP/.sms_aut?MPKEYINFORMATIONMEDIA]LOG]!><time="10:44:14.216+480" date="08-13-2014" component="TSPxe" context="" type="1"
    thread="1116" file="libsmsmessaging.cpp:8604">
    <![LOG[Executing command line: X:\WINDOWS\system32\cmd.exe /k]LOG]!><time="10:44:15.939+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="904" file="bootshell.cpp:860">
    <![LOG[The command completed successfully.]LOG]!><time="10:44:15.939+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="904" file="bootshell.cpp:942">
    <![LOG[Successfully launched command shell.]LOG]!><time="10:44:15.939+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="904" file="bootshell.cpp:432">
    <![LOG[Error. Received 0x80072ee2 from WinHttpSendRequest.]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="libsmsmessaging.cpp:8870">
    <![LOG[hr, HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,8919)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116"
    file="libsmsmessaging.cpp:8919">
    <![LOG[sending with winhttp failed; 80072ee2]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context="" type="3" thread="1116" file="libsmsmessaging.cpp:8919">
    <![LOG[m_pHttpTransport->Send (0, 0, pServerReply, nReplySize), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,5159)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe"
    context="" type="0" thread="1116" file="libsmsmessaging.cpp:5159">
    <![LOG[MPKeyInformation.RequestMPKeyInformationForMedia(szTrustedRootKey), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,9410)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe"
    context="" type="0" thread="1116" file="libsmsmessaging.cpp:9410">
    <![LOG[Failed to get information for MP: http://SS01.adskevents.local. 80072ee2.]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context="" type="3" thread="1116" file="tsmbootstraputil.cpp:1518">
    <![LOG[sMP.length() > 0, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstraputil.cpp,1526)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context=""
    type="0" thread="1116" file="tsmbootstraputil.cpp:1526">
    <![LOG[TSMBootstrapUtil::SelectMP ( sSMSTSMP.c_str(), sMediaPfx.c_str(), sMediaGuid.c_str(), sAuthenticator.c_str(), sEnterpriseCert.c_str(), sServerCerts.c_str(), nHttpPort, nHttpsPort, bUseCRL, sSiteCode, sAssignedSiteCode, sMP, sCertificates, sX86UnknownMachineGUID,
    sX64UnknownMachineGUID), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,907)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context=""
    type="0" thread="1116" file="tsmediawizardcontrol.cpp:907">
    <![LOG[Exiting TSMediaWizardControl::GetPolicy.]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context="" type="0" thread="1116" file="tsmediawizardcontrol.cpp:1419">
    <![LOG[GetPolicy(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,2492)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context=""
    type="0" thread="1116" file="tsmediawizardcontrol.cpp:2492">
    <![LOG[RunWizardForPXE(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,2834)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context=""
    type="0" thread="1116" file="tsmediawizardcontrol.cpp:2834">
    <![LOG[oTSMediaWizardControl.Run( sMediaRoot, true, sTSLaunchMode ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,1078)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe"
    context="" type="0" thread="1116" file="tsmbootstrap.cpp:1078">
    <![LOG[Execute( eExecutionEnv, sConfigPath, sTSXMLFile, uBootCount, &uExitCode ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,1226)]LOG]!><time="10:44:35.281+480" date="08-13-2014"
    component="TSPxe" context="" type="0" thread="1116" file="tsmbootstrap.cpp:1226">
    <![LOG[Exiting with return code 0x80004005]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSPxe" context="" type="1" thread="1116" file="tsmbootstrap.cpp:1238">
    <![LOG[Execution complete.]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:693">
    <![LOG[hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell" context="" type="0"
    thread="908" file="environmentscope.cpp:493">
    <![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell" context="" type="0"
    thread="908" file="environmentlib.cpp:335">
    <![LOG[this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,553)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell" context="" type="0"
    thread="908" file="environmentlib.cpp:553">
    <![LOG[::RegOpenKeyExW (HKEY_LOCAL_MACHINE, sKey.c_str(), 0, KEY_READ, &hSubKey), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,809)]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell"
    context="" type="0" thread="908" file="utils.cpp:809">
    <![LOG[RegOpenKeyExW is unsuccessful for Software\Microsoft\SMS\Task Sequence]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell" context="" type="2" thread="908"
    file="utils.cpp:809">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell" context="" type="2" thread="908" file="utils.cpp:842">
    <![LOG[End program: ]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:725">
    <![LOG[Finalizing logging from process 900]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="tslogging.cpp:1741">
    <![LOG[Finalizing logs to root of first available drive]LOG]!><time="10:44:35.281+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="tslogging.cpp:1583">
    <![LOG[Successfully finalized logs to C:\SMSTSLog]LOG]!><time="10:44:35.687+480" date="08-13-2014" component="TSBootShell" context="" type="1" thread="908" file="tslogging.cpp:1640">
    <![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="10:44:35.687+480" date="08-13-2014" component="TSBootShell" context="" type="0" thread="908" file="tslogging.cpp:584">

    Every time a query is sent to the MP, it receives 0x80072ee2 which translates to "The operation timed out". This has nothing to do with your MP or DP though so reinstalling them won't make any difference.
    This error is indicative of network issues -- basically, the "client" is not getting a response back in a timely manner (and probably not at all). Assuming the MP is healthy though, then only other piece of the puzzle is the network.
    You can try setting the SMSTSAssignmentsDownloadRetry and SMSTSAssignmentsDownloadInterval task sequence variables in the boot image to increase the client's tolerance for latency or other weirdness in the network. This has worked for many.
    If that doesn't work, you'll have to break out a sniffer and watch the traffic to see what's going on at a network level.
    Jason | http://blog.configmgrftw.com

  • On my new iMac, mail has no sound after waking from sleep.  If I select do not wake for network access in general preferences, the problem does not occur.  Anyone have an idea on how to fix this?

    On my new iMac, mail has no sound after waking from sleep.  If I select do not wake for network access in general preferences, the problem does not occur.  Anyone have an idea on how to fix this? Thanks --

    Same here on an older iMac since Lion. Thanks for the uncheck wake for network access tip though, it doesn't do it either in that case, I will leave it that way.

  • Run script after Network turns off

    Hi all,
    i have a problem with my Network which will not reconnect after suspend or when it is turned off by hardware switch. I already figured out that the problems do not appear when wpa_supplicant is killed right before suspend/hardware switch.
    So, what i now want to do is, to kill wpa_supplicant when suspend/hardware switch is used and right after network stops. The Problem is: I have no clue about how to achieve this.
    I read a bit about systemd and service-files in the wiki but I'm not really sure how to implement this (especially which targets etc. i should use)!
    Thanks for your help!
    Last edited by FatRhombus (2014-07-18 17:38:26)

    Not an answer since I couldn't slightly understand what you were saying but considering it is a laptop, and not tweaked for the subject, TLP is a software that can disable and enable your wifi card before suspend, non-activity for a period or enable after waking up, powering on et alii. It has a commenting configuration file and well documented in wiki. Maybe you should try it.

  • 2012 R2 OSD refresh WinPE Network Access Account issue?

    Hi, 
    Environment: SCCM 2012 R2/MDT2013
    Since upgrading to R2 we're experiencing failures during an OS refresh task sequence. But only in one physical location.
    The same MDT task sequence runs fine for new computer builds (in both locations)
    Hardware is identical in both locations. One location completes the refresh correctly. The other location prestages content correctly, reboots into WinPE then immediately fails as soon as it attempts to download the first item (MDT toolkit package) from
    the distribution point. 
    SMSTS.log (below) logs 'no credential information in environment' and fails when attempting to pull from the dp. 
    This implies the network access account is not set.
    It is set and it works correctly at the other location (for the same refresh task sequence) 
    I know that R2 allows for multiple network access accounts. We've made no changes. We're just using the same account we used before the upgrade. 
    Boundaries are set correctly. Not sure what else to look for. 
    The error:
    Start executing an instruction. Instruction name: Use Toolkit Package. Instruction pointer: 61 TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Set a global environment variable _SMSTSCurrentActionName=Use Toolkit Package TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Set a global environment variable _SMSTSNextInstructionPointer=61 TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Expand a string: smsswd.exe /run:NZX000FC cscript.exe Scripts\ZTISCCM.wsf TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Expand a string: TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Command line for extension .exe is "%1" %* TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Set command line: smsswd.exe /run:NZX000FC cscript.exe Scripts\ZTISCCM.wsf TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Start executing the command line: smsswd.exe /run:NZX000FC cscript.exe Scripts\ZTISCCM.wsf TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    !--------------------------------------------------------------------------------------------! TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Expand a string: WinPEandFullOS TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    Executing command line: smsswd.exe /run:NZX000FC cscript.exe Scripts\ZTISCCM.wsf TSManager 22/11/2013 12:41:45 p.m. 1072 (0x0430)
    [ smsswd.exe ] InstallSoftware 22/11/2013 12:41:45 p.m. 1176 (0x0498)
    PackageID = 'NZX000FC' InstallSoftware 22/11/2013 12:41:45 p.m. 1176 (0x0498)
    BaseVar = '', ContinueOnError='' InstallSoftware 22/11/2013 12:41:45 p.m. 1176 (0x0498)
    ProgramName = 'cscript.exe Scripts\ZTISCCM.wsf' InstallSoftware 22/11/2013 12:41:45 p.m. 1176 (0x0498)
    SwdAction = '0001' InstallSoftware 22/11/2013 12:41:45 p.m. 1176 (0x0498)
    ResolveSource flags: 0x00000000 InstallSoftware 22/11/2013 12:41:45 p.m. 1176 (0x0498)
    SMSTSPersistContent: . The content for package NZX000FC will be persisted InstallSoftware 22/11/2013 12:41:45 p.m. 1176 (0x0498)
    DownloadOnDemand flag is true. Attempting to download content locally for Package NZX000FC. InstallSoftware 22/11/2013 12:41:45 p.m. 1176 (0x0498)
    Locations: Multicast = 0, HTTP = 2, SMB = 0. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Package Flags: 0x00000000 InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Multicast is not enabled for the package. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Trying https://SCCM.domain.local/NOCERT_SMS_DP_SMSPKG$/NZX000FC. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    GetDirectoryListing() entered InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    No credential information in environment. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Initializing HTTP transport. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Setting URL = https://SCCM.domain.local/NOCERT_SMS_DP_SMSPKG$/NZX000FC. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Address=https://SCCM.domain.local, Scheme=https, Object=/NOCERT_SMS_DP_SMSPKG$/NZX000FC, Port=443. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Setting Authenticator. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Set authenticator in transport InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Setting Media Certificate. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Media pfx is empty InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    CLibSMSMessageWinHttpTransport::Send: URL: SCCM.domain.local:443 PROPFIND /NOCERT_SMS_DP_SMSPKG$/NZX000FC InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    In SSL, but with no client cert InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    In SSL, but with no media cert InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    401 - Unsuccessful with anonymous access. Retrying with context credentials. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Using thread token for request InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    401 - Unsuccessful with context credentials. Retrying with supplied credentials. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Network access account credentials not supplied. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    401 - Unsuccessful on all retries. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    SendResourceRequest() failed. 80190191 InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    SendResourceRequest(), HRESULT=80190191 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,516) InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    oDavRequest.GetDirectoryListing (setDirs, setFiles), HRESULT=80190191 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2516) InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Download() failed. 80190191. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Here's the log from the location that works correctly. 
    Start executing an instruction. Instruction name: Use Toolkit Package. Instruction pointer: 19 TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Set a global environment variable _SMSTSCurrentActionName=Use Toolkit Package TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Set a global environment variable _SMSTSNextInstructionPointer=19 TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Set a global environment variable _SMSTSLogPath=X:\WINDOWS\TEMP\SMSTSLog TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Expand a string: smsswd.exe /run:NZX000FC cscript.exe Scripts\ZTISCCM.wsf TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Expand a string: TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Command line for extension .exe is "%1" %* TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Set command line: smsswd.exe /run:NZX000FC cscript.exe Scripts\ZTISCCM.wsf TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Start executing the command line: smsswd.exe /run:NZX000FC cscript.exe Scripts\ZTISCCM.wsf TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    !--------------------------------------------------------------------------------------------! TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Expand a string: WinPEandFullOS TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    Executing command line: smsswd.exe /run:NZX000FC cscript.exe Scripts\ZTISCCM.wsf TSManager 21/11/2013 5:17:12 p.m. 536 (0x0218)
    [ smsswd.exe ] InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    PackageID = 'NZX000FC' InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    BaseVar = '', ContinueOnError='' InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    ProgramName = 'cscript.exe Scripts\ZTISCCM.wsf' InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    SwdAction = '0001' InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    ResolveSource flags: 0x00000000 InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    SMSTSPersistContent: . The content for package NZX000FC will be persisted InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    DownloadOnDemand flag is true. Attempting to download content locally for Package NZX000FC. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Locations: Multicast = 0, HTTP = 1, SMB = 0. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Package Flags: 0x00000000 InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Multicast is not enabled for the package. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Trying https://SCCM.domain.local/NOCERT_SMS_DP_SMSPKG$/NZX000FC. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    GetDirectoryListing() entered InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Initializing HTTP transport. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Setting URL = https://SCCM.domain.local/NOCERT_SMS_DP_SMSPKG$/NZX000FC. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Address=https://SCCM.domain.local, Scheme=https, Object=/NOCERT_SMS_DP_SMSPKG$/NZX000FC, Port=443. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Setting Authenticator. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Set authenticator in transport InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Setting Media Certificate. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    WinHttp credentials set InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    CLibSMSMessageWinHttpTransport::Send: URL: SCCM.domain.local:443 PROPFIND /NOCERT_SMS_DP_SMSPKG$/NZX000FC InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    In SSL, but with no client cert InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    401 - Unsuccessful with anonymous access. Retrying with context credentials. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Using thread token for request InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    401 - Unsuccessful with context credentials. Retrying with supplied credentials. InstallSoftware 21/11/2013 5:17:12 p.m. 460 (0x01CC)
    Request was successful. InstallSoftware 21/11/2013 5:17:15 p.m. 460 (0x01CC)
    Cheers

    So, still having issues after a lot of testing. Same machine type as before, I feel like this is a bug in R2 but I can't find a lot of information on it around the web. same thing every time.
    401 - Unsuccessful with anonymous access. Retrying with context credentials. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Using thread token for request InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    401 - Unsuccessful with context credentials. Retrying with supplied credentials. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Network access account credentials not supplied. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    401 - Unsuccessful on all retries. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    SendResourceRequest() failed. 80190191 InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    SendResourceRequest(), HRESULT=80190191 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,516) InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    oDavRequest.GetDirectoryListing (setDirs, setFiles), HRESULT=80190191 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2516) InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    Download() failed. 80190191. InstallSoftware 22/11/2013 12:41:46 p.m. 1176 (0x0498)
    The only information I can find on this regarding 2012 R2 is what Torsten posted in his blog. Although he doesn't post a solution to the problem.
    I believe there needs to be a KB hotfix released regarding the issue. at least some steps we can take to resolve it.
    the only thing I haven't tried that I believe could help is to recreate the boot images from scratch instead of just re distributing them to the DP. From scratch using the latest 8.1 ADK WinPE tools.
    Other info: when the SCCM 2012 R2 update became available, the 8.1 ADK that was available at the time had many bugs and was re released almost immediately!:
    http://www.deploymentresearch.com/Research/tabid/62/EntryId/114/Windows-ADK-8-1-re-released.aspx
    I only mention this because in my case, I updated my SCCM server to R2 within hours of the update becoming available which means I most likely had the "bad" 8.1 ADK before the re released it            ^
    recreating the boot images from the newly downloaded 8.1 ADK could be the solution to our problems! 
    This is the best guide that I have found about how to create boot images from scratch (meaning that no current media on the server is used to create the boot image(s)) :
     http://myitforum.com/myitforumwp/2013/08/01/how-to-create-configmgr-2012-boot-images-from-scratch/
    For now, the only work around (which I hate) is to enable anonymous access to the Distribution Point.. when I do this the task sequences complete without error.....
    some input from Microsoft would be AMAZING at this point.

  • SCCM 2012 R2 - Distribution Point untrusted domain - Not acknowledging Network Access Account (FYI)

    Hello!
    Scenario
    Built a single primary site server in one domain with multiple distribution points. All site servers are member of this one site.
    The distribution points in the primary site servers' domain function as expected. The distribution point deployed to an untrusted domain does not. The primary site server can see all objects in the domain, publishes successfully, and CCM client on the
    DP in the untrusted domain knows its part of the site, knows its AD site (according to locationservices.log). The DP role is installed properly, logs are populating, queries are being made for application lists and updates. nfortuantely authentication
    errors indicate that this software can'tbe downloaded.
    In essence the DP in the untrusted domain can't pull down content from the primary site server. The role uses BITS to download content from IIS on the primary site server, but the requests each throw a 401 error. Unauthorised. This should be an easy fix.
    Create a Network Access Account in the primary site server's domain, assign it to the site (Software Distribution setting), wait for the DP to pick up the setting and watch it retrieve its content. The DP in the untrusted domain is configured as a Pull DP,
    implying it has to use a Network Access Account to download content. It knows the content is available and makes every effort to download it.
    Problem
    The DP in the untrusted domain doesn't know a Network Access Account (NAA) has been defined for the site.
    The account does exist, created in the primary site server's domain and assigned to the site. Its not a password issue. IIS has not been set for Anonymous access as this isn't needed - the NAA should provide the credentials it requires to pull down content.
    A manual check using the URL of the package confirms the package is accessible from the DP when using the NAA's credentials. I've allowed enough time (i think) for the DP to acknowledge the NAA. For fun the DP role was removed, and the CCM agent removed. Both
    were reinstalled. A fresh install didn't detect the NAA.
    Solution
    After some soul searching and a little frustration, it came down to this: A Pull DP always uses the Network Access Account. If the DP can't find a Network Access account it will fail to pull down content. This is undisputed. Found an article that states
    the Pull DP always uses the CCM client configuration to do its dirty work. At that point the CCM client was checked. It had the classic problem of only displaying two Actions - Machine Policy Retrieval & Evaluation Cycle, User policy Retrieval & Evaluation
    Cycle. Most components were installed but not enabled. This is fairly common. Looked at the console, found the device, added the Approval column. Turns out it wasn't auto-approved. Reason being that the client is in an untrusted domain and clients in untrusted
    domains aren't approved automatically (by default).
    In this case something as simple as an Approving the client fixed these issues. 
    The DataTransferService.log highlights the issue:
    <![LOG[CDTSJob::JobError: DTS Job ID='{17E0B672-F699-434D-B063-87CC2ACF715C}' BITS Job ID='{38B81ADE-55B5-4BD7-A881-DBFF13943EDE}' ErrorCode=0x80190191]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService"
    context="" type="1" thread="3136" file="dtsjob.cpp:3501">
    <![LOG[CDTSJob::JobError: DTS Job ID='{17E0B672-F699-434D-B063-87CC2ACF715C}' URL='http://PRIMARYSERVER.A.B.COM:80/SMS_DP_SMSPKG$/5af1680e-4a14-4dc5-8a60-bda7370e6d68'
    ProtType=1]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService" context="" type="1" thread="3136" file="dtsjob.cpp:3504">
    <![LOG[Authentication required by the proxy, DTS Job ID='{17E0B672-F699-434D-B063-87CC2ACF715C}' BITS Job ID='{38B81ADE-55B5-4BD7-A881-DBFF13943EDE}'.]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService"
    context="" type="3" thread="3136" file="dtsjob.cpp:3513">
    <![LOG[DTSJob {8814E9A1-3D26-4089-83CF-3C7D17BCEC6E} in state 'Cancelled'.]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService" context="" type="1" thread="3688"
    file="dtsjob.h:166">
    <![LOG[DTS job {17E0B672-F699-434D-B063-87CC2ACF715C} BITS job
    {38B81ADE-55B5-4BD7-A881-DBFF13943EDE} encountered Access Denied error during download.  Will retry using Network Access Account.]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService"
    context="" type="2" thread="3136" file="dtsjob.cpp:3652">
    <![LOG[DTSJob {8814E9A1-3D26-4089-83CF-3C7D17BCEC6E} cancelled by client.]LOG]!><time="18:25:54.280+00" date="02-19-2015" component="DataTransferService" context="" type="1" thread="3688"
    file="dtsjob.cpp:3205">
    <![LOG[No network access account info found.]LOG]!><time="18:25:54.327+00" date="02-19-2015" component="DataTransferService" context="" type="1"
    thread="3136" file="netaccessaccount.cpp:288">
    <![LOG[The network access account is not defined.]LOG]!><time="18:25:54.327+00" date="02-19-2015" component="DataTransferService" context=""
    type="1" thread="3136" file="netaccessaccount.cpp:858">
    <![LOG[DTSJob {17E0B672-F699-434D-B063-87CC2ACF715C} encountered error setting BITS job to use Network Access Account
    (0x00000000).]LOG]!><time="18:25:54.327+00" date="02-19-2015" component="DataTransferService" context="" type="3" thread="3136" file="dtsjob.cpp:1885">
    The IIS server logs u_ex150219.log captures the request:
    2015-02-19 123.11.12.13 GET /SMS_DP_SMSPKG$/5af1680e-4a14-4dc5-8a60-bda7370e6d68/sccm /windows6.1-kb3021917-x64.cab 80 - 9.10.11.12 Microsoft+BITS/7.7 -
    401 2 5 1509 2
    2015-02-19 123.11.12.13 GET /SMS_DP_SMSPKG$/5af1680e-4a14-4dc5-8a60-bda7370e6d68/sccm /windows6.1-kb3021917-x64.cab 80 - 9.10.11.12 Microsoft+BITS/7.7 -
    401 1 3221225581 1509 4
    2015-02-19 123.11.12.13 GET /SMS_DP_SMSPKG$/5af1680e-4a14-4dc5-8a60-bda7370e6d68/sccm /windows6.1-kb3021917-x64.cab 80 - 9.10.11.12 Microsoft+BITS/7.7 -
    401 1 3221225581 1509 3
    2 x Domains: DomainA and DomainX
    - Single domain forests
    - No trusts between domains/forests
    DomainA\PRIMARYSERVER
    - Primary Site Server, MP, DP, IIS, all roles
    DomainX\DP1
    - Distribution Point, IIS, etc
    - CCM client installed

    Based on the above, you are using a PullDP. If so, have you installed the client agent on this system? The client agent is required on PullDPs in untrusted domains so that they can acquire the NAA.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • "Wake for network access" doesn't seem to work

    I have several Yosemite Macs.  My main Mac Energy Saver setting is set to wake for network access.  That's the only box checked (Display set to turn off after an hour). 
    I can't seem to get access to this computer on my network (get a "connection failed") after the display turns off.
    Any other settings I need to set to cure this?

    Please follow Linc Davis's advice to see if you have a Sleep Proxy server on your home network.  For example, here is what the command shows on my home network:
    dns-sd -B _sleep-proxy._udp local
    Browsing for _sleep-proxy._udp.local
    DATE: ---Sun 12 Apr 2015---
    16:34:14.530  ...STARTING...
    Timestamp     A/R    Flags  if Domain        Service Type         Instance Name
    16:34:14.531  Add        3   5 local.        _sleep-proxy._udp.   30-35-10-70.1 Pantry
    16:34:14.531  Add        2   5 local.        _sleep-proxy._udp.   50-35-10-70.1 TV_Console
    I have 2 Sleep Proxy servers active on my network (both are Apple Airport Extreme home WiFi Router base stations; the names Pantry and TV_Console are the management names I have given them).
    If you DO NOT have a Sleep Proxy server, then you MUST use a special program to wake up a sleeping Mac.  WakeOnLan is one such program.
    <http://www.readpixel.com/wakeonlan/index.html>
    The Sleep Proxy or WakeOnLan will send a specially composed network packet that the networking hardware listens for and will wake up the Mac when it is seen.
    The Sleep Proxy server pretends to be your Mac while it is asleep, and if you attempt to connect to the Advertised service, the Sleep Proxy server will send that magic network packet to wake up the Mac, and forward the connection request to the new awake Mac.
    <http://en.wikipedia.org/wiki/Bonjour_Sleep_Proxy>

  • How to automatically create the custom migration scripts after recreating SSMA project?

    How to automatically create the custom data migration scripts after recreating SSMA project?
    There is number of tables ( big tables with BLOBS)  which I want to set up automatically to be migrated with custom migration scripts (replacing e.g. attribute named "FILE" with "TO_BLOB('') AS FILE" ).
    So the question is how to open MB file (I think that it should be standard db of some destktop RDBMS) ? 

    Hi Roman.Pokrovskij,
    According
    to your description, we can use SSMA tool to migrate data from one database (including Access, Oracle and so on) to SQL Server via GUI or the scripts. There is an example about migrating Access database to SQL Server via the
    custom migration scripts, you can review refer to them.
    <?xml version="1.0" encoding="utf-8"?>
    <ssma-script-file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Microsoft SQL Server Migration Assistant for Access\Schemas\A2SSConsoleScriptSchema.xsd">
    <config>
    <output-providers>
    <output-window suppress-messages="false"
    destination="stdout"/>
    <upgrade-project action="yes"/>
    <data-migration-connection source-use-last-used="true"
    target-server="target_1"/>
    <progress-reporting enable="false"
    report-messages="false"
    report-progress="off"/>
    <object-overwrite action="skip" />
    </output-providers>
    </config>
    <servers>
    <!-- Server definition for Sql server target server-->
    <sql-server name="target_1">
    <sql-server-authentication>
    <server value="$SQLServerName$"/>
    <database value="$SQLServerDb$"/>
    <user-id value="$SQLServerUsrID$"/>
    <password value="$SQLServerPassword$"/>
    <encrypt value="true"/>
    <trust-server-certificate value="true"/>
    </sql-server-authentication>
    </sql-server>
    </servers>
    <script-commands>
    <create-new-project project-folder="$project_folder$ "
    project-name="$project_name$"
    overwrite-if-exists="true"/>
    <connect-target-database server="target_1"/>
    <load-access-database database-file="$AccessDbFolder$\$AccessDatabaseFile$"/>---
    <!--Schema Mapping-->
    <map-schema source-schema="$AccessDatabase$" sql-server-schema="$SQLServerDb$.dbo" />
    <!-- Convert schema -->
    <!-- Example: Convert entire Schema (with all attributes)-->
    <convert-schema object-name="$AccessDatabase$"
    object-type="Databases"
    conversion-report-overwrite="true"
    verbose="true"
    report-errors="true" />
    <!-- Synchronize target -->
    <!-- Example: Synchronize target entire Database with all attributes-->
    <synchronize-target object-name="$SQLServerDb$.dbo"
    on-error="fail-script" />
    <!-- Data Migration-->
    <!--Example: Data Migration of all tables in the schema (with all attributes)-->
    <migrate-data object-name="$AccessDatabase$.Tables"
    object-type="category"
    report-errors="true"
    verbose="true"/>
    </script-commands>
    </ssma-script-file>
    There is a similar scripts about migrating Oracle database to SQL Server, you can use powershell script to automatically run the console for scripts/variable files, saved in the specified folder. For more information, review the following
    article.
    http://blogs.msdn.com/b/ssma/archive/2010/09/09/performing-database-migration-assessment-using-ssma-console-application.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • Can't access to Portal Admin Console.

    Hi all, I'm working with WLP 10.2. I've created the ear-file (using maven) and deployed it on server (with Unix-system). The current application works well. My current task is a creation portal in streaming mode. Unfortunately I can't access to Porta

  • Cisco AnyConnect WEB/SSL VPN - does not launch after Apple's security update on Mac OS 10.7 and 10.6

    AnyConnect version: 2.5.2001 Mac OS versions: 10.7.2 and 10.6.8 We used to invoke Cisco AnyConnect VPN via the Safari browser for the SSL URL and it used to work fine on Mac OS 10.6 and 10.7. Apple released a security update on 8/Nov/2011 (see: http:

  • IWeb Google Maps and Photo Gallery Question

    I have a Website I started to create a while back. Is there a way to insert a google map and some type of photo gallery into my site, now that MobileMe is gone???  I really liked the simplicity of iWeb. Is there anything else out there? Thanks, Eric

  • Strange System Preferences

    I went to the system preferences folder to look at "Keyboard" preferences. I noticed that the icon was purple and when I double clicked it opened a game called"AstroSquid". I seems that all of the Apple Prefs. are purple and ask me the same question

  • Hi All In PO Please Help Me Any One

    Hi All, My requirements is when ever new supplier is created (After Save) That Information automatically will send through Email (Manager mail) I was created a supplier and i was created Alert for this AP_supplier and Xml Bursting also completed here