Script or .bat for control userpasswords2 after sysprep

I am new to windows 7 and sysprep. I have my image built and everyhing works well but after i run sysprep it resets the autoadmin logon to windows. After testing all i have to do is redo the control userpassords2 utility and windows auto logon works again. is there a way to automate this so i don't have to touch the machines after imaging? I have tried numerous ways to try to get this to work but after hours on the internet and trial and error this seems to be the easiest way. I'm not good with scripts or .bat so any help would be appreciated. Thanks, chris

Originally Posted by whitee27
I am new to windows 7 and sysprep. I have my image built and everyhing works well but after i run sysprep it resets the autoadmin logon to windows. After testing all i have to do is redo the control userpassords2 utility and windows auto logon works again. is there a way to automate this so i don't have to touch the machines after imaging?
Chris,
Can I ask why you do not have Sysprep creating your local accounts and setting the password as part of the process? I do that now as I set the Administrator password and create 3 other accounts (in my case) and set the passwords for them. I think that is in pass 4 Specialize. In my case I am building a Windows 7 (64bit) image so I use the amd64_Microsoft_Windows_Shell-Setup_neutral option and then Autologin option and then set the Administrator password. The computer name also either gets set here or in my case brings up a window early on to name the computer since image safe data does not seem to work for us anymore.
In pass 5 Audit System again with option:
amd64_Microsoft_Windows_Shell-Setup_neutral
UserAccounts
LocalAccounts
LocalAccounts[Name=
and then its password.
That was a second account that also happens to be my main network account for setting up workstations and I use it for autologin below.
In pass 7 OOBE System
again with the amd64_Microsoft_Windows_Shell-Setup_neutral
Autologin
Password (for Administrator)
then with the OOBE option (still in pass 7) I create and set 3 other local accounts of which 2 are administators (including the same network account I set up above that is use to get content from the network) and the third account is a local "student" restricted account.
Then still in pass 7 I have a "x86_Microsoft_Windows-Shel-Setup_neutral
option I have a long list of tasks that I perform. Just keep in mind that these multiple steps can not have a reboot in them as Sysprep will not continue the list if all items were not done before the reboot. In this list I install the Novell client, set autologin for the network/local account that I use. The task that sets that is a batch file that calls a Autologin reg key:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login]
"ProfilesUsingDHCP"=dword:00000007
"Enable Login Profile Display"=dword:00000000
"AutoAdminLogon"="1"
"DefaultUserName"="Student"
"DefaultLocationProfile"="Student"
"DefaultPassword"="Passw0rd"
Then I install the Novell client by calling a batch file that puts a command in run once registry key.
Then I call another batch file that calls a "turn off autologin" reg key:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login]
"Enable Login Profile Display"=dword:00000000
I then install iprint.
Call a batch file that places a batch file call in run once key to run a reg key to place a legal notice message on the screen prior to login.
The last thing is the agent install.
I was also trying to install Sophos in this process but I had to use the run once key to call both the agent and Sophos installs but Sophos would always run first which did something to the agent install or blocked part of it so now I do that using zenworks application delivery after the machine comes on the network and is successfully registered by the client in the folder that I want it in.
The use of batch files to place a batch file in a run once key is not very elegant but I could not get it to work by other means and this does work for me.
Since you want the system to autologin you could leave it turned on where I disable it as one of the last steps in sysprep.
I hope this was useful.
Jim

Similar Messages

  • Test scripts for controlling

    Can any one explain me what the test script contains for testing out transcation codes in controlling . can anyone provide me a sample of test script for testing transcations in controlling.
    Thanks
    Monica

    Hi,
    Before the configuration settings / Reports are moved to Production it needs to be tested by Consultants as well as Business Users.
    Business Users will specify their requirements during Blue Print phase - basically how the system should work. After completing the configuration, testing is done based on the requirements. For testing this Test scripts are prepared for different Business scenarios covering various Transaction codes. This sequence of testing different transaction codes is known as Test script.
    For example for a Sales Cycle testing - a Sales Order is created - Delivery document is created - a Billing document is created. Accounting documents are checked whether it is posted to correct GL Accounts / Profit Centers etc. All these steps should be included in Test script.
    Thanks
    Murali.

  • Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 537, state 3, severity 16

    Hello,
    I've encountered issue during installation of SP1 to SQL Server 2012. After upgrade I'm getting this error in Event Log:
    Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 537, state 3, severity 16. This is a serious error condition which might interfere with regular operation and the database will be taken offline.
    If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script
    upgrade steps run to completion.
    Can someone point me direction how I can fix it? This is a production server and currently only way to make it working is to use T902 flag in SQL Server startup params. I've found some suggestions to check Data path if it exists but it does so this is not
    the issue here. Any ideas?
    I've found also here
    http://www.sqlservercentral.com/Forums/Topic1377073-1550-1.aspx#bm1378279
    suggestions for similar issue with SQL Server 2008 which that I should do:
    Via ssms:
    From msdb:
    Delete:
    dc_admin role
    Dc_operator role
    Dc_proxy role
    UlitityCMRReader role
    UtilityIMRReader role
    UtilityIMRWriter role
    but for not I didn't tried it yet. This is standalone SQL Server instance.
    Any help really appreciated.
    Regards

    Script returns the same error.
    System databases:
    1    1    760    -1    10    1048578    0    1    master        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\master.mdf
    2    0    12768    -1    10    1048642    0    1    mastlog        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
    1    1    1024    -1    10    1048578    0    2    tempdev        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\tempdb.mdf
    2    0    64    -1    10    1048642    0    2    templog        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\templog.ldf
    1    1    288    -1    128    2    0    3    modeldev    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\model.mdf
    2    0    4464    -1    10    1048642    0    3    modellog    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\modellog.ldf
    1    1    28936    -1    10    1048578    0    4    MSDBData    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBData.mdf
    2    0    3352    268435456    10    1048642    0    4    MSDBLog    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf
    are all in place where path shows.
    Before sending my message I've searched update script for "FROM master.sys.master_files" and I found script which you are showing me. I've made some digging and when I runned:
           SELECT physical_name
           FROM master.sys.master_files
           WHERE (name = N'master')
    it returned also path to one my customers database name which has filename set correctly but it's Logical DB name is master and mastlog. I'm running shared hosting company and I allow my customers to restore their DBs from .bak files but I have no idea why
    this customers logical name is set to master and mastlog. Probably when I change this names update script will work as it should. On the other hand in my opinion there should be some kind of fail safe mechanism for situations like this one.
    EDIT: After changing logical name for DB and log for mentioned DB your script runned fine so probably now when I remove T902 flag and restart my SQL Server update will run correctly. Big thanks for resolving this issue.

  • [svn:fx-trunk] 10898: Fix for a bug: After playing a hide effect, a window wouldn't be visible again.

    Revision: 10898
    Author:   [email protected]
    Date:     2009-10-06 13:54:04 -0700 (Tue, 06 Oct 2009)
    Log Message:
    Fix for a bug: After playing a hide effect, a window wouldn't be visible again.
    The issue here is that all effects that occur because of HIDE end up calling setVisible() (see EffectManager.effectEndHandler).  Window/WindowedApplication was basically left with two concepts of setVisible...the displayObject one and the native application one, and they were out of synch.  So setting visible=true on the window wasn?\226?\128?\153t calling setVisible(true) which controls the display object visibility.  Now instead of doing our work in the visible setter, we override setVisible() and do it in there.
    QE notes: -
    Doc notes: -
    Bugs: SDK-23263
    Reviewer: Darrell
    Tests run: checkintests, Rob ran mustella window/windowedapplication
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23263
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as

    I run Suse 9.1 Linux, and Suse has a package called lmsensors which by default on my machine gives readings like this:
    Code: [Select]
    temp1:       +27°C  (high =    +0°C, hyst =   +22°C)   sensor = thermistor
    temp2:     +41.0°C  (high =   +80°C, hyst =   +75°C)   sensor = PII/Celeron diode 
    Now that 41C is pretty high for an idle AMD643000+ running at 1000Mhz, 1.08V. Too high, I would say. temp 1 in this case is the SYS temp, temp2 is the CPU temp.
    Now, using lmsensors I can duplicate your little trick and tell it that temp 2 is in fact a 3904 transistor. Having done this can I get readings like this:
    Code: [Select]
    temp1:       +27°C  (high =    +0°C, hyst =   +22°C)   sensor = thermistor
    temp2:     +16.0°C  (high =   +80°C, hyst =   +75°C)   sensor = 3904 transistor 
    Problem is, I'm not sure that the sensor is actually a 3904 transistor! The number's lower, but I was pretty sure that the sensor in the AMD64 is in fact a diode. Also, surely the CPU temp can't actually be that much lower than the SYS temp.
    So, I think your fix succeeds in giving lower temps and that's great in that it will tell your system software that the CPU is not overheating, but I don't think it's the solution to high temp reporting. Anyway, as you say, its a solution for people who can't run with system shutdowns due to bogus high temps.  
    I've been looking at these temp issues with the MSI K8T, and I was thinking the problem was simply a miscalibration. The Winbond sensor chip on my board (maybe the K8N is the same, maybe not) has a sensor temp offset that gets added to the temp coming from the sensor. On the K8T this number is +54C.   Funny number I know, but I've "fixed" the problem while I wait for a real bios fix on the K8T by simply reducing this offset to give me a CPU temp that matches SYS temp when idle. This enables cool'n'quiet fan control to work properly on my system, which is my main practical concern.

  • QuickTime 7 not in Control Panel after installing QuickTime 7.6.6

    Hi, I need some assistance please
    I don't have QuickTime 7 in my Control Panel after installing QuickTime 7.6.6. I only see QuickTime in control Panel but not QuickTime 7.
    How can i fix this?

    If you launch your QuickTime Player and go "Help > About QuickTime Player", what version number appears for you, Ried?

  • T450 - Power Manager crashes after Sysprep

    After Sysprepping a T450 with a clean Windows 7 64 bit Professional custom build, Lenovo Power Manager crashes with "An error occurred while loading resource DLL".   Followed by "There was a problem starting C:\Program Files (x86)\ThinkPad\Utilities\PWMTR64V.DLL The Power Manager toolbar on the taskbar also will not load. Reinstalling Power Manager (latest version 6.67.5) resolves issue.  Reinstalling it immediately prior to Sysprep does NOT resolve the issue. Anyone else seen this?  

    Probably because the tools aren't added to the taskbar in "Default" user. Did you added the tools to the taskbar in Audit mode?
    Though sysprep will not keep some settings. You may need to use `unattended.xml` to configure scripts to add those tools to the taskbar.
    Just another question: does the PM tool appears in its factory state?

  • RECREATE DATABASE Using CONTROL File After SUSPEND Database

    Hello All,
    Does someone can tell me if he does achieve recreating a database using "Backup Control File" after putting database in "suspend" mode?
    The procedure looks like this :
    1 - Alter DATABASE Suspend
    2 - A Snapshot of the filesystem where the oracle datafile are located
    3 - Copy of those files to another file systeme
    4 - Startup setting a new database name
    Does someone as do it successfully ?
    Thanks for your answer

    Carlos,
    I tried to do it without putting the tablespaces in backup mode and it didn't work for me. At that time adding the backup mode wasn't a big deal for me, so I didn't investigate the problem thoroughly.
    Logically thinking you sould be able to do:
    1. suspend database
    the SCNs recored in datafiles headers could be incosistent at this point
    2. make a snapshot
    3. mount the backup database
    4. run recover until cancel using backup controlfile - I don't think you can avoid this step in case if you have inconsistent SCNs in the datafiles headers - you'll need to synchronize them
    5. open resetlogs.
    the suspend database should eliminate the possibility of inconsistent data within a block during the backup.
    Just out of curiosity - why don't you want to put the tablespace in the backup mode?
    Mike

  • Script Default Java for browsers

    Hello all,
    I would like to know if is it possible to script the enabling of "Default Java for browsers". http://www.java.com/en/download/help/5000021500.xml
    We have a large deployment of the JRE currently 1.6.0-05, we would like to run a script for all users to make sure that IE is enabled within the control panel for Java.
    I have been unable to find a successful registry setting or file setting to enable this for all users. It appears that the setting is only enabled if done manually through the Java control panel.
    Does anyone know how this can be scripted to enable for all users, we would like to do this on login through kix or group policy.
    thanks for your help.

    In Internet Explorer, go to Tools -> Manage Add-Ons and scroll down to Sun Java Plug-In.
    db

  • Not prompted to set Administrator password at logon after Sysprep

    As far as I know, the following are facts regarding the Administrator password on Windows 2008 R2:
    - By default the Administrator account is enabled and the password is blank, but you are forced to set a password at first logon after Windows installation
    - Sysprep is supposed to set the Administrator password to blank, unless one is indicated in the unattend file.
    On my 2008 R2 images I want to be prompted to set the Administrator password after the image is deployed (and after sysprep has been run on the source machine), but for some reason this is not happening.  Instead it just comes up with a logon screen
    and expects the password that was used on the source machine.
    I just want the same behavior as when 2008 R2 is installed from media, which is for the Administrator account to have a blank password, but where I am forced to set one at first boot.  I have tried setting the password to blank on the source machine
    before running sysprep, but then it just automatically logs on the Administrator on the first boot, which I don't want.
    What setting can I look for that may be causing this?  On a previous image which I created using the same unattend file, this worked as I wanted it to, thus the reason I believe it's a setting on my source machine.
    Thanks.

    Hi,
    Thank you for the reply.
    From the log, we can see your administrator password was not cleared successfully.
    I had a test on my Windows Server 2008 R2 computer and it cleared my administrator password successfully. After the computer restarted, it prompted me to change
    the password. And the following line appeared in the log file:
    [shsetup] CleanupAdministratorPassword: previous account flags = 0x00000201
    [shsetup] CleanupAdministratorPassword: password cleared
    [shsetup] CleanupAdministratorPassword: setting account flags = 0x00800201
    [shsetup] CleanupAdministratorPassword: password expired
    Now I would like to know whether you use any unattend file together with sysprep. Did you put any .xml file under C:\Windows\System32\Sysprep or explicitly specify
    an unattend file using the sysprep command?
    Please remove any .xml file in C:\Windows\System32\Sysprep, double-click sysprep.exe in C:\Windows\System32\Sysprep, check the box before Generalize to sysprep your
    system again.
    What’s the result?
    Tim Quan - MSFT

  • Windows 8.1 Adobe CS6 Adobe PDF printer broken after sysprep

    Windows 8.1 enterprise 64 bit with CU1 installed. Ran sysprep priror to install. Installed Adobe Design and Web Premium CS6 & Premiere Pro CS6. The Adobe PDF printer is working with UAC enabled threw all PC accounts. Ran sysprep (standard generalize, skip rearm, & skip all win 8.1 questions) with UAC disabled since bat files will not run with UAC enabled. After UAC is enabled you can't print using the Adobe PDF printer unless running from Administrator account or by disabling UAC. We also have Adobe CC except the instructor is currently teaching CS6 suites. I tested acrobat 10.0.0 & 10.11.1 same problem after sysprep.

    Have you tried running Process Monitor to see where the permissions problems are occurring?

  • Oracle AS control hangs after user login - AIX 5.3

    Hi,
    We are engaged with a customer who deploys OracleAS 10.1.2.0.2 on AIX 5.3. After installation, AS control hangs after user logins. This issue is addressed in release note and metalink doc365725.1. We followed the guide in metalink to do the modification and we can access AS control successfully after that. However, due to some other reasons, we restart the AIX, and after that AS control hangs again. This is quite strange. Does anyone meet with this symptom before? How can we resolve this issue?
    Thanks in advance.
    Sindhiya V.

    Thanks everyone for the response and help.
    I completed the task yesterday with the permission method. However, I think I found the solution after completion. The trick lies at the oraInst.loc file. It lies at /etc directory for my case (AIX 5.3).
    If you do a opatch lsinventory, it shows you the Central Inventory location and the location of orainst.loc. For my case, it is pointing to /oracle/DE1/920_64/inventory. Therefore, even though I am logging in as oraqa1 with all env and oracle settings correct, it still points to DE1 inventory.
    I think modifying the Central inventory location in oraInst.loc will solve this problem.

  • Define Derivation Strategy for Control Objects - Value Not Transport

    I created Rules Value in Define Derivation Strategy for Control Objects (SPRO). Then, I perform the below steps for Transport the Request to other client.
    1. Select Derivation Strategy name, Table View > Transport
    2. Select Request Number
    3. Click Include in Request, then save
    4. Go to the Steps in Logical Order, Extras > Transport
    5. Select Request Number and back to SPRO screen
    After SCC1, there is only Derivation Strategy Name appeared but the rules value (Steps in Logical Order) is not appeared.
    How can I transport the Rule Value?
    Regards
    Ton

    Hi,
    When you are in the derivation transaction and select to transport it, the system asks you whether you want the values to be transported as well. If you choose 'yes' your change request will include this information.
    Regards,
    Eli

  • RMAN can't SET NEWNAME for datafiles added after Level 1

    Version: 11.2.0.3
    Platform : Solaris 10
    I have the most recent Level 0 , Level 1 and post-L1 Archive logs of the source DB.
    I am trying restore, recover in a different machine using plain RMAN (not RMAN DUPLICATE) into a new datafile location.
    After the Level 1 backup was taken, 2 datafiles (namdata01.dbf, finaldata01.dbf) were added ( this got 'recorded' on the subsequent post-L1 archivelogs )
    Before I ran restore and recover, I restored the latest control file from the most recent L1
    RMAN> restore controlfile from '/u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0cnjqk54_1_1_20120829.rmbk' ;Understandably, this control file doesn't have info about the 2 datafiles added after L1 .Wish I could restore control file from archive log :)
    So, I cataloged the archive logs as well using CATALOG command.
    RMAN> catalog start with '/u01/CATALOGTST/rmanBkpPieces';
    using target database control file instead of recovery catalog
    searching for all files that match the pattern /u01/CATALOGTST/rmanBkpPieces
    List of Files Unknown to the Database
    =====================================
    File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk
    File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_08njqj8u_1_1_20120828.rmbk
    File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk
    File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0cnjqk54_1_1_20120829.rmbk
    File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc
    File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_14_790513173.arc
    File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc
    File Name: /u01/CATALOGTST/rmanBkpPieces/06njqj6h_1_1
    File Name: /u01/CATALOGTST/rmanBkpPieces/09njqj90_1_1
    File Name: /u01/CATALOGTST/rmanBkpPieces/0anjqk3b_1_1
    File Name: /u01/CATALOGTST/rmanBkpPieces/0dnjqk56_1_1
    Do you really want to catalog the above files (enter YES or NO)? YES
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk
    File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_08njqj8u_1_1_20120828.rmbk
    File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk
    File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0cnjqk54_1_1_20120829.rmbk
    File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc                         -------------------> arch logs that contain info on the new datafiles
    File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_14_790513173.arc                         -------------------> arch logs that contain info on the new datafiles
    File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc                          -------------------> arch logs that contain info on the new datafiles
    File Name: /u01/CATALOGTST/rmanBkpPieces/06njqj6h_1_1
    File Name: /u01/CATALOGTST/rmanBkpPieces/09njqj90_1_1
    File Name: /u01/CATALOGTST/rmanBkpPieces/0anjqk3b_1_1
    File Name: /u01/CATALOGTST/rmanBkpPieces/0dnjqk56_1_1
    RMAN> EXITDuring Recovery , RMAN applied the archive logs and managed to create the datafiles successfully. But it can't restore the datafiles to the new location specified in the SET NEWNAME location. Luckily , I had created the original path and these 2 datafiles got restored there.
    RMAN can't seem enforce SET NEWNAME for datafiles added after Level 1 backup despite cataloging.
    Does SET NEWNAME .... thing work only for RESTORE ?
    Log of restore and recover
    $ cat restore-recover.txt
    run
    set newname for database to '/u01/app/CLONE1/oradata/sntcdev/%b' ;
    set newname for tempfile '/u01/app/oradata/sntcdev/temp01.dbf' to '/u01/app/CLONE1/oradata/sntcdev/temp01.dbf' ;
    restore database;
    switch datafile all;
    switch tempfile all;
    recover database;
    $
    $ rman target / cmdfile=restore-recover.txt
    Recovery Manager: Release 11.2.0.3.0 - Production on Sun Sep 16 21:27:49 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: SNTCDEV (DBID=2498462290, not open)
    RMAN> run
    2> {
    3> set newname for database to '/u01/app/CLONE1/oradata/sntcdev/%b' ;
    4> set newname for tempfile '/u01/app/oradata/sntcdev/temp01.dbf' to '/u01/app/CLONE1/oradata/sntcdev/temp01.dbf' ;
    5> restore database;
    6> switch datafile all;
    7> switch tempfile all;
    8> recover database;
    9> }
    10>
    11>
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 16-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=18 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /u01/app/CLONE1/oradata/sntcdev/system01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /u01/app/CLONE1/oradata/sntcdev/sysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /u01/app/CLONE1/oradata/sntcdev/undotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /u01/app/CLONE1/oradata/sntcdev/users01.dbf
    channel ORA_DISK_1: restoring datafile 00005 to /u01/app/CLONE1/oradata/sntcdev/example01.dbf
    channel ORA_DISK_1: restoring datafile 00006 to /u01/app/CLONE1/oradata/sntcdev/cisdata01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/RMAN_bkp/BKP_sntcdev/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk
    channel ORA_DISK_1: errors found reading piece handle=/u01/RMAN_bkp/BKP_sntcdev/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk
    channel ORA_DISK_1: failover to piece handle=/u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk tag=TAG20120828T234834
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:35
    Finished restore at 16-SEP-12
    datafile 1 switched to datafile copy
    input datafile copy RECID=8 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/system01.dbf
    datafile 2 switched to datafile copy
    input datafile copy RECID=9 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/sysaux01.dbf
    datafile 3 switched to datafile copy
    input datafile copy RECID=10 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/undotbs01.dbf
    datafile 4 switched to datafile copy
    input datafile copy RECID=11 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/users01.dbf
    datafile 5 switched to datafile copy
    input datafile copy RECID=12 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/example01.dbf
    datafile 6 switched to datafile copy
    input datafile copy RECID=13 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/cisdata01.dbf
    renamed tempfile 1 to /u01/app/CLONE1/oradata/sntcdev/temp01.dbf in control file
    Starting recover at 16-SEP-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting incremental datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: /u01/app/CLONE1/oradata/sntcdev/system01.dbf
    destination for restore of datafile 00002: /u01/app/CLONE1/oradata/sntcdev/sysaux01.dbf
    destination for restore of datafile 00003: /u01/app/CLONE1/oradata/sntcdev/undotbs01.dbf
    destination for restore of datafile 00004: /u01/app/CLONE1/oradata/sntcdev/users01.dbf
    destination for restore of datafile 00005: /u01/app/CLONE1/oradata/sntcdev/example01.dbf
    destination for restore of datafile 00006: /u01/app/CLONE1/oradata/sntcdev/cisdata01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/RMAN_bkp/BKP_sntcdev/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk
    channel ORA_DISK_1: errors found reading piece handle=/u01/RMAN_bkp/BKP_sntcdev/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk
    channel ORA_DISK_1: failover to piece handle=/u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk tag=TAG20120829T000356
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    starting media recovery
    archived log for thread 1 with sequence 13 is already on disk as file /u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc
    archived log for thread 1 with sequence 14 is already on disk as file /u01/CATALOGTST/rmanBkpPieces/arch_1_14_790513173.arc
    archived log for thread 1 with sequence 15 is already on disk as file /u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc
    channel ORA_DISK_1: starting archived log restore to default destination
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=12
    channel ORA_DISK_1: reading from backup piece /u01/CATALOGTST/rmanBkpPieces/0dnjqk56_1_1
    channel ORA_DISK_1: piece handle=/u01/CATALOGTST/rmanBkpPieces/0dnjqk56_1_1 tag=TAG20120829T000454
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    archived log file name=/u01/archLogs/arch_1_12_790513173.arc thread=1 sequence=12
    archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc thread=1 sequence=13
    creating datafile file number=7 name=/u01/app/oradata/sntcdev/namdata01.dbf
    archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc thread=1 sequence=13
    archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_14_790513173.arc thread=1 sequence=14
    archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc thread=1 sequence=15
    creating datafile file number=8 name=/u01/app/oradata/sntcdev/finaldata01.dbf
    archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc thread=1 sequence=15
    unable to find archived log
    archived log thread=1 sequence=16
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 09/16/2012 21:29:51
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 16 and starting SCN of 1004015
    Recovery Manager complete.
    $
    $
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Sun Sep 16 21:30:04 2012
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select name from v$datafile;
    NAME
    /u01/app/CLONE1/oradata/sntcdev/system01.dbf
    /u01/app/CLONE1/oradata/sntcdev/sysaux01.dbf
    /u01/app/CLONE1/oradata/sntcdev/undotbs01.dbf
    /u01/app/CLONE1/oradata/sntcdev/users01.dbf
    /u01/app/CLONE1/oradata/sntcdev/example01.dbf
    /u01/app/CLONE1/oradata/sntcdev/cisdata01.dbf
    /u01/app/oradata/sntcdev/namdata01.dbf           ----------------------> restored to old location ignoring SET NEWNAME ....
    /u01/app/oradata/sntcdev/finaldata01.dbf         ----------------------> restored to old location ignoring SET NEWNAME ....
    8 rows selected.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    $ cd /u01/app/oradata/sntcdev            # -----------------------------> the old location
    $
    $ ls -alrt
    total 243924
    drwxr-xr-x   3 oracle   oinstall     512 Aug  5 10:55 ..
    drwxr-xr-x   2 oracle   oinstall     512 Sep 16 20:59 .
    -rw-r-----   1 oracle   oinstall 104865792 Sep 16 21:29 namdata01.dbf
    -rw-r-----   1 oracle   oinstall 19931136 Sep 16 21:29 finaldata01.dbf

    RMAN> run
    2> {
    3> set newname for database to '/u01/app/CLONE1/oradata/sntcdev/%b' ;
    4> set newname for tempfile '/u01/app/oradata/sntcdev/temp01.dbf' to '/u01/app/CLONE1/oradata/sntcdev/temp01.dbf' ;
    5> restore database;
    6> switch datafile all;
    7> switch tempfile all;
    8> recover database;
    9> }RMAN executes the commands in the run block stepwise. In your case, starting from "set newname for database..." and lastly executing "recover database...".
    Let me interpret it for you.
    1. You restored the controlfile from the L1 backup which does not have any information about the 2 newly added datafiles. You cataloged the backuppieces and the archives to this controlfile, which means that the controlfile would now be aware that the required backups and archives are in this cataloged location.
    2. You set newname for database to the desired location, thereby this command is executed restoring the database from the L0 and L1 backups. (These 2 backups do not have any information about the newly added datafiles and hence the 2 files would still not be restored).
    3. You execute restore database which restores the files from L0 and L1 backup.
    4. Switch datafile all, this renames all the files that were restored in the previous steps to the desired name/location that was mentioned in step 2.
    5. Recover database: This is where the archivelogs come into picture. The data in the archives would be created & recovered. The newly added datafiles are now created & recovered but RMAN does not go back to STEP 2 and STEP 4 to re-execute the commands in STEP2 and STEP4 to restore it to the desired location (STEP 2) and Rename it (STEP 4). The files will have to renamed later by moving them manually to the location that you require.
    So, RMAN does not execute the SET NEWNAME for datafiles which were added after the backup as the information about these files do not exist in the RMAN backuppieces.

  • OS X - Fix for wifi disconnect after suspend/resume

    OS X - Fix for wifi disconnect after suspend/resume
    I've purchased a Mac recently and since upgrading to Maverick have been having some problem with wifi after suspend/resume. Looking into the issue, I've found this thread: https://discussions.apple.com/thread/5495375 and some people have reported that turning off bluetooth did fix the issue.
    For my case, this was not possible, so I've tried to make a little fix, that disable bluetooth on suspend and enable it on wake, but with a 10 seconds delay, in order to let the wifi connect successfully.
    Here is my github repo for anyone to look at the code: https://github.com/Setsuna666/osx-wifibtfix
    Here is the latest version of the fix, which include an uninstall script: https://github.com/Setsuna666/osx-wifibtfix/archive/v1.0.2.zip
    If you have any questions or issues, please post it here so it can be easier for me to keep track of.

    Installed properly this time:
    It appears to work, when I resume from sleep the Bluetooth icon is off (gray) and wifi connects, after 10s Bluetooth icon comes on again. 
    Here is the correct output:
    Antzcrashing-MacBook-Air:osx-wifibtfix-1.0.3 Antzcrashing$ sudo bash install.sh
    Password:
    Installing Wifi/BT fix by Setsuna666...
    Downloading SleepWatcher...
    Downloading file from http://www.bernhard-baehr.de/sleepwatcher_2.2.tgz...
    % Total    % Received % Xferd  Average Speed   Time Time     Time  Current
                                     Dload  Upload Total   Spent    Left Speed
    100 43385  100 43385 0     0  28567 0  0:00:01  0:00:01 --:--:-- 28580
    Extracting SleepWatcher...
    x ./sleepwatcher_2.2/
    x ./sleepwatcher_2.2/config/
    x ./sleepwatcher_2.2/ReadMe.rtf
    x ./sleepwatcher_2.2/sleepwatcher
    x ./sleepwatcher_2.2/._sleepwatcher.8
    x ./sleepwatcher_2.2/sleepwatcher.8
    x ./sleepwatcher_2.2/sources/
    x ./sleepwatcher_2.2/sources/Makefile
    x ./sleepwatcher_2.2/sources/._sleepwatcher.c
    x ./sleepwatcher_2.2/sources/sleepwatcher.c
    x ./sleepwatcher_2.2/sources/sleepwatcher.xcodeproj/
    x ./sleepwatcher_2.2/sources/sleepwatcher.xcodeproj/bb.pbxuser
    x ./sleepwatcher_2.2/sources/sleepwatcher.xcodeproj/bb.perspectivev3
    x ./sleepwatcher_2.2/sources/sleepwatcher.xcodeproj/project.pbxproj
    x ./sleepwatcher_2.2/config/de.bernhard-baehr.sleepwatcher-20compatibility-localu ser.plist
    x ./sleepwatcher_2.2/config/de.bernhard-baehr.sleepwatcher-20compatibility.plist
    x ./sleepwatcher_2.2/config/rc.sleep
    x ./sleepwatcher_2.2/config/rc.wakeup
    Creating dependencies for SleepWatcher...
    Installing SleepWatcher...
    Copying SleepWatcher configuration...
    cp: /Users/Jeffrey/Documents/OS: No such file or directory
    cp: Stuff/MAC/osx-wifibtfix-1.0.3/extra//rc.sleep: No such file or directory
    cp: /Users/Jeffrey/Documents/OS: No such file or directory
    cp: Stuff/MAC/osx-wifibtfix-1.0.3/extra//rc.wakeup: No such file or directory
    Starting SleepWatcher...
    Downloading blueutil...
    Downloading file from http://www.frederikseiffert.de/blueutil/download/blueutil.dmg...
    % Total    % Received % Xferd  Average Speed   Time Time     Time  Current
                                     Dload  Upload Total   Spent    Left Speed
    100 33343  100 33343 0     0  11945 0  0:00:02  0:00:02 --:--:-- 11942
    Mounting blueutil disk image...
    Checksumming Driver Descriptor Map (DDM : 0)…
    Driver Descriptor Map (DDM : 0): verified   CRC32 $0275F970
    Checksumming Apple (Apple_partition_map : 1)…
    Apple (Apple_partition_map : 1): verified   CRC32 $1779B6BD
    Checksumming disk image (Apple_HFS : 2)…
              disk image (Apple_HFS : 2): verified   CRC32 $920D4FD8
    Checksumming  (Apple_Free : 3)…
                        (Apple_Free : 3): verified   CRC32 $00000000
    verified   CRC32 $AFAB3FAE
    /dev/disk2              Apple_partition_scheme          
    /dev/disk2s1            Apple_partition_map             
    /dev/disk2s2            Apple_HFS                        /Volumes/blueutil
    Installing blueutil...
    Finished installing Wifi/BT fix
    Now try to suspend and resume your Mac, your wifi should connect without issue

  • Custom buttons for control 3d PDF Animate

    I am currently using the 3d PDF Animate program distributed by Tetra4d to animate some 3d models that I imported into a pdf.  The only actions that the default buttons provide are Play, PlayAll, Pause, Preivous, Next, First, and Last.  I am trying to create a button that would play specidic steps without having to hit next or previous to get to it, but nothing I try seems to work.  I have no experience in java or javascript so i am basicly just trying to piece things together based on what I see, but as I said, nothing is working.  If anybody has any experience in the program, I would sure appreciate some input.

    There are two ways to animate the contents of a 3D annotation - either the keyframe data is stored within the 3D model itself (as a timeline) or JavaScript is used to move each element based on a ticker loop. In both cases there must be a JavaScript controller function attached to the 3D annotation in order for control buttons to work, and when that code is added by a commercial plugin it is usually obfuscated so it cannot be modified.
    Aside from inspecting the internal structure of the file, you can tell where the animation comes from by how the inbuilt controls work. Open the properties of the 3D annotation in Acrobat Pro, go to the 3D tab and 'Clear' the embedded script (don't save the file!). Re-activate the 3D scene, and look at the popup toolbar. If there's an embedded timeline, the play/scrub controller on the 3D toolbar will work. If it doesn't, the animation is script-controlled.
    With embedded timelines there is usually only one animation (which covers all steps), and the various buttons assigned by the plugin simply refer to start/stop times within that animation - the 'play all' button simply tells the script to ignore all the intermediate markers. If you wanted to play a particular step, you would have to work out the time (in seconds) that the step begins and ends, then add your own code to play through only that range. However, given the code already attached to the annotation cannot be edited or removed without breaking everything, and a 3D annotation cannot have more than one attached script, the only option to make even a minor change would be to write it all again from scratch. That's the disadvantage of using tools like this - they make one thing very easy, but in doing so make it next-to-impossible to change the end result.

Maybe you are looking for

  • Desktop icons and window commands

    I've had my MacBook Pro since August...having been on Windows for 12 years. I've done a lot of reading and am slowly getting used to it. I vaguely remember reading somewhere that putting icons on the desktop is something Apple discourages. Is that tr

  • Iphone 3g wont sync to pc or charge anymore

    My 3g iphone will no longer sync up with my pc. Any ideas? I've redownloaded itunes, still wont charge or sync up.

  • How can I re-create this effect??

    I'm very interested in creating something similar to the animation in this video at about 1:28: https://www.youtube.com/watch?v=T6P0YpDw3n0 Please note the video was done in Google Earth Pro, and is showing in 3D. It's not just Google Maps. I've done

  • I need to talk to someone about charges on my debit card

    I need to talk to someone about charges on my debit card

  • Error data file missing

    I received an error that a data file was missing when closing Adobe Captivate 4. Now I have lost some of my cpt files. How can I recover the se files Can I recover these files from the .swf files. Desperate help needed please.