Problem in applying startup script

In a domain with a windows 2008 R2 domain controller, windows 7 computers apply the startup script but windows xp sp3 boxes show this log in event log: 
Source: UserInit
Event ID: 1000
Could note execute the following script \\192.168.1.4\scripts\ping.bat
Access is denied
on the script share folder permission for domain users, domain computers, domain controllers, authenticated users, domain admins are granted.

Hi Masoud Dorostkar,
According to your description, the GPO which configured startup script couldn't apply to Windows XP SP3 clients sucessfully, and the error was Event 1000. Right?
It would be helpful for furthur troubleshooting if you could help to collect the following information:
Which type of network does the Windows XP SP3 clients use? Wired or Wireless?
Were there other events in the Event viewer about this issue?
In addition, please help to enable the Userenv debug logging on Windows xp SP3 client machine, this log records the detailed information about the group policy applying process which is very useful for troubleshooting the group policy
related issues. To do so, add the following registry entry:
Subkey: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Entry: UserEnvDebugLevel
Type: REG_DWORD
Value:      30002 (HEX)
After you make this change, restart the computer and log on again to reproduce the issue. After that, compress the %SystemRoot%\Debug\UserMode\ folder and check if there are any error about this GPO.
Please note: the registry key Diagnostics does not exist by default, we need to add it first. In addition, we can disable the debug logging after the troubleshooting.
Regards,
Lany Zhang

Similar Messages

  • Oracle11r2/Solaris10 Problem startup script "insufficient privileges"

    Hi,
    I have a problem with my startup script. i think that is the permissions but i dont know.
    When i run the script as oracle user, the script runs ok. But when i reboot the system the log showme error with "insufficient privileges".
    This is my script.
    +# more dbora+
    +#!/usr/bin/bash -x+
    +#/bin/sh -x+
    +#+
    +# Change the value of ORACLE_HOME to specify the correct Oracle home+
    +# directory for your installation.+
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    +#+
    +# Change the value of ORACLE to the login name of the+
    +# oracle owner at your site.+
    +#+
    ORACLE=oracle
    +PATH=${PATH}:$ORACLE_HOME/bin+
    HOST=`hostname`
    PLATFORM=`uname`
    ORACLE_SID="orcl"
    export ORACLE_HOME PATH ORACLE_SID
    case $1 in
    +'start')+
    sleep 3
    +# rsh $HOST -l $ORACLE -n "$ORACLE_HOME/bin/dbstart $ORACLE_HOME &"+
    +# su - oracle -c "$ORACLE_HOME/bin/dbstart"+
    +# $ORACLE_HOME/bin/dbstart "+
    +$ORACLE_HOME/bin/dbstart $ORACLE_HOME &+
    +$ORACLE_HOME/bin/lsnrctl start &+
    +$ORACLE_HOME/bin/emctl start dbconsole &+
    +;;+
    +'stop')+
    +$ORACLE_HOME/bin/dbshut $ORACLE_HOME &+
    +$ORACLE_HOME/bin/lsnrctl stop &+
    +$ORACLE_HOME/bin/emctl stop dbconsole &+
    +;;+
    +*)+
    +echo "usage: $0 start"+
    +exit+
    +;;+
    +esac+
    +exit+
    +#+
    +# ll /etc/init.d/dbora+
    +-rwxr-x--- 1 root dba 1185 Apr 20 10:33 /etc/init.d/dbora+
    +#+
    +# ll /etc/rc3.d/+
    +total 42+
    +...+
    +...+
    +lrwxrwxrwx 1 root root 17 Apr 20 10:30 K01dbora -> /etc/init.d/dbora+
    +lrwxrwxrwx 1 root root 17 Apr 19 17:04 S99dbora -> /etc/init.d/dbora+
    +#+
    +# more /var/opt/oracle/oratab+
    +orcl:/u01/app/oracle/product/11.2.0/db_1:Y+
    +other:/u01/app/oracle/product/11.2.0/db_1:Y+
    +#+
    +# more /etc/group+
    +...+
    +...+
    +oinstall::100:oracle+
    +dba::101:oracle+
    +#+
    I try with su - oracle -c "command" in the script but doesnt work (the oracle doesnt startup and startup log dont show nothing).
    I dont know whats the problem. I will thank you for your help.
    Thanks.
    ========
    startup log from the init.d:
    ++ export ORACLE_SID+
    ++ PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/bin:/usr/bin:/etc:/usr/sbin:/usr/bin:/u01/app/oracle/product/11.2.0/db_1/bin+
    ++ export PATH+
    ++ LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:+
    ++ export LD_LIBRARY_PATH+
    ++ PFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora+
    ++ SPFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora+
    ++ SPFILE1=/u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"+
    ++ date+
    +Tue Apr 20 10:34:25 CDT 2010+
    ++ echo ''+
    ++ checkversionmismatch+
    ++ '[' 11 ']'+
    +++ sqlplus -V+
    +++ grep 'Release '+
    +++ cut '-d ' -f3+
    +++ cut -d. -f1+
    ++ VER10INST=11+
    ++ '[' 11 -lt 11 ']'+
    ++ VERSION=undef+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/sqldba ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/svrmgrl ']'+
    ++ SQLDBA='sqlplus /nolog'+
    ++ STATUS=1+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.dbf ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.ora ']'+
    +++ ps -ef+
    +++ grep -w ora_pmon_orcl+
    +++ grep -v grep+
    ++ pmon=+
    ++ '[' '' '!=' '' ']'+
    ++ '[' 1 -eq -1 ']'+
    ++ '[' 1 -eq 1 ']'+
    ++ '[' -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora ']'+
    ++ case $VERSION in+
    ++ sqlplus /nolog+
    +SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 20 10:34:26 2010+
    +Copyright (c) 1982, 2009, Oracle. All rights reserved.+
    +SQL> + export ORACLE_SID+
    ++ PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/bin:/usr/bin:/etc:/usr/sbin:/usr/bin:/u01/app/oracle/product/11.2.0/db_1/bin+
    ++ export PATH+
    ++ LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:+
    ++ export LD_LIBRARY_PATH+
    ++ PFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora+
    ++ SPFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora+
    ++ SPFILE1=/u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"+
    ++ date+
    +Tue Apr 20 10:34:27 CDT 2010+
    ++ echo ''+
    ++ checkversionmismatch+
    ++ '[' 11 ']'+
    +++ sqlplus -V+
    +++ grep 'Release '+
    +++ cut '-d ' -f3+
    +++ cut -d. -f1+
    ++ VER10INST=11+
    ++ '[' 11 -lt 11 ']'+
    ++ VERSION=undef+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/sqldba ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/svrmgrl ']'+
    ++ SQLDBA='sqlplus /nolog'+
    ++ STATUS=1+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.dbf ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.ora ']'+
    +++ ps -ef+
    +++ grep -w ora_pmon_orcl+
    +++ grep -v grep+
    ++ pmon=+
    ++ '[' '' '!=' '' ']'+
    ++ '[' 1 -eq -1 ']'+
    ++ '[' 1 -eq 1 ']'+
    ++ '[' -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora ']'+
    ++ case $VERSION in+
    ++ sqlplus /nolog+
    +SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 20 10:34:27 2010+
    +Copyright (c) 1982, 2009, Oracle. All rights reserved.+
    +SQL> ERROR:+
    +ORA-01031: insufficient privileges+
    +SQL> ORA-01031: insufficient privileges+
    +SQL> + '[' 0 -eq 0 ']'+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.+
    =============
    if i run the script as oracle user this is the log:
    ++ export ORACLE_SID+
    ++ PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/bin:/usr/bin:/etc:/usr/sbin:/usr/bin:/opt/csw/bin:/usr/openwin/bin:/u01/app/oracle/product/11.2.0/db_1/bin+
    ++ export PATH+
    ++ LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:+
    ++ export LD_LIBRARY_PATH+
    ++ PFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora+
    ++ SPFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora+
    ++ SPFILE1=/u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"+
    ++ date+
    +Tue Apr 20 10:39:17 CDT 2010+
    ++ echo ''+
    ++ checkversionmismatch+
    ++ '[' ']'+
    ++ VERSION=undef+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/sqldba ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/svrmgrl ']'+
    ++ SQLDBA='sqlplus /nolog'+
    ++ STATUS=1+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.dbf ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.ora ']'+
    +++ ps -ef+
    +++ grep -w ora_pmon_orcl+
    +++ grep -v grep+
    ++ pmon=+
    ++ '[' '' '!=' '' ']'+
    ++ '[' 1 -eq -1 ']'+
    ++ '[' 1 -eq 1 ']'+
    ++ '[' -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora ']'+
    ++ case $VERSION in+
    ++ sqlplus /nolog+
    +SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 20 10:39:17 2010+
    +Copyright (c) 1982, 2009, Oracle. All rights reserved.+
    +SQL> Connected to an idle instance.+
    +SQL> ORACLE instance started.+
    +Total System Global Area 3374866432 bytes+
    +Fixed Size 2152768 bytes+
    +Variable Size 1845495488 bytes+
    +Database Buffers 1493172224 bytes+
    +Redo Buffers 34045952 bytes+
    +Database mounted.+
    +Database opened.+
    +SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production+
    +With the Partitioning, OLAP, Data Mining and Real Application Testing options+
    ++ '[' 0 -eq 0 ']'+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.+

    Hi,
    thanks for your reply.
    I found the problem.
    In my script, i change this:
    # su - oracle -c "$ORACLE_HOME/bin/dbstart"
    by this and its work (without "-")
    # su oracle -c "$ORACLE_HOME/bin/dbstart"
    Thanks...

  • Group Policy Startup Script Applies My Policy But Does Not Run The Acual Scripts

    I have created a basic batch file with msiexec.exe to uninstall a program on startup and then another separate .bat script to install the same program but the newer version. The software I'm referring to has to be completely uninstalled BEFORE
    I install the "newer" version of the same program, it cannot just be overwritten. If I run a gpupdate /force on the client computer and restart, the scripts run as they are supposed to and everything works but the problem is that I can't get it to
    run on first boot on a computer that has been turned off for months, even after multiple reboots it still doesn't run the scripts. The 3 policies apply to the different computers/users but the scripts don't run. I manage a theme park that is
    only open 4 months of the year so the rest of the time the in park PC's are turned off. I have created my OU as "POS Computers & Users" which has all of the computers and users that will take this policy. I also have 3 Group Policy
    Objects attached to this OU in Group Policy, 1 is the program uninstallation .bat script policy that runs on startup, 2 is the install .bat script policy that runs after the uninstallation script, and 3 is the Default Policy for the OU. I already have the
    "Always wait for the network at computer startup and logon", "Run startup scripts visible"enabled, "Run startup scripts asynchronously" disabled, and "Run Logon Scripts Synchronously" enabled for all 3 of the
    policies. They are all "link enabled" and security filtering is set to only the OU I mentioned earlier so that it doesn't affect anyone else. I have the link order set as the script I want to run first as the last and the one I want to run last first
    because from what I understand inheritance is from bottom to top. The install file is accessible by everyone with full permissions on our "Shared" drive so I know its not a permissions issue because it runs after a gpupdate /force with a restart.
    The scripts are in the proper folder for the policies they are attached to and permissions are fine.
    Here is my uninstall .bat script (msiexec.exe /X{14324A6A-BDD1-4F40-8E77-664C8AEEA251} /forcerestart /qb-! ALLUSERS=1 REMOVE=ALL)
    Here is my install .bat script (msiexec.exe /i {\\kksrvad\shared\Gatemaster\NewGatemaster.msi} /qb ALLUSERS=1)

    Can't be done in a login script.
    This is a Group Policy issue and not a scripting issue.  You do not have a script.  You have a command saved in a batch file and you are using a GPO.  Not a scripting issue.
    ¯\_(ツ)_/¯

  • Group Policy - Computer Startup Scripts - Add/Set Default printer

    Good Morning.
    Let's say we have 2 offices, A and B, and only 1 user.  The user is using Roaming Profiles.  Each office has its own printer.
    What I am trying to do, is make a Startup script that is specific to the COMPUTER being logged into so when any user logs into that computer, they get the printer in that office defined and set as default.
    I am able to do this successfully with my script but ONLY if i have the script be on the USER side of GP (i.e. in the Logon script section)
    That is great that that is working however, when my user goes to Office B, they still get mapped to Office A's printer if I use that method.
    So I figured I could just modify my GP and run the same script from the STARTUP section of the computer, rather than the LOGON section of the user.  It does not work.
    Here is my script:
    Set WRFCUNetwork = CreateObject("Wscript.Network")
    PrinterPath = "\\fileserver\MAINTELLER"
    PrinterDriver = "PrinterDriver"
    WRFCUNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
    WRFCUNetwork.SetDefaultPrinter "\\fileserver\MAINTELLER"
    This is where I Have the script placed:
         Computer Configuration -> Windows Settings -> Scripts(Startup/Shutdown)
    Once i'm in there, I double click Startup, click Add, and select my script which is named:
         MainPrinterSetup.vbs
    I have this GP applied to ONE OU, and that OU has ONE computer in it (my test computer)
    I login with a brand new user called "testuser" (creative, huh?) and basically nothing happens
    except they log in and have some Microsoft Document Image Writer printer set as default (which by the way sure does slow the PC down to the point of it almost being broke if anyone actually tries to print to that by accident)
    No Main Teller Printer, no anything.
    The strangest part about this is, if i apply this script to the user LOGON scripts, it works fine, the printer is there, and is set as default. (but see above why that wont work for my situation)
    So obviously the script works fine, but I guess i'm missing something when it comes to applying GP's to Computers rather than Users.
    Can anyone shed some light as to why the script is not running (i'm guessing the script isn't even attempting to run, rather than failing, but i have no way to know that)
    Thank you in advance!!
    Derek Conlon
    Network Administrator
    WRFCU
    EDIT:  Here are the PC's info that i'm working on:
         Server:  Windows Server 2003 Standard Edition (where my GP's are created and managed with AD)
         Target PC:  Windows XP Professional SP3
    EDIT #2:  I manually navigated to the Script file after logging in and "opened" it and it added and set the default printer no problem.  the issue is definately with the script running at startup.

    I wanted to clarify a few things:
    1. While it is true that printer connections are usually per user, it is definitely possible to create "global printers".  There are a number of ways to do this, but two methods that come to mind are using:
    a. "Rundll32 printui.dll,PrintUIEntry" option with the "/ga" switch.  The "/ga" switch is the key here since it allows you to deploy printers "per machine" instead of "per user".  More information
    about this is available at:
    http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
    http://technet.microsoft.com/en-us/library/ee624057%28WS.10%29.aspx
    http://www.computerperformance.co.uk/Logon/logon_printer_computer.htm
    http://www.robvanderwoude.com/2kprintcontrol.php
    b. The Print Management console that is available in Windows 2003 R2 and higher can help you deploy printers "per machine" in addition to "per user".  More information about this is available at:
    http://www.czsolution.com/print-management/print-management/print-management-console.htm#DeployingPrintersByGroupPolicy
    http://technet.microsoft.com/en-us/library/cc753109%28WS.10%29.aspx
    2. As Guy mentioned, Group Policy Preferences can help set the default printer.  But there is another way to accomplish this.  The problem with the computer startup portion is that it runs before the user logs in.  And applying this script
    in the login script section would not work per computer unless you used loopback processing.  So another way to do this is to place a script that sets the default printer into the "All Users" startup folder.  Items in the "All Users"
    startup folder run for any user that logs into the computer, but it runs in the user's context.  So, this script would effectively set the default printer on a "per machine" basis.  The script method is a cruder way to approach the problem,
    but it will help get the job done.  Here are some resources on setting the default printer via script:
    http://www.intelliadmin.com/index.php/2007/08/set-default-printer-from-a-script
    http://www.computerperformance.co.uk/ezine/ezine17.htm

  • Powershell startup scripts fail on Windows 8.1 with error 267

    GPO Powershell startup script fails to execute on Windows 8.1, but does run on Windows 8 and Windows 7. Powershell logon scripts run normally on all versions of Windows.
    The event log contains entries with event ID 1130 from the GroupPolicy source. The log entries claim error 267 "directory name is invalid".
    Running cmd.exe on Windows 8.1 under the computer's account (NT Authority\SYSTEM) confirms that the Powershell script's path in SYSVOL is valid and the script executes normally.
    Running procmon on Windows 8.1 while the startup script is being run on a computer shows that the computer caches the files and folders for this GPO into C:\Windows\system32\GroupPolicy.
    I am not sure why these scripts are failing to execute on Windows 8.1 when they run on Windows 8 and the same set of GPOs are applied to both Windows 8.1 and Windows 8 computers.

    These are all good suggestions, but I have already tried to eliminate:
    All environment variables
    All network paths
    Setup the GPO to reference the script by the file name and with a full absolute path. Neither worked.
    Tried copying the scripts to multiple folders inside the policy, since the event log message reports only the root path of the policy.
    I also used procmon to monitor how the computer handles the startup scripts. I found that the computer caches them into a folder under C:\Windows\System32, but never runs any of them. I never found an error that I could correlate with the event log.
    For instance the following one line scripts failed to run:
    'I AM HERE.' | sc -path C:\Windows\TEMP\TEST.txt
    write-host 'I AM HERE.'
    As far as I can see the first script relies on the existence of C:\Windows\TEMP and write permission to it, which SYSTEM should have.
    The second one liner has no dependencies at all and it doesn't run with the same error.
    I have created multiple GPOs and scripts, so if there was a problem in creating these files and folders it is happening over and over. I checked the permissions and computer accounts have read and execute permissions all throughout the GPOs.
    Everything works perfectly on Windows 7 and 8, just not on 8.1.

  • GPO with a startup script is not working.

    I have a GPO that I have added a ".bat" script to the "Computer Configuration\Windows Settings\scripts\startup/shutdown" section. The batch file is located in the netlogon folder. This script was part of another Old GPO
    that I want to consolidate into this new GPO. So I am taking the exact settings from the old GPO and  applying it to the new GPO.
    The script does not run at startup and when I go into Group Policy Management, highlight the GPO then on the right pane click the settings tab it doesn't display the startup script as being set. It's just not there. If I select edit and go to the
    "Computer Configuration\Windows Settings\scripts\startup/shutdown\startup" section the .bat script is present though.
    Also if I do a gpresult it also shows that it isn't running the script but all other settings in the GPO are being applied.
    This GPO has the User Config. side disabled
    Why isn't the GPO applying the script or even acknowledging that it is present in the settings tab?

    Hi,
    I could not see any report in the above link. I would like to know that did you follow the below path:
    http://technet.microsoft.com/en-us/magazine/dd630947.aspx
    In addition, logon script could only be applied to users. If want to apply to computers, we should use startup script.
    Regards,
    Yan Li
    If you have any feedback on our support, please click
    here
    Cataleya Li
    TechNet Community Support

  • Please help me resolve the Lync server 2013 deployment error: "An error occurred while applying SQL script for the feature BackendStore."

    I am getting an error in "Step 2 - Setup or Remove Lync Server Components" of "Install or Update Lync Server System" step.
    "An error occured while applying SQL script for the feature BackendStore. For details, see the log file...."
    Additionally, all previous steps such as: Prepare Active Directory, Prepare first Standard Edition server, Install Administrative Tools, Create and publish topology are done without any errors. The user that I used to setup the Lync server is member of:
    Administrators
    CSAdministrator
    Domain Admins
    Domain Users
    Enterprise Admins
    Group Policy Creator Owners
    RTCComponentUniversalServices
    RTCHSUniversalServices
    RTCUniversalConfigReplicator
    RTCUniversalServerAdmins
    Schema Admins
    I have tried to re-install all the things and started to setup a new one many times but the same error still occurred. Please see the log below and give me any ideas/solutions to tackle this problem.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Publisheracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Administrators;LCTBU\RTCUniversalServerAdmins.
    Found Parameter: Replicatoracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: Consumeracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Read-only Administrators;LCTBU\RTCUniversalReadOnlyAdmins.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Found Parameter: Role Value master.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcxds validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcxds validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcxds.
    Checking state for database rtcxds.
    State of database rtcxds is detached.
    Attaching database rtcxds from Data Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath, Log Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    The operation failed because of missing file '\\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath\rtcxds.mdf'
    Attaching database failed because one of the files not found. The database will be created.
    State of database rtcxds is DbState_DoesNotExist.
    Creating database rtcxds from scratch. Data File Path = D:\CsData\BackendStore\rtc\DbPath, Log File Path= D:\CsData\BackendStore\rtc\LogPath.
    Clean installing database rtcxds.
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Serveracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcshared validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcshared validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcshared.
    Reading database version for database rtcshared.
    Database version for database rtcshared - Schema Version5, Sproc Version 0, Update Version 1.
    Thanks and Regards,
    Thanh Le

    Thanks Lạc
    Phạm 2
    I Had similar issue i end up uninstalling and reinstallting but same issue, then i change the drive but same issue. It was I/O issue. After adjusting my I/O it fix our issue and installation went on without any issue. 
    If any one using KVM here is detail article 
    We just  give this option cache=‘writeback
    using this article http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/ and http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/ this fix my issue thanks 

  • Office 2010 setup thru computer startup script

    I am trying to install Office 2010 (sp2 seperate in the updates folder) thru group policy startup script and configured with OCT .msp file. Also try to start Access Runtime 2010 with SP2 update in the updates folder.
    In group policy set run scripts asynchronisely disabled and run scripts visible enabled otherwise i could not see what the system was doiing also not when configiguring OCT with full display. The gpo settings lets the screens show during install so the user
    can see what happens.
    There is another problem that rises however: I have made 2 batchfiles and both are starting as a computer startup script in seperate gpo's (that is in another post). First the Accessruntime is installing, after that Office 2010 is running. Both are installed
    after login but only one of the 2 have SP2 installed (7015) in this case Accessruntime has it. When i run only the Office 2010 install and not the Accesruntime 2010 then Office 2010 standard has also SP2 installed (version 7015). When running both only Runtime
    has this sp2 and Office has 4763 this is without sp2 i believe.
    In both folders (Office en Runtime) are the update files .msp in the updates folder of the installation, so thats ok.
    Why is only 1 of the 2 installing the SP2 when running both?
    A second thing is when restarting the system and before the login screen appears a message: Upgradepatch cannot be installed by Windows installer becasue the upgraded program does not excist of the upgradepatch is not suitable for this program?
    Here is part of the batchfile:
    IF EXIST "c:\program files\Microsoft Office\Office14\WINWORD.EXE" (goto mkfile) ELSE (goto DeployOffice)
    :mkfile
    ECHO Office 2010 is reeds geinstalleerd>c:\temp\office.txt
    goto end
    :DeployOffice
    call cscript \\sharename\office2010\Offscrub03.vbs ALL /bypass 1 /q /s /NoCancel
    start /wait %DeployServer%\setup.exe /adminfile %DeployServer%\officeconfig.msp
    echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    Another batchfile
    start \\sharename\accessruntime2010\setup.exe /config \\share\accessruntime2010\config.xml
    REM echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    freddie
    after installing both runtime and office both have SP2 in updates folder:
    runtime 4763
    Office 2010: 7015
    So in this example runtme is installed without the SP2. installing runtime alone gives with SP2...
    The message is gone. There was a other policy inherited from above that caused the message. The only problem now is that when installing both, runtime 2010 with SP2 files and Office 2010 with SP2 files, then one of the two don't get the Sp2 installed, why
    is that?

    > In the bat file, I have a line that records if the install completes
    > successfully or failed.  I don't have any other logging in my
    > script.  Are you referring to something like GPO logging? I know that
    > the script runs because when I am looking at one of the PCs, I can
    So it is NOT GP related but rather your script fails?!? Put some "echo
    %~n0 %date% %time%>>Log-File-Of-Your-Choice.txt" in it to check what's
    going on. And put ">>Log-File-Of-Your-Choice.txt 2>&1" at the end of
    critical commands to capture their output.
    > I ran the gpresult /h command which shows all User Configuration
    > policies, but NOTHING appears under the Computer Configuration section.
    Admin commandline? If not, you don't see computer settings :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))
    Martin,
    I still did not figure out why the installation script did not work for some of the PCs, even though the PCs have the same image.  For the ones that don't work, I will install manually.  Can you please look at the screenshots of the GPO
    settings I am using, and let me know if there is any settings that I need to remove or add?
      Thanks

  • Missing startup script in bridge cc

    I have photoshop cc and bridge cc loaded on my computer. I also had CS6 on the same computer.  I deleted photoshop CS6 from my computer. When I try to open a file in bridge cc I get an errer message that cs6 cannot be found.  I checked my bridge cc startup scripts folder file and it is empty.  Has anyone had the same problem?

    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Photoshop CS6 Startup Script Missing from Bridge CC

    Hi. After downloading a Photoshop CS6 update, Camera Raw unlinked from Bridge CS6. I have a full CC subscription so I downloaded Bridge CC and that solved the problem. Now Photoshop does not appear in the 'tools' menu. It is missing from the Startup Script list in preferences as well. Where can I find or download the photoshop script?
    On a mac, using Mavericks.
    Thank you!

    Bump. Any solutions yet?
    restart Bridge holding down option (Mac) or ctrl (Win) key ad from the menu choose reset references. Try again. BTW, the start up scripts from the needed applications for Bridge Tool menu are in Bridge preferences / Start up scripts, they should show and have a checkmark in front of them.

  • Bridge CS5.1 Tools are missing and there are no startup scripts available.

    Brand new MBP with Creative Suite CS5. Not sure what happened to the Bridge Image Processing Tools that where readily available in CS4. I looked for the Startup Scripts mentioned in other forum posts but this folder is empty: Library > Application Support > Adobe > Bridge CS5.1.
    Why make us hunt for Startup Scripts?

    I think you may be misunderstanding me.
    With many advantages with using mail for this forum the disadvantage sometimes is you don't have oversight in the whole thread.
    I was merely reacting on Curt with the CS5 and CS5.5 solution that solved some problems earlier this year but reading the thread again that seems not related to yours.
    Shortly before Curt his post I read your post about renaming the default folder name (which to me sounds bad). Hence my reference to a solution of an older problem that was solved by creating a new folder with the 5.1 addition and copy the scripts in there
    However I still don't understand why you are not able to have a normal setup after clean install.
    Without having experience with Lion I really would try the Recovery Disk for resetting your user account. With Pre Lion you could do an Archive and Install and it seems Lion also has such an option.

  • VB startup script not running on Win7

    Hi,
    my startup VB script not working on Windows 7. The script should install or uninstall office 2010 based on group membership. 
    I tested scipt on Windows XP and everything works. When I run script manually, it works.
    Quite similiar batch file works, office are installed but not same functionality for me.
    I turn UAC off, bot not working.. Also add dword EnableLinkedConnections  but nothing change.
    Batch file works but VBScript not!
    Any advice? Thx

    Hi Tomas Cink,
    Based on my understanding, the start VB script which is deployed via GPO could not works fine on Windows 7 clients, although it can works fine on Windows XP clients and it can
    run sucessfully if manually. Right?
    Firstly, please run the following command on the problematic workstation.
          Gpresult /h > C:\temp\gpresult.html  (“C:\temp\” is the path of the gpresult.html, you can set it by yourself)
    This file is used for checking the result of Group Policy information. Open the file to check if the GPO has applied.
    If the GPO has applied, please follow the following step to narrow down the issue:
    Change the script to the following command: add  > %SystemDrive%\Users\test.txt
    to the script.
    Log on to a client with a regular user account, run
    gpupdate/force, and then re-log on to this client.
    Check if the test.txt file exists in this location
    %SystemDrive%\Users.
    If the
    test.txt file exists, the GPO with startup script is applied successfully. But the result of running logon script achieves the goal we excepted or not which is still not sure.
    Regards,
    Lany Zhang

  • Group Policy Startup Script

    Hi,
    We have a requirement to delete some of the files from all the desktops in Domain. We have already created a script to achieve the same. But when we are applying the same as startup script for the PC's it is not deleting the files. If we apply as logon script
    then it can delete some files because user does not have access to delete all the files. For this reason we want to apply it on startup so that it can run with SYSTEM privilege and delete files but it is not happening.
    Please suggest if there is any reason for which the startup script is not able to delete the files. I have already checked by doing RSOP.MSC and GPRESULT and found the script to be present in the startup.
    There is no log in the event viewer related to this.

    Hi Sukhwin08,
    According to your post, the gpresult showed the Startup script has been applied but the script could not run successfully. Right? Please follow the following step to narrow down the issue:
    1. Change the script to the following command:
    add  > %SystemDrive%\Users\test.txt to the script.
    2. Log on to a client with a regular user account, run
    gpupdate/force, and then re-log on to this client.
    3. Check if the test.txt file exists in this location
    %SystemDrive%\Users.
    If the test.txt file exists, Startup script is applied successfully. But the result of running logon script achieves the goal we expect or not which is still not sure.
    Regards,
    Lany Zhang

  • 4.1EA2 - Startup script / serveroutput randomly stops

    I have a startup script that only contains the text "SET SERVEROUTPUT ON".  I've used this flawlessly in previous versions.  In this EA version, it randomly stops displaying the output.  If I quit SQL Developer and restart, it works again.  I haven't found any pattern to this other than I have multiple unshared worksheets open at a time, and switch between them frequently.
    Anyone else run into this or know of a workaround?

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Managed server startup script not reading login info from boot.properties

    To encrypt the username and password in weblogic admin server, I used a boot.properties file and setting some properties like StoreBootIdentity=true. This works as expected.
    Now, I have a weblogic managed server within the same folder i.e.
    under /bea/user_projects/domains/mydomain
    To get the similar behaviour on this managed server, I created a boot1.properties file and set the following in the startup script
    java -Djava.compiler=NONE -ms200m -mx200m $HOTSPOT_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=mydomain -Dweblogic.Name=$SERVER_NAME -Dweblogic.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/server/lib/weblogic.policy -DRCP_PROPS=/data/css/adixit/samsung/scc612/server/cfg/RCP.props -Dlog4j.configuration=log4j.xml -Dweblogic.system.BootIdentityFile=/bea/user_projects/domains/mydomain/boot1.properties -Dweblogic.RootDirectory=/bea/user_projects/domains/mydomain weblogic.Server
    When I run the script I get the following :-
    <Jan 24, 2005 3:41:44 PM GMT+05:30> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:
    Why is it not able to pick the username and password from the boot1.properties file ? Any clues ? What settings can I change to make it work ?
    Thanks in advance.

    Being that you posted this problem a few months ago, I am assuming you found the cause of your problem. I too experienced this same symptom (boot.properties not being read) when trying to start a managed server on a different server than the admin JVM. I found the resolution in the following documentation:
    http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html#BootIdentityFiles
    Basically, you have to copy the SerializedSystemIni.dat from the server that the admin JVM is on to the secondary server where the managed JVM is going to run. I was able to do as the link says (add the boot.properties file with plain text passwords and have it encrypted). Hope this helps you or someone else down the road.

Maybe you are looking for