Problem with MDT task

Hi we are looking at using MDT to deploy to around 1000s machines across the school and have been tasked with testing it. I have got our image captured and deploy-able but not quite how we need it yet. 
We want to be able to deploy the image to a system that currently as windows installed but also format the drive in the process. I have setup a domain account that maps the deployment share and runs the vbs script. That all works fine the machine reboots
in to the WIN PE formats the drive and then errors out saying no drive to install to check drivers.
The other way we want to install is by network boot I cant test this yet. To get round it I have uploaded the boot wim on to a usb stick. When I boot from that the task runs through start to finish no issue. Formats the drive installs runs through and I
end up with a fully installed machine ready for naming and domain joining. 
I can't understand why when they both run the exact same task with both boot wim being exactly the same that one works and one doesn't.
Any advice much apprenticed Andrew Hoy

That's because you're not allowing MDT to format the device.  When you omit the MDT diskpart solution, you often run into OS target drive issues because you're not configuring the proper MDT variables with target partition information. ZTIDiskpart along
with ZTIGather handle this information. I recommend you create a format step in your image sequence and use the MDT construct to format the devices. This will handle all of the variable dependencies that MDT relies on for deployment.  Good luck.
Ryan

Similar Messages

  • Problem with complete task via email

    Hello,
    I have problem with complete task via email. I found this blog very useful (http://blogs.adobe.com/ADEP/2010/11/how-to-complete-a-task-via-email-using-reply-to-comple te.html), but...
    I set up everything as it’s written in blog mentioned above. When a task is assigned to me, I received an email notification with actions (accept, deny). After that I replied with action “accept”. Then I received email with subject “Errors from LiveCycle ES”:
    LiveCycle ES has tried to process your request and encountered the following error:
    com.adobe.pof.POFRuntimeException: Transaction is not active: tx=TransactionImple ; – nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple )
    This response to your original email
    Subject:RE:Task Assignment – Process: Test/Email_Test. Task 76 has been assigned to you.
    Date Sent:Thursday, October 24, 2011 1:17 PM
    Body:accept
    DO-NOT-DELETE: MTMhMzE0ITMyOA==!
    Attachments:
    In log appeared this following error:
    Caused by: ALC-DSC-215-000: com.adobe.idp.dsc.DSCRuntimeException: None of the Auth Provider could authenticate the user. Authentication Failed
    at com.adobe.livecycle.notification.TaskNotificationServiceImpl.processEmailComplete(TaskNot ificationServiceImpl.java:1157)
    Can you me please? I have no idea what to do to succesfully complete task via email endpoint. Thanks
    Jan Petrla

    Hi Diana, thanks for your reply.
    You're probably right about 2 different error messages.
    To the 1st one: I'm sure that status task is Assigned (to me). I received an email and I also reply on that email.
    To error log: I found out that error log appears when I enable email endpoint on Complete Task service. But I managed to solve this problem. I set wrong user. Now I have here the same user as is written in login-config.xml so log seems to be ok.
    So I created new task and tried to complete it via email. Now I receive email with another error:
    LiveCycle ES has tried to process your request and encountered the following error:
    com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error getting user context
    This response to your original email
    Subject:RE:Task Assignment - Process: WorkFlowClient/Test. Task 92 has been assigned to you.
    Date Sent:Thursday, October 27, 2011 3:05 PM
    Body:Complete
    DO-NOT-DELETE: MTIxMSExNjAzITIwMTE=!
    Attachments:
    And to the last point: email endpoint is set up with TestPOP3@mydomain and user receiving email has jpetrla@mydomain. I use Lotus Notes as email client, I tried another account with gmail, but the result was same.
    Now I really don't know to do...
    Jan

  • Problem with remove task from schedule in PWA

    In our environment problem with remove task from schedule by PWA.
    Problem is only when I want to remove few task in the same time, but the operation one by one is correct.
    In my opinion problem is with calculation schedule after remove tasks, column ID include wrong value it means that Number ID does not generate in the correct order same of numer
    disappear. Click Calculate button on ribbon causes problem with finshed operation and save project.
    Problem occurs only machine with IE 11.0 browser without compability mode, on other machine for example on the same project with IE 8,9,10 everything is correct.
    Problem appeared recently, earlier everything was OK.
    Txn, Dariusz Moczyński

    Hi Darius,
    I'm a bit confused. You are now talking about 2 issues.
    For the first one, you cannot edit anymore tasks in PWA, with any browser versions? Is it happenonog for any users on any projects? Try the following solutions publish the project from Project Pro and see if it helps. Press CTRL F5 to delete IE cache. Ensure
    that your PWA URL is added to the trusted site and/or compatibility sites. Check for the ULS logs or javascript errors.
    For the second issue, please refer to my previous reply, this obviously cannot be considered as a bug since it is happening with a non supported browser version and working properly on supported versions of IE.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Image creation with MDT task sequence- "Windows has recovered from an unexpected shutdown"

    I'm using MDT 2012 U1 to build and capture a Windows 7 x86 image for deployment with ConfigMgr 2012 SP1.  I'm using the standard client task sequence in MDT.
    The MDT task sequence consistently fails after the reboot in the "Postinstall" group.  The install OS, Copy Scripts, Configure, Inject Drivers, Next Phase, and Restart Computer tasks all execute successfully, then the MDT-initiated reboot
    completes successfully.  There is nothing else helpful in the SMSTS.LOG, these are the last entries in the log:
    Successfully complete the action (Restart Computer) with the exit win32 code 0
    Sending status message
    Executing in non SMS standalone mode.  Ignoring send a task execution status message request
    Set a global environment variable _SMSTSLastActionRetCode=0
    Set a global environment variable _SMSTSLastActionSucceeded=true
    Expand a string %_SMSTSMDataPath%\Logs
    Deleting file without retrying
    The error message on the reference computer says, "Windows has recovered from an unexpected shutdown" along with "An existing in-progress deployment was found but is not in an expected state.  Would you like to ignore this in-progress
    deployment and start a new one?"
    I have found one post that suggested modifying customsettings.ini with  HideShell=Yes, which I tried.  It didn't help.
    I am not sure why MDT thinks the reboot was unexpected?  Has anybody run into this?  What steps can I take to narrow down the problem?
    Any help/suggestions are appreciated.
    Thanks,
    FP

    Thanks for your reply Phil.
    Setuperr.log is empty, zero bytes.  Setupact.log looks good to me, it has these entries at the end:
    OrchestrateUpdateImageState: Updating image state from [IMAGE_STATE_UNDEPLOYABLE] --> [Image_State_Complete]
    OOBELdr.exe exiting with code [0x0]...
    Process exited with exit code [0x0]
    c:\windows\panther\SetupInfo succeeded.
    c:\windows\panther\setupinfo.
    Windeploy.exe exiting with code [0x0]
    SetupSQM Started
    Panther path is C:\windows\Panther
    SQM not opted in
    SetupSQM is finished
    Our image environment was created during an MCS Engagement, so we have the solution pack and there are many variables in customsettings.ini.  I will need to find out how to narrow this down but I'm not finding a log file that tells me where it's choking... 
    Any suggestions are appreciated.
    Thanks,
    FP

  • Problem with clientgen task in weblogic 9.0

    hi,
    While developing webservices for our project, we used the clientgen ant task for generating the artifacts on the client side. I'm getting trouble in returning a collection of objects (list, vector) from the server to the client. When i try to do so, the clientgen task tries to create a java.util package on the client side in which it creates a List class which basically contains an object array with getter-setter. What i want is for the sun java collections classes to be used instead. The above problem applies to both user-defined as well as built-in objects i.e. say a list of objects of type T or a list of Strings. If someone, has any pointers regarding the same plz help...
    tia,
    cyril

              Try limiting the length of the session id.
              This is in either the weblogic.xml/web.xml
              files. You can get the dtd in the 6.0 doc.
              "Thierry Cools" <[email protected]> wrote:
              >Hi I have a problem with the session id that is generated in tha address bar
              >of my brower
              >When I start my application the following link appears
              >
              >http://127.0.0.1:7001/ebpp_beans/enterLogonInformation.do;jsessionid=Olw9VMc
              >0I1Z52YMgycyD23c8L4Ch2FurHLwbV2WhZw731dR3mBtJ|8186718416288373359/-140823374
              >1/7001/7002
              >
              >It seems that Weblogic 6.0 generates '/' characters in the session id.
              >This has for consequences that the servlet engine is taking the session id
              >in its context path, so that none of my links are working anymore.
              >
              >Could someone give me a clue to solve this problem
              >Thanks,
              >Thierry
              >
              >--
              >
              >Thierry Cools
              >
              >Senior Java Developer
              >S1 Brussels
              >Kleine Kloosterstraat, 23
              >1932 st. Stevens-Woluwe
              >Belgium
              >Tel : +32 2 200 43 82
              >Email : [email protected]
              >
              >
              >
              

  • Problem with user task

    Hello all,
    we're working with Oracle BPEL Process Manager 10.1.2 (JBoss 3.2.6) on Windows XP (jdk 1.4.2_03).
    I've successfully run many examples provided with this distribution (e.g LoanFlowPlus demo).
    However when we try to build a BPEL process with user tasks defined, we are able to launch task, but when we complete such tasks nothing happens, and onTaskResult method is never called.
    This is the code we use to complete a task (Task are completed from web pages):
    String _taskId = request.getParameter("TaskId");
    IWorklistService worklist = (IWorklistService)          locator.lookupService(IWorklistService.SERVICENAME);
    ITask task = worklist.lookupTask(_taskId);
    // getResponse returns a String
    _task.setConclusion(getResponse());
    // getAttachment returns a XML Document                         
    _task.setAttachment(getAttachment());
    worklist.completeTask(task);
    After these sentences are performed such task is not returned when _worklist.listTasksByAssignee("[email protected]") is performed, but onTaskResult is never called. No error messages are shown.
    Any idea?
    Thanks.
    Javi

    I've found a possible cause for this weird problem.
    It only happens when completeTask is called and somebody has the flow view page on the BPEL Console open.
    If nobody is browsing through the BPELConsole web environment task are completed successfully...
    ¿?

  • Problems with Assign Task operation

    I'm having a problem with the Assign Task operation. When I export an application of the LiveCycle ES2 environment and import into another environment LiveCycle ES2, my process get stalled in the all Assign Task operations, and the only way to solve the problem I found is to redo all the Assign Task operations. But in an application with many Assign Task operations, this solution becomes very complicated.
    Anyone who has encountered this problem could help me better to fix it?
    Thanks for any help!
    Following is the error message:
    StackTrace:
    java.lang.NullPointerException
    at com.adobe.idp.taskmanager.dsc.util.UserManagerUtils.getUserOID(UserManagerUtils.java:959)
    at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createTaskFromDialogPropertie s(UserServiceImpl.java:941)
    at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createLongLivedTask(UserServi ceImpl.java:1631)
    at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createLongLivedTask(UserServi ceImpl.java:1506)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
    at sun.reflect.GeneratedMethodAccessor643.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy378.doSupports(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(Abstra ctExecutableJob.java:127)
    at com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(Persistent ExecutableJob.java:60)
    at com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsync hronousWorkAdapter.java:39)
    at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
    at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
    at java.lang.Thread.run(Thread.java:619)

    Hi javier,
    1. record = <DATOS>
    If possible, try to use
    a pre-defined strucure of type P9069
    for putting data into this infotype.
    2. Avoid using field symbols.
    3. Try with P9069
    regards,
    amit m.

  • Wiping a disk with MDT task sequence?

    I'm thinking that I could use MDT/WDS to do a secure disk wipe for old computers. Has anyone implemented something like this with MDT? 

    Take a look at the "Client Replace" Task sequence template supplied with MDT
    This Task Sequence is designed to de-commission a client computer, first saving the data to a external network share.
    The task sequence also calls the ZTIWipeDisk.wsf script to peform a multi-pass wipe of all partitions.
    Then again, if you have machines with sensitive information on them, you should be using disk encryption like Bitlocker to ensure that the data is protected. Simply install a new OS without suspending the old BitLocker protection.
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • Problem with Human Task(hw_services)

    Hi,
    We are facing a problem using the Human Task in a BPEL process.
    When we add a human task and for any BPEL process in Jdeveloper and tried to add a new user to it no Realm is getting selected.
    And when we try to lookup for users getting an error message
    ' Identity Service Client Error
    BPMIdentityService has client error
    Contact oracle support if error is not fixable'
    We're using the default settings for security on dev server.
    Our SOA suite configured on HP-UX machine and using Oracle XE DB which is on Windows XP machine.
    This is working fine with other configurations working on Windows machines.
    And other interesting thing we found is,When we open the em console we didn't find any webservices unders 'hw_services'
    ( IdentityConfigServicePort,IdentityServicePort IdentityService, TaskMetadataServicePort TaskMetadataService,TaskQueryServicePort TaskQueryService,TaskServicePort are not there)
    seems our hw_services are not configured properly. Everything else is working fine.
    Please help advice as it is very urgent...
    Thanks in advance...
    -Sri

    Hi Marc,
    Thank you very much for the reply.
    WorkList Application's URL mentioned in the wf_config.xml is working fine and we are getting the login page.
    But the SOAP endpoints mentioned in wf_client_config.xml for other webservices like Identity Services are not working. Getting HTTP 404 Not Found error message
    We didn't face any other problems with the config.
    Please help advice whether any other details are needed to solve this issue....
    Thanks again...
    -Sri

  • Problem with Automated Tasks

    Hi all,
    At this moment I'm testing a cartridge deployed in OSM7 that is installed in Solaris Spark. The cartridge contains processes that include Automated Tasks with XQuery Sender Automator Internal to send a message to a queue JMS. In some of the Automated Task, when try to execute de XQuery Sender doesn't occur anything, the message is not putted in the queue and in the log doesn't appear any error.
    I created 3 orders in OSM, and checking all the WebLogic console I can see the next:
    1. In the worklist of OSM appear the 3 orders with column "State=Received" and doesn't have anything in the column "User", (I think this mean that the automator has not started).
    2. In the WebLogic console -> JMSModules -> "oms_jms_module" -> "oms_events" ->Monitoring, I can see 3 messages "Pending" that correspond to each order created.
    3. The Orchestration Plan "Seen in the osmwebui" is OK.
    Note1: When I test the same cartridge deployed in OSM7 installed in Windows I don't have the problem.
    Note2: This doesn't occur always, sometimes the JMS Message is putted in the queue and the flow of the order continues in the right way.
    Thanks a lot for any suggestion.
    Edited by: user2926753 on 17-nov-2011 9:24

    Ramiro;
    From what you are describing, it sounds as if the automation plugin is not deployed - hence the reason why the task you are intending to automate just stays in the received state.
    I would suggest you start by undeploying and then redeploying your cartridge.
    Of course this doesn't explain your Note2, but worth trying the above in any case.
    Can you tell me how you are submitting the order and what release of OSM you are on?
    Thanks,
    Brian.

  • Problem with Recurring Tasks

    Hi people,
    After I upgraded my curve 8900 to 5.0 anything (tried two so far) .461 & .411 I noticed that my tasks from Outlook that are recurring when  I mark them completed the next occurance has a strange reminder time.
    i.e.
    I have a recurring task Morning Vitamins set to be reminded daily at 8:00 AM. When I complete the task in version 4 the next task was created no problems. However, with version 5 when I complete the task, the next task has a reminder time of 1:00 AM sometimes 2:00 AM. I can't figure out the rhyme or reason of this.
    I have tried several battery pulls no change still same wierd reminder time.
    Has anyone else noticed this? Anyone have any ideas to fix this?

    Hello Robin, and thanks for the answer.
    The QA team is testing with a special account created to this purpose. We the development team are viewing these tasks wuth that account without a problem, that's the odd thing. We've checked the IE version, the security configuration of IE and everything matches. The problem began when we changed from VC to WebDynpro.
    Regards

  • Odd Problem With MDT 2012 Deployment

    Disclaimer:  I'm an MDT n00b and barely know how to do anything other than the basics.
    The odd problem:  Computers that I deploy Windows 7 to using MDT will NOT (after deployement is complete) pass credentials to our proxy (Smoothwall - NTLM Authentication) and cannot not access the internet.  It doesn't matter the flavor of Windows
    7: 32bit/64bit or Pro/Ultimate same result.  Does this on an unpatched machine with only IE8 or a fully patched machine with IE9.  I've diddled all the security and connection settings in IE that I know to diddle with the same result. And it's not
    just an IE problem.  It does it with Firefox, too.  Now getting to intranet sites is no problem... this is strictly an internet proxy authentication issue.
    Now... why am I asking the MDT forum about this?  Because I can load Windows 7 the old fashioned way with a DVD made from the same ISO that I used when setting up MDT and it works fine. 
    So  MDT must be doing something differently when deploying Win 7.  As a side note, when I deploy Windows 8 using MDT we do not have this issue. Maybe Microsoft just wants me to upgrade? :)
    Everything else about the computer seems quite normal.  No undetected drivers.  Windows activates normally.  I can join the domain either during or after the process.  Install applications automatically.  I mean the whole MDT process
    seems to be working great otherwise. 
    Help?  Please?

    Yes, I found a way to undo this in my environment without needing to reimage all of the computers. 
    There are two problems:
    1. GP items in the Administrative Template were modified.
    2. GP items in the Security section were modified.
    Problem 1
    To address problem #1 delete the folder "%SystemRoot%\System32\GroupPolicy":
    rd /s /q "%SystemRoot%\System32\GroupPolicy"
    Problem 2
    To address problem #2, it gets a little more complicated since there is no easy way to "revert" to the default in Win7.  The only workaround is to import new settings.  To accomplish this, I ran the following from a FRESHLY installed non-domain
    joined computer that did not have the local GPO pack applied:
    secedit /export /cfg secConf.inf
    Then on the "bad" system that had the local GPO applied, I ran:
    secedit /configure /db secedit.sdb /cfg secConf.inf /overwrite /quiet
    I also found that I needed to delete the following keys since they did not exist on my safe/good image:
    reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableCAD" /f
    reg delete "HKLM\System\CurrentControlSet\Control\Lsa" /v "LmCompatibilityLevel" /f
    reg delete "HKLM\System\CurrentControlSet\Control\Lsa" /v "SCENoApplyLegacyAuditPolicy" /f
    And for some reason (and this was not consistent), I also found that I needed to delete the following on some systems:
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /f
    Full Solution
    Here is everything I ran against my "bad" systems that were domain joined in production use:
    Batch File
    rd /s /q "%SystemRoot%\System32\GroupPolicy"
    secedit /configure /db secedit.sdb /cfg "%~dp0SecurityPolicies-Defaults.inf" /overwrite /quiet
    reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableCAD" /f
    reg delete "HKLM\System\CurrentControlSet\Control\Lsa" /v "LmCompatibilityLevel" /f
    reg delete "HKLM\System\CurrentControlSet\Control\Lsa" /v "SCENoApplyLegacyAuditPolicy" /f
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /f
    SecurityPolicies-Defaults.inf
    [Unicode]
    Unicode=yes
    [System Access]
    MinimumPasswordAge = 0
    MaximumPasswordAge = 42
    MinimumPasswordLength = 0
    PasswordComplexity = 0
    PasswordHistorySize = 0
    LockoutBadCount = 0
    RequireLogonToChangePassword = 0
    ForceLogoffWhenHourExpire = 0
    NewAdministratorName = "Administrator"
    NewGuestName = "Guest"
    ClearTextPassword = 0
    LSAAnonymousNameLookup = 0
    EnableAdminAccount = 1
    EnableGuestAccount = 0
    [Event Audit]
    AuditSystemEvents = 0
    AuditLogonEvents = 0
    AuditObjectAccess = 0
    AuditPrivilegeUse = 0
    AuditPolicyChange = 0
    AuditAccountManage = 0
    AuditProcessTracking = 0
    AuditDSAccess = 0
    AuditAccountLogon = 0
    [Registry Values]
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole\SecurityLevel=4,0
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole\SetCommand=4,0
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\CachedLogonsCount=1,"10"
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ForceUnlockLogon=4,0
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\PasswordExpiryWarning=4,5
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ScRemoveOption=1,"0"
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin=4,5
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorUser=4,3
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\DontDisplayLastUserName=4,0
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableInstallerDetection=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableSecureUIAPaths=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableUIADesktopToggle=4,0
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableVirtualization=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\FilterAdministratorToken=4,0
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\LegalNoticeCaption=1,""
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\LegalNoticeText=7,
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\PromptOnSecureDesktop=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ScForceOption=4,0
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ShutdownWithoutLogon=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\UndockWithoutLogon=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ValidateAdminCodeSignatures=4,0
    MACHINE\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers\AuthenticodeEnabled=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\AuditBaseObjects=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\CrashOnAuditFail=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\DisableDomainCreds=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\EveryoneIncludesAnonymous=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\ForceGuest=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\FullPrivilegeAuditing=3,0
    MACHINE\System\CurrentControlSet\Control\Lsa\LimitBlankPasswordUse=4,1
    MACHINE\System\CurrentControlSet\Control\Lsa\MSV1_0\NTLMMinClientSec=4,536870912
    MACHINE\System\CurrentControlSet\Control\Lsa\MSV1_0\NTLMMinServerSec=4,536870912
    MACHINE\System\CurrentControlSet\Control\Lsa\NoLMHash=4,1
    MACHINE\System\CurrentControlSet\Control\Lsa\RestrictAnonymous=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\RestrictAnonymousSAM=4,1
    MACHINE\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers\AddPrinterDrivers=4,0
    MACHINE\System\CurrentControlSet\Control\SecurePipeServers\Winreg\AllowedExactPaths\Machine=7,System\CurrentControlSet\Control\ProductOptions,System\CurrentControlSet\Control\Server Applications,Software\Microsoft\Windows NT\CurrentVersion
    MACHINE\System\CurrentControlSet\Control\SecurePipeServers\Winreg\AllowedPaths\Machine=7,System\CurrentControlSet\Control\Print\Printers,System\CurrentControlSet\Services\Eventlog,Software\Microsoft\OLAP Server,Software\Microsoft\Windows NT\CurrentVersion\Print,Software\Microsoft\Windows NT\CurrentVersion\Windows,System\CurrentControlSet\Control\ContentIndex,System\CurrentControlSet\Control\Terminal Server,System\CurrentControlSet\Control\Terminal Server\UserConfig,System\CurrentControlSet\Control\Terminal Server\DefaultUserConfiguration,Software\Microsoft\Windows NT\CurrentVersion\Perflib,System\CurrentControlSet\Services\SysmonLog
    MACHINE\System\CurrentControlSet\Control\Session Manager\Kernel\ObCaseInsensitive=4,1
    MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management\ClearPageFileAtShutdown=4,0
    MACHINE\System\CurrentControlSet\Control\Session Manager\ProtectionMode=4,1
    MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\optional=7,Posix
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\AutoDisconnect=4,15
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\EnableForcedLogOff=4,1
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\EnableSecuritySignature=4,0
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\NullSessionPipes=7,
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\RequireSecuritySignature=4,0
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\RestrictNullSessAccess=4,1
    MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\Parameters\EnablePlainTextPassword=4,0
    MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\Parameters\EnableSecuritySignature=4,1
    MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\Parameters\RequireSecuritySignature=4,0
    MACHINE\System\CurrentControlSet\Services\LDAP\LDAPClientIntegrity=4,1
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\DisablePasswordChange=4,0
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\MaximumPasswordAge=4,30
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\RequireSignOrSeal=4,1
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\RequireStrongKey=4,1
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\SealSecureChannel=4,1
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\SignSecureChannel=4,1
    [Privilege Rights]
    SeNetworkLogonRight = *S-1-1-0,*S-1-5-32-544,*S-1-5-32-545,*S-1-5-32-551
    SeBackupPrivilege = *S-1-5-32-544,*S-1-5-32-551
    SeChangeNotifyPrivilege = *S-1-1-0,*S-1-5-19,*S-1-5-20,*S-1-5-32-544,*S-1-5-32-545,*S-1-5-32-551
    SeSystemtimePrivilege = *S-1-5-19,*S-1-5-32-544
    SeCreatePagefilePrivilege = *S-1-5-32-544
    SeDebugPrivilege = *S-1-5-32-544
    SeRemoteShutdownPrivilege = *S-1-5-32-544
    SeAuditPrivilege = *S-1-5-19,*S-1-5-20
    SeIncreaseQuotaPrivilege = *S-1-5-19,*S-1-5-20,*S-1-5-32-544
    SeIncreaseBasePriorityPrivilege = *S-1-5-32-544
    SeLoadDriverPrivilege = *S-1-5-32-544
    SeBatchLogonRight = *S-1-5-32-544,*S-1-5-32-551,*S-1-5-32-559
    SeServiceLogonRight = *S-1-5-80-0
    SeInteractiveLogonRight = Guest,*S-1-5-32-544,*S-1-5-32-545,*S-1-5-32-551
    SeSecurityPrivilege = *S-1-5-32-544
    SeSystemEnvironmentPrivilege = *S-1-5-32-544
    SeProfileSingleProcessPrivilege = *S-1-5-32-544
    SeSystemProfilePrivilege = *S-1-5-32-544,*S-1-5-80-3139157870-2983391045-3678747466-658725712-1809340420
    SeAssignPrimaryTokenPrivilege = *S-1-5-19,*S-1-5-20
    SeRestorePrivilege = *S-1-5-32-544,*S-1-5-32-551
    SeShutdownPrivilege = *S-1-5-32-544,*S-1-5-32-545,*S-1-5-32-551
    SeTakeOwnershipPrivilege = *S-1-5-32-544
    SeDenyNetworkLogonRight = Guest
    SeDenyBatchLogonRight =
    SeDenyInteractiveLogonRight = Guest
    SeUndockPrivilege = *S-1-5-32-544,*S-1-5-32-545
    SeManageVolumePrivilege = *S-1-5-32-544
    SeRemoteInteractiveLogonRight = *S-1-5-32-544,*S-1-5-32-555
    SeImpersonatePrivilege = *S-1-5-19,*S-1-5-20,*S-1-5-32-544,*S-1-5-6
    SeCreateGlobalPrivilege = *S-1-5-19,*S-1-5-20,*S-1-5-32-544,*S-1-5-6
    SeIncreaseWorkingSetPrivilege = *S-1-5-32-545
    SeTimeZonePrivilege = *S-1-5-19,*S-1-5-32-544,*S-1-5-32-545
    SeCreateSymbolicLinkPrivilege = *S-1-5-32-544
    [Version]
    signature="$CHICAGO$"
    Revision=1
    Thanks to Darren Mar-Elia for leading me in the right direction with this.
    Good luck!

  • Problem with Script Task formatting excel

    Hi Experts,
    I am creating a package and using Script task to format one excel dimension file, now the problem is if I execute the package from BIDS designer with static values then the package executes fine with excel file formatted perfectly fine but if I execute same package in BPC via Data manager with values used from variables it gives error on script task message:
    "Description = System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Office Excel cannot access the file 'E:\PC_MS\Data\Webfolders\CDNPLAN\AdminApp\Stage\Employee.xls'. There are several possible reasons:
    u2022 The file name or path does not exist.
    u2022 The file is being used by another program.
    u2022 The workbook you are trying to save has the same name as a currently open workbook.
    at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
    at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
    at ScriptTask_2921447fa19c44dfae73d5370828ba94.vbproj.ScriptMain.Main()
    Now to crosscheck I commented the dynamic variables from the code and used same static values with Data manager as they are in BIDS but it didn't help, please find the code below and help me in solving this problem or just give me some clue to come out if this:
    Thanks & Regards,
    Rohit
    Code
    Public Sub Main()
              ' Add your code here
            'Dim FileName As String = Dts.Variables("MYWEBFOLDERS").Value & Dts.Variables("MYAPPSET").Value & "\AdminApp\Stage\" & Dts.Variables("MYDIMNAME").Value & ".xls" This I commented as it was using dynamic variables
            Dim FileName As String = "E:\PC_MS\Data\Webfolders\CDNPLAN\AdminApp\Stage\Employee.xls"
        Dim WB As Object ' Workbook
        Dim WS As Object 'Worksheet
        Dim W As Object 'Window
        Dim XL As Object 'Application
        XL = CreateObject("Excel.Application")
        XL.DisplayAlerts = False
        ' Open the workbook
        WB = XL.Workbooks.Open(FileName)
        ' WB = GetObject(FileName)
        '    XL = WB.Parent
        '    XL.DisplayAlerts = False
        WS = WB.Worksheets(1)
        W = WB.Windows(WB.Name)
        ' Change the name of the worksheet to MEMBERS
        WS.Name = "MEMBERS"
        ' Set up the split and freeze the panes
        W.SplitRow = 1
        W.SplitColumn = 1
        W.Split = True
        W.FreezePanes = True
        ' Make it visible
        W.Visible = True
        ' Replace *ID column header with ID
        Dim Row1 As Object
        Row1 = WS.UsedRange.Rows("1:1")
        Dim I As Integer
        For I = 1 To Row1.Columns.Count
          If Row1.Cells(I, 1).Value = "*ID" Then
            Row1.Cells(I, 1).value = "ID"
            Exit For
          End If
        Next
        ' Paste Values
        WS.UsedRange.NumberFormat = "@"
        WS.UsedRange.Value = WS.UsedRange.Value
        ' Change the font of everything to Arial,9
        With WS.Cells.Font
          .Name = "Arial"
          .Size = 9
        End With
        ' Format the top row to be bold and orange
        With WS.Rows("1:1")
          .Font.Bold = True
          .Interior.ColorIndex = 44 'orange
        End With
        ' Auto-fit all the columns
        WS.Cells.EntireColumn.AutoFit()
        ' Convert to Excel format
        Const xlNormal = -4143
        WB.Parent.DisplayAlerts = False
        WB.SaveAs(FileName:=FileName, FileFormat:=xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, CreateBackup:=False)
            ' Close and save changes
            WS = Nothing
            WB.Close()
            W = Nothing
        ' Quit Excel
            XL.Quit()
            XL = Nothing
        Dts.TaskResult = ScriptResults.Success
         End Sub

    Hi,
    If you do not define GLOBAL VARIABLE in your BPC package and BIDS, why don't you try to have it? you should specify the webfolder and file name in advanced script, then you also need to create global variable as text type in BIDS.
    I saw many cases BPC does not pass the dynamic variable to BIDS, therefore I changed the type of variable as the Global variable and it works for me.
    Regards,
    YH Seo

  • Problem with completed tasks

    Hello
    I'm having some doubts about the tasks already completed in a WF. In a concrete case, we have a document checking in one of our WF tasks, sending an UWL notification to the designated agent; in some point of the WF, if the processed info is not satisfactory, a loop returns the flow to the document checking task, but the notification in the UWL is not received by the agent, and if we check the WF log, the task appears as completed. is that because the WF registers a task as completed and even the task is executed again the completed status is not changed and this causes the problem?
    Thanks in advance.

    Hi,
    I think in a workflow a dialog task can be executed once ...
    pelase try by creating a new task by copying the task and calling it .
    For background task loop works fine . Lets wait if some one has a better solution, because in the solution which i am giving a n-times loop is not possible ..... (you cant go on creating tasks :-D ) .
    regards,
    Naval Bhatt

  • I have a problem with a Task school

    i have a problem https://onedrive.live.com/redir?resid=16106437D5EF76FF%21107
    I want to set the start button so that when you click exchange positions, Please Help Me!!!

    var printArray:Array = [];
    var mcs:Array = [n1, n2, n3, n4, n5, n6, n7, n8, n9, n9,n10];
    for(var n:int = 1; n <= 28; n++)
        var randNo:int = int(Math.random() * 10);
        printArray.push(randNo);
    for(var p:int = 0; p < printArray.length; p++)
        trace(printArray[p]);
        var mc:MovieClip = new mcs[printArray[p]];
        addChild(mc);
    I am very confused with the code, help please! need to work

Maybe you are looking for

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a Web

  • How do I install lesson files without a disk drive?

    I just bought a new iMac. It does not have a disk drive. How do I install Adobe Photoshop Classroom in a Book Lesson files?

  • Displaying FCE Video on TV

    Before burning a FCE video onto a DVD, I would like to review it on a Sony Bravia XBR television. The FCE video is on a 17 inch MacBook Pro, which I connected to the Sony television with a DVI-to-HDMI cable. Resolution of the MacBook Pro is set at 16

  • How to remove  options like  add , toogle, delete  in the BI Portal

    When you logon to the portal and select any planning function and after giving the input for mandatory cells and after execution of that click the filter option on the right side of screen. In the next window  How can we restrict the options like add

  • Changing Item Text Auto in Purchase Order

    Hi All,    In existing purchase orders, i like to add two text lines to the last line item in the tab 'Texts'.    First i have to read the text lines for the last item.  Then i have to add lines to the item.  Would anyone know what bapi to make the t