Script privilege errors

I'm trying to install sharepoint tools to users machines. This requires admin privledges. The script below is in a .bat files and installs the product no problems with admin rights. To be able to apply this to users when they log on is where I'm stuck.
Ive tried it as a computer startup script in GPO when the computer starts but it doesnt do anything. Its also hard to know as you cant see any messages.
Any suggestions?
script below:
setlocal
REM *********************************************************************
REM Environment customization begins here. Modify variables below.
REM *********************************************************************
REM Get ProductName from the Office product's core Setup.xml file, and then add "office14." as a prefix.
set ProductName=Office14.SharePointDesigner
REM Set DeployServer to a network-accessible location containing the Office source files.
set DeployServer=\\clientsource\clientSource\Sharepoint
REM Set ConfigFile to the configuration file to be used for deployment (required)
set ConfigFile=\\clientsource\clientSource\Sharepoint\SharePointDesigner.WW\config.xml
REM Set LogLocation to a central directory to collect log files.
set LogLocation=\\clientsource\clientsource\Sharepoint\log
REM *********************************************************************
REM Deployment code begins here. Do not modify anything below this line.
REM *********************************************************************
IF NOT "%ProgramFiles(x86)%"=="" (goto ARP64) else (goto ARP86)
REM Operating system is X64. Check for 32 bit Office in emulated Wow6432 uninstall key
:ARP64
reg query HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
if NOT %errorlevel%==1 (goto End)
REM Check for 32 and 64 bit versions of Office 2010 in regular uninstall key.(Office 64bit would also appear here on a 64bit OS)
:ARP86
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
if %errorlevel%==1 (goto DeployOffice) else (goto End)
REM If 1 returned, the product was not found. Run setup here.
:DeployOffice
start /wait %DeployServer%\setup.exe /config %ConfigFile%
echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
REM If 0 or other was returned, the product was found or another error occurred. Do nothing.
:End
Endlocal

Hello,
Have you checked that the script is in a place where it can be run with the local system account of the computer the "default" location of the scripts is \\domain.com\SysVol\domain.com\scripts OR inside the Group Policy.
Have you checked that the Group policy / script are assigned to the right place (common mistake). If you assign COMPUTER-settings make sure the GP is assigned so that the test computer will get the policy (you can the rcop.msc or GPRESULT /h c:\pathherewhereyouwanttheraport.html
to make sure the computer really gets the right policy)
When you have created the group policy and selected: Computer Configuration, Windows settings, Scripts (Startup/Shutdown), Startup. On Scripts-tab selected ADD. please check that the information is
right
Script name: MyScript.bat
Script Parameters (the path where the script is located comes here): \\domain.com\SysVol\domain.com\Policies\{557740FF-AFAE-4300-9BD7-B90555FDA1BE}\Machine\Scripts\Startup

Similar Messages

  • Privilege error while running Create Table Script inside Stored Procedure.

    Hello All,
    I have Oracle 10G server and SQL Developer Client,
    I have One User with Appropriate Rights, Login with that user from SQL Developer(client),
    Within my Procedure, Dynamic SQL script is like If I pass in a TABLE NAME as parameter, It Creates that table, but now problem is It throws an error for Privilege.
    Where as if I Execute Create table script outside the procedure(as Normal SQL), it executes Ok, but why it throws Privilege error within procedure ?
    Whether any extra Rights needed for this user to execute such Create Table Dynamic SQL?
    Please Help.
    Thanks,
    j@y

    Elic
    Thanks a lot dude...
    It works now,
    regards,
    j@y

  • Get ORA-01031: insufficient privileges error, but only when using dbstart.

    I am getting ORA-01031: insufficient privileges error, but only when using dbstart. the listener starts but not the database. How come I can start it from SQL prompt but not from dbstart scripts as the oracle user?
    [oracle@mallard bin]$ ./dbstart
    Processing Database instance "gf44": log file /prod/oracle/10/startup.log
    [oracle@mallard bin]$
    Log file:
    Wed Aug 20 10:15:02 CDT 2008
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 20 10:15:02 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> ERROR:
    ORA-01031: insufficient privileges
    SQL> ORA-01031: insufficient privileges
    SQL>
    /prod/oracle/10/bin/dbstart: Database instance "gf44" warm started.
    >
    oratab file:
    gf44:/prod/oracle/10:Y
    dbstart file section:
    # See if it is a V6 or V7 database
    VERSION=undef
    if [ -f $ORACLE_HOME/bin/sqldba ] ; then
    SQLDBA=svrmgrl
    VERSION=`$ORACLE_HOME/bin/sqldba command=exit | awk '
    /SQL\*DBA: (Release|Version)/ {split($3, V, ".") ;
          print V[1]}'`
    case $VERSION in
    "6") ;;
    *) VERSION="internal" ;;
    esac
    else
    if [ -f $ORACLE_HOME/bin/svrmgrl ] ; then
    SQLDBA=svrmgrl
    VERSION="internal"
    else
    SQLDBA="sqlplus /nolog"
    fi
    fi
    Permissions of file:
    [oracle@mallard bin]$ ls -la dbstart
    -rwxrwxr-x 1 oracle oinstall 10407 Aug 19 12:27 dbstart
    [oracle@mallard bin]$
    User permissions:
    [root@mallard 10]# id oracle
    uid=503(oracle) gid=503(oinstall) groups=503(oinstall),504(dba)
    [root@mallard 10]#
    I can start the listener manually using "./lsnrctl start" and start the database manually from sql prompt using "SQL>startup" (as sysdba) with no problems. this only happens when using dbstart file. I am logged in as oracle user and all environment variables are set
    Thank you for any help you could provide.

    I have the same problem, but i don't want insert this string
    Connect sys/{password} as sysdbaI have deployed an Oracle 10g with os SunOS
    $ uname -a
    SunOS DB02 5.10 Generic_141444-09 sun4v sparc SUNW,Sun-Blade-T6320
    I can connect with sys/password, but I can't login with
    $ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jan 7 15:19:50 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> connect / as sysdba
    ERROR:
    ORA-01031: insufficient privilegesthe the startup and dbshut don't work.
    Someone maybe help me?
    Thanks,
    Regards.
    Lain

  • My toolbar is missing and there is a button where it used to be that says "Please re-install the Toolbar" but when I click on it nothing happens? Also when I start Firefox I get a script running error how do I solve these issues?

    My toolbar is missing and there is a button at the top left that asks me to "Please re-install the Toolbar" but when I click on it nothing happens???
    Then when I start Mozilla I get a long delay before it launches and a script running error "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: chrome://tavgp/content/libs/include.js:595"
    How do I solve these issues???

    No idea - and you provide no clues
    what version of iPHoto do you have? Of the OS? is the iPhoto icon you are speaking of in the Dock?
    re-read your post and try to provide information using standard Mac terms since we can not see you or your computer and only have your worrds to let us try to help you
    Somehow my "IPhoto" icon now says "Preview".  When I click on "Preview" nothing opens up except the bar says Preview.  When I click on the Preview on the bar, a box opens up with different items, except when I click on any of them, there is nothing there.  The only thing that work is the "quit preview".  However, it is still there where my IPhoto icon should be.  I can't get into my IPhoto.  How do I get rid of this "Preview" and how did it end up taking over the IPhoto icon???
    If you go to your Applications folder and double click on iPhoto what happen?
    LN

  • Ever since I downloaded FF's v6, everytime I go to YouTube and open a video, I get an error message that says: "[Java Script Application] Error: Div is null" How do I fix this problem?

    If I go to YouTube, no matter what video I click on to watch, the error message "[Java Script Application] Error: Div is null" pops up. It started happening right after I updated to FF v6. I also have installed the latest version of Java. I submitted this question a few weeks ago, but never received a reply.
    Thanks for any help you can provide to fix this.
    Scott Cromwell
    [email protected]

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • LoadJava Privilege Error

    While loading a .jar using loadjava in Oracle 8.1.5 I had this error on all the classes within the jar. Does anyone know what the problem is ?
    Error while creating class javax/mail/internet/NewsAddress
    ORA-01031: insufficient privileges
    Error while creating class javax/mail/internet/UniqueValue
    ORA-01031: insufficient privileges
    Error while creating class javax/mail/NoSuchProviderException
    ORA-01031: insufficient privileges
    Error while creating class javax/mail/search/SizeTerm
    ORA-01031: insufficient privileges
    Error while creating class javax/mail/Flags
    ORA-01031: insufficient privileges
    Error while creating class javax/mail/internet/InternetAddress
    ORA-01031: insufficient privileges
    Error while creating class javax/mail/MessageAware
    ORA-01031: insufficient privileges
    Thanks
    Jeff

    I looked through the link you posted and found this section.
    You must have the CREATE PROCEDURE privilege to load into your schema, and the CREATE ANY PROCEDURE privilege to load into another schema.
    I verified that I in fact did have those priviledges and tried again with the same result.
    If you could point me at the praticular place in the document or give me the priviledges I would greatly apprecaite it.
    Thanks
    Jeff
    null

  • MDX script editing error generated at each keystroke

    I'm having the same issue in VS2012. When I edit an MDX script the error window pops open between each keystroke. I have to copy the script into notepad, edit, then return it to the MDX editor. Very annoying!!!

    Actually I get it in the Calculations tab of SSAS 2012 while inside Visual Studio 2012. I can toggle back and forth between script view and form view without error (and the build is clean), but when I start to type anything in form view it pops up the error
    window between every single key stroke.
    I've looked for options to turn off automatica error checking but don't see anything like that.
    chris choate
    Hi Chris,
    Could you please post the detail error message to us for further investigation? If possible, please post a screenshot about this issue.
    Personally, you can try to reinstall Business Intelligence for Visual Studio 2012 to see if this help.
    Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012:
    http://www.microsoft.com/en-us/download/details.aspx?id=36843
    Install SQL Server Data Tools - Business Intelligence for Visual Studio 2012:
    http://technet.microsoft.com/en-us/library/jj856966.aspx
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Elvis Long
    TechNet Community Support

  • "insufficient  privilege" ERROR?

    I'm a very newbie to Oracle world.....
    It seems the installer or DBCA not have enough privilege to create Database....
    How to fix this "insufficient privilege" ERROR?

    the below text shows what problem I fight with......
    bash-2.03$ sqlplus "/as sysdba"
    SQL*Plus: Release 9.0.1.0.0 - Production on Thu Mar 23 03:22:20 2006
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    SQL> grant sysdba to oracle
    2 ;
    grant sysdba to oracle
    ERROR at line 1:
    ORA-01034: ORACLE not available
    SQL> conn oracle
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Warning: You are no longer connected to ORACLE.
    SQL>

  • How do i get past the "do not have sufficient privileges" error message installing flashplayer?

    how do i get past the "do not have sufficient privileges" error message installing flashplayer? i've googled the problem and seen the other solutions and for some reason cannot get any of them to work for me.

    I've recommended several things here in the forums and like you, I've seen zero success.
    Run as Administrator = no luck.
    Take ownership of the c drive = no luck.
    Create a new (admin) account = no success.
    I've even seen one poster who reformatted and reinstalled Window 7, and no luck.
    Frankly, I'm at a total loss.

  • ORA-01031: Insufficient privileges error in upgrading from 9.2.0.5 to 10.2

    Hi, I am using DBUA to upgrade oracle 9i database to 10g. In step 1 of 7 when I select 9i datagase to upgrade I get ORA-01031: Insufficient privileges error. However, I can connect to the database from 9i as well as 10g using SQLPlus. Any idea what could be going wrong? Thanks. Manish
    Edited by: user635081 on Jul 22, 2009 10:38 AM

    Check your REMOTE_LOGIN_PASSWORDFILE . If it is set to NONE, then make sure that SQLNET.AUTHENTICATION_SERVICES = (NTS) in your sqlnet.ora file.
    the OS user should be in ORA_DBA group.
    Try connecting as SYS,
    SQL> sqlplus /nolog
    SQL> connect / as sysdba
    HTH
    Anantha

  • "Insufficient privileges"-error when starting database when on network

    Hi
    I have an Oracle 9.2.0.5 database installed on my laptop (Windows 2000 Prof), but I have a small problem.
    When I'm plugged in to the company's network, I can start the database normally.
    However, when I'm not connected to the company network, i.e. only logged in locally on my laptop, then I get an ORA-01031 Insufficient Privileges error when I start the database. Therefor, I can't do anything.
    When I'm plugged into the company network, start the database, and then unplug my laptop, I can still connect to the database. So I guess it checks some userrights only when it starts the database.
    I checked the user account settings, and my user is a local administrator, and is in the ORA_DBA usergroup.
    Does someone know which setting I have to change?

    You can install MS Loopback Adapter on your system and assign an IP Address to the loopback adapter. You should then be able to work even when not connected to the network.
    Mudassar Choudhry.

  • Script timeouts (Error #1502) and WebService component

    Hello Flex community,
    I am getting a script timeout (error #1502) when I am calling a SharePoint Web Service (CopyIntoItems) when trying to upload large files (greater than 40 MB).
    The error does not occur when using the Web Service for smaller files. The large files can be uploaded directly to SharePoint using the web interface therefore it is not a back-end SharePoint issue.
    I believe the issue has to do with the logic in the WebService Flex component, however I am not sure how to optimize it and I cannot break down the file into smaller chunks as it needs to be together in order to upload with the SharePoint field information.
    Anyone have any ideas on how I can resolve this issue?
    Thanks,
    Mauricio

    I can't say exactly what is big binding because it depends on combination of factors: how fast your machine is, how big the Excel model is, how many components you have etc. Generally if you have bindings with several thousand cells it's going to cause the timeout problem. The problem is that we use Flash player in the application, and if some operation takes longer than a minute it times out. So, if getting data from the big bindings took too long, the flash player stops the operation and you have this timeout error.
    You see the timeout error only if you have debug version of Flash player installed. If you have release version installed, you don't see any erors, but you notice strange things, for example selecting component on the canvas does not cause property sheet to display. Release version of Flash is faster, so you can try to remove debug flash player and install release and there is chance that it will work.
    FP1 version is going to include some optimisations to reduce this problem and allow working with larger files.
    Margaret

  • ORA-01031 insufficient privileges  error when selecting from a view

    OK I think this might be a dumb question but I can't figure it out:
    User John has been granted SELECT privilege (directly, not through a database role) to schema FRED.table1;
    User John can issue select * from FRED.table1; and it works just fine.
    User John has then been granted SELECT privilege (directly, not via a database role) to schema
    MARK.view1;
    MARK.view1 only selects from FRED.table1. No other tables are in the view1.
    Schema MARK can successfully query the views. SELECT * FROM VIEW1 returns results.
    I also checked the MARK schema to ensure that it has been granted SELECT on FRED.table1 directly which it has.
    Now, when logged into schema John, I try SELECT * FROM MARK.VIEW1; and I get ORA-01031 insufficient privileges error.
    I'm not sure how to troubleshoot this. If John is granted SELECT ANY TABLE, it of course works but I don't want John to have that powerful priv.
    To recap, John has SELECT on both MARK.VIEW1 and the table which VIEW1 selects from (FRED.TABLE1).
    John can select from FRED.TABLE1 no problem but receives a privilege error even though John has SELECT on MARK.VIEW1.
    Any thoughts?
    Oh, Oracle EE 10.2.0.4

    JSebastian wrote:
    OK I think this might be a dumb question but I can't figure it out:
    User John has been granted SELECT privilege (directly, not through a database role) to schema FRED.table1;
    User John can issue select * from FRED.table1; and it works just fine.
    User John has then been granted SELECT privilege (directly, not via a database role) to schema
    MARK.view1;
    MARK.view1 only selects from FRED.table1. No other tables are in the view1.
    Schema MARK can successfully query the views. SELECT * FROM VIEW1 returns results.
    I also checked the MARK schema to ensure that it has been granted SELECT on FRED.table1 directly which it has.
    Now, when logged into schema John, I try SELECT * FROM MARK.VIEW1; and I get ORA-01031 insufficient privileges error.
    I'm not sure how to troubleshoot this. If John is granted SELECT ANY TABLE, it of course works but I don't want John to have that powerful priv.
    To recap, John has SELECT on both MARK.VIEW1 and the table which VIEW1 selects from (FRED.TABLE1).
    John can select from FRED.TABLE1 no problem but receives a privilege error even though John has SELECT on MARK.VIEW1.
    Any thoughts?
    Oh, Oracle EE 10.2.0.4Are you certain John has been granted select on Mark.view1 ? In order for that to work Mark would have to have been given select on Fred.table1 WITH GRANT OPTION ... otherwise the grant would fail and then John would not be able to select from the view because the grant was never successfully issued.
    Here's a basic test case (which i think conforms to what you've outlined) to get it working.
    drop user u1 cascade;
    drop user u2 cascade;
    drop user u3 cascade;
    create user u1 identified by u1;
    grant connect, resource to u1;
    create user u2 identified by u2;
    grant connect, resource, create view to u2;
    create user u3 identified by u3;
    grant connect, resource to u3;
    connect u1/u1@orcl
    create table test1 (col1 number);
    grant select on test1 to u2 with grant option; --> this is the important part
    grant select on test1 to u3;
    connect u2/u2@orcl
    create view test2 as select * from u1.test1;
    grant select on test2 to u3;
    connect u3/u3@orcl
    select * from u2.test2;

  • "ora-01031 insufficient privilege" error

    We are getting "ora-01031 insufficient privilege" error while registering Apps as target user in production environment.
    We tried to add the user using below method
    · Design Center / Global Explorer / Security / Users -> Right click -> New user
    · Repository assistance.
    · Given the OWB owner as the DBA privilege.
    Please let me know how to investigate further
    Thanks a lot for your help.

    Hi!
    Please check the following query after the user registration. But the question is, are you registering the users with the repository owner?
    select * FROM user_role_privs;
    Regards.
    Sebastian

  • Whenever I use facebook I'm getting this error message [Java Script Application] Error: options is undefined whenever I click on a link. What can I do to fix this problem? Easy step by step instructions please.

    When I use facebook, I keep getting this message [Java Script Application] Error: options is undefined whenever I try to return something, click on a link, or message, open a game, etc. ... I have Windows 7, addons of greasemonkey and better facebook (which seems to have disappeared)
    == URL of affected sites ==
    http://www.facebook.com/reqs.php#!/?ref=home

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

Maybe you are looking for