How to set SQL Server Login MUST_CHANGE, CHECK_POLICY, CHECK_EXPIRATION all to OFF with T-SQL

How to set SQL Server Login MUST_CHANGE, CHECK_POLICY, CHECK_EXPIRATION all to OFF with T-SQL.  SSMS will not allow me to change policies to OFF. Error: 15128 - The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is
on.  I am attempting to change these options in a test environment. Thanks, Richard

It appears you have to change the password first(it could the same password but an alter command needs to be done)
check this : http://www.sqldbadiaries.com/2010/11/07/the-check_policy-and-check_expiration-options-cannot-be-turned-off-when-must_change-is-on/
http://sqldbpool.com/2012/10/08/the-check_policy-and-check_expiration-options-cannot-be-turned-off-when-must_change-is-on-microsoft-sql-server-error-15128/
Hope it Helps!!

Similar Messages

  • How to set default User preferences in Analyzer for all users

    How to set default User preferences in Analyzer for all users<BR><BR>Hi,<BR><BR>I would like to set some settings in Analyzer as default for all users. For example:<BR>1. Display | Char<BR>2. right mouse click on char | Chart Properties<BR>3. Axes tab<BR>4. "Format: Currency" i would like to change to "Format: Number".<BR><BR>How to set default values to all users? Is this possible?<BR><BR>Thanks,<BR>Grofaty

    I'm pretty sure higher access superceedes, so you could set up a group with no actual access, just to get the preferences working, then their individual security will dictate what they can do. I haven't tested this fully, but I beleive this is how it will work.<BR>As far as setting the preferences, go into the admin console and right click on the group, then select Preferences. To apply the group preferences to a user, add the user to the group, then right click on the user, select preferences and from the upper left corner, use the drop down to select the active preference, in this case, it will be the group you created and added them to.<BR><BR>HTH

  • How to set user preferred timezone in OBIEE for all objects.

    How to set user preferred timezone in OBIEE for all objects based on users TZ(may be from @{session.timeZone}). without changing My Account -> Preferences

    Check
    Time Zone Specification from http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535403
    just in case https://blogs.oracle.com/xmlpublisher/entry/how_to_keep_your_dates_from_go

  • How to set public even show detail to to all users

    How to set public even to show detail to all users or group. By default the public event only show "Busy" on calendar.

    Change the calendar's "everybody" permissions to include "Read" permisssion

  • How to set tomcat server path in windows XP

    hi frnds,
    I am new to java technologies.I am trying to learn all alone Hw am wandering how to set class path of tomcat server in windows xp.
    it shud be in user varibles r system varibles
    Thanks everyone in advance,
    cheers........
    roopa

    What exactly are you trying to accomplish here?

  • How to set proxy server name in iasenv.ksh?

    How to set the proxy server host and port in the JAVA_ARGS list in the iasenv.ksh file? IAS 6.5 is the server being used.

    hi,
    Below is what needs to be done.
    1. Edit the variable JAVA_ARGS in iasenv.ksh to include the -Dhttp.proxyHost. For example, the JAVA_ARGS looks like this : JAVA_ARGS="-Xss512k -Xms64m -Xmx64m -Dhttp.proxyHost=proxy.myhost.com -Dhttp.proxyPort=8080"
    2. This JAVA_ARGS is the one under the kjs script settings. You will find this below the comment ## Set all user level JVM flags for KJS here.
    3. Now stop and restart the application server.
    4. Any new URL connections from the servlets/applications within the appserver will now go through the proxy server.
    I have tested this on iAS6.0 SP3. But this should work in 6.5 too. Please let me know if this helps.
    Cheers,
    Vasanth

  • How to set SQL trace in OCI session ?

    Hello,
    In a SQL*Plus session, I can use the SQL statement "alter session set sql_trace=true;" to set SQL trace in that session only. I assume I could execute the same SQL statement from C code in an OCI client and achieve the same goal.
    However, if I cannot change the code of this OCI client, is there a way to set SQL trace for that single session alone, without changing the C code? Say, through an environment variable, configuration file, etc.?
    Thanks.

    I am not aware of a way to selectively enable the server-side tracing without modifying the client code.
    There is client tracing available by setting the environment variable EVENT_10842 as follows:
    "server=<>;user=<>;stmt=<>;level=<>;interval=<>"
    e.g.
    setenv EVENT_10842 "server=inst1,inst2;user=scott,system;stmt=all;level=15"
    Where:
    "server" is a comma separated list or "all"
    "user" is a comma separated list or "all"
    "stmt" can be INSERT,UPDATE,DELETE,SELECT or "all"
    The following levels are supported:
    1 - Trace all server attach and server detach calls for servers listed in "server" attribute of the environment variable.
    2 - Trace all session begin, logon, session end, logoff calls for the users listed in "user" attribute of the environment variable.
    3 - Trace all prepare, execute, fetch calls for the specified statement types listed in "stmt" attribute of environment variable.
    4 - Trace all Bind, Define, Describe calls.
    5 - Trace all OCI LOB calls
    7 - Get statistical info on all connection pooling /connection related calls
    8 - Get statistical info on all session info
    9 - Get statistical info on all handle info
    10 - Get statistical info on time taken in execute and fetch calls
    11 - Get statistical info on transaction related calls
    15 - Trace all calls with statistical info.

  • How to set the Server CLASSPATH?

    Hi all Oracle Java experts,
    I know this is a rather stupid questions:
    Where can I set the CLASSPATH of the Servlet Engine in Oracle 8.1.7.?
    I spent hours now searching the documentation and found loads of hints what to add to the CLASSPATH in which circumstances, but not how to... Of course I know how to use the CLASSPATH in a normal Java environment, but not in the OSE.
    In the "Oracle8i Application Developer's Guide - XML" it says in the "Using XSQL Servlet" Chapter:
    "How you set the CLASSPATH of the web server's Servlet environment and how you associate a Servlet with a file extension are done differently for each web server. The XSQL Servlet's Release Notes contain detailed setup information for specific web servers you might want to use with XSQL Pages."
    Unfortunately, the Release Notes contain this information for Tomcat, Apache JServ etc., but not for Oracle's own Servlet Engine... Maybe you should include that information.
    Thanks for any help;-)
    Cheers
    Olaf
    null

    Not sure if I understatnd the context in which you want to set your classpath.
    IDE, java or system but ...
    look at the profile file /etc/profile
    CLASSPATH= "/usr/local/jdk1.4......"
    export CLASSPATH
    or
    javac -classpath .;/usr/local/jkd1.4.... test.java
    or
    whatever your ide provides.

  • How to set wamp server time?

    Downloaded the most recent version of Wamp (Apache 2.2.11 , PHP 5.3.0,  MySQL 5.1.36)
    Server time is 5 hours later than my local time (America, Chicago)
    Where can i change the time settings?
    thanks for your help,
    -Jim Balthrop

    This might help...
    http://www.dedyisn.net/2009/02/how-to-setting-default-time-zone-in-apache-webserver-for-ph p/
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Shopping Cart for Adobe Dreamweaver
    available in PHP, ColdFusion, and ASP
    Stay updated - http://blog.cartweaver.com

  • How to set reports server environment

    Hi..
    Now Oracle 9iAS r1 (reports60) was installed on Linux, Unix and NT for testing.
    I typed like below in web browser .
    http://IP:Port/dev60cgi/rwcgi60/showenv?server=ServerName
    then Oracle Reports environment variants(REPORTS_PATH, REPORTS... so on..) did not set . except PATH, LI_LIBRARY_PATH and ORACLE_HOME variants like below..
    ====================================================
    Oracle Reports Server CGI60 Environment Variables:PATH /home/ora9iasr1/product/9.0.1/Apache/perl/bin:/home/ora9iasr1/product/9.0.1/bin:/usr/kerberos/bin:.:/usr/local/bin:/usr/java/jdk1.3.1_07/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/ora9iasr1/bin
    LD_LIBRARY_PATH /home/ora9iasr1/product/9.0.1/6iserver/lib
    ORACLE_HOME /home/ora9iasr1/product/9.0.1/6iserver
    ORACLE_PATH undefined
    REPORTS60_PATH undefined
    REPORTS60_TMP undefined
    REPORTS60_CGIMAP undefined
    ==============================
    I can set it with editing registery on Windows.
    But thought I set it with export option at .bash_profile, reports60.sh and reports_server on Unix platform, it did not affected.
    Please let me know how to set reports environment on Unix.
    regards..
    Ryu,

    The reports CGI is started from script rwcgi60. Did you set those env variables in rwcgi60? Or did rwcgi60 call reports60.sh to set env variables? Please check.
    -Jeff

  • How to set Proxy for IE 8.0 on doing Load Testing with OATS 12.1.0.2

    I have tried adding proxy server by adding the address to "Localhost" and Port as 8080.
    but nothing is working out, for recording an EBS instance its working fine ,no need to setup anything in the OATS tool, eg, Proxy settings.
    But when it comes to BPM  with ADF technology , the recorder is not starting the Recording even the pointer navigation also not wokring.
    So, is there way to record the ADF applications in BPM ?
    Thanks in advance.

    Hi Wayne,
    Thing is do we need to add the proxy server here?, as for doing Load testing on EBS application,there is no need of adding a proxy server,
    So the same way it should work with the ADF application too, but its not showing any mouse pointer in the Browser tool bar or recording
    the navigation.
    Point to be noted is, we need to connect to VPN in order to access the Application.
    is it because of VPN connection that its not recording?
    But while doing the functional testing I didn't face anyproblem though as its recording everything even if we are connected to VPN.
    In Functional testing also i found ,all the input fields where we add the "username" or any input data via a "text box" the tool is not able to
    record the field information along with the input we enter.
    If you could let me know ,how to do a Load testing for ADF application using BPM , it would be helpful
    Thanks
    Atish

  • How to set a customized search results template for all users

    Hi.
    I know the customized search results views are stored in a file called pne_portal.hda that resides on every user's subfolder in data/users/profiles/...
    Is there a way to set a customized search results template for all users? If it's impossible, is there a way to modify the Headline view? I'm not able to find the resource or template where this view is.
    Thanks in advance.

    I wasn't able to understand what was meant by this post. Therefore, I modified the standard template HeadLine View.
    Columns for this template are defined in the include slim_search_result_table_header_setup (in std_page.htm).
    Here is the modification of the code:
    <$if customTemplateId and not (baseTemplateId like customTemplateId)$>
              <$columnsString = utGetValue("customlisttemplates/" & strLower(customTemplateId), "columns")$>          
              <!-- Modify START by Oracle-->
         <$else$>
    <!-- here add default fields -->
              <$columnsString="dDocName,dDocTitle,dInDate,dDocAuthor"$>
    <!-- here add your custom fields -->
              <$columnsString=columnsString&",xComment"$>
              <!-- Modify END by Oracle-->
         <$endif$>

  • How can set a customized search results template and all users see it

    Hi all ,,,,
    I Added new costume template search result
    And when I added this template it’s added only for the user how created this template ,And I need all users see and use this template can anyone tell how I can add template for search result and all users see it or if I can do synchronies for this template.

    I wasn't able to understand what was meant by this post. Therefore, I modified the standard template HeadLine View.
    Columns for this template are defined in the include slim_search_result_table_header_setup (in std_page.htm).
    Here is the modification of the code:
    <$if customTemplateId and not (baseTemplateId like customTemplateId)$>
              <$columnsString = utGetValue("customlisttemplates/" & strLower(customTemplateId), "columns")$>          
              <!-- Modify START by Oracle-->
         <$else$>
    <!-- here add default fields -->
              <$columnsString="dDocName,dDocTitle,dInDate,dDocAuthor"$>
    <!-- here add your custom fields -->
              <$columnsString=columnsString&",xComment"$>
              <!-- Modify END by Oracle-->
         <$endif$>

  • How to set Password expiration at 45 days for all users (new or existing)

    Hey all please suggest suitable way to set password expiration at 45 days of all application users.
    i am using APPS R -12.1.3 ...

    reply with possible ways.
    URGENT...

  • How to set JCO.Server to unicode

    Hi,
    I'm trying to call a Java class (myExample5)from a R/3 that is unicode compliant.  Using example5 in the sapjco-ntintel-2.1.5.zip, I've created the ABAP program to call STFC_CONNECTION with the destination 'JCO'.  I get to my JAVA program, but the input it receives is null.  I think I need to set the JCO.Server to be unicode, but I can't figure out how. 
    Can someone provide me with an example? 
    Also, do I need to had any additional dll to my system32 directory?
    Thanks ahead of time for any insight.

    Hello ,
    If you want to make outbound RFC calls from a Unicode SAP system to a JCo server instance, the server must be set up using the additional serverProperty
    You also need to set the unicode option for your RFC destination in transaction SM59 in transaction SM59 (tab page MDMP_Unicode).
    You can create Unicode Compatible JCOSERVER01  as follows
    static public class Server extends JCO.Server {
        public Server(String gwhost, String gwserv, String progid, boolean isUnicode, IRepository repository)
          super(gwhost,gwserv,progid,repository);
          this.setProperty("jco.server.unicode", isUnicode?"1":"0");
    for more details use following link :
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/7238b836701b5ae10000000a42189c/frameset.htm
    Regards,
    Pushkar Dhale

Maybe you are looking for

  • How can I view photos in apple tv

    I had a PS3 and could view all my files on my macbook pro..  bought apple tv - thinking it was superior...  but I can't seem to access my photos in iphoto when using my apple tv...  ???  Is it not possible to view photos from my macbook pro while usi

  • Deploy OS task sequence fails when deploying to multiple computers

    Hi gang, I'm running into an issue when imaging multiple computers with MDT 2012. Let me give some background info. I have installed Windows 7 64 bit on a laptop in audit mode, made my configurations, sysprepped the machine, and captured a .wim using

  • I am trying to download/install updates. but i get a red "x" under the "status" of the update.

    I am also having problems with the printer not recognizing my memory card, but it has in the past. It will spontaneosly display the message "connecting" on the screen of the printer, and I have to turn it off or unplug it to print. I am assuming thes

  • Search programs and files : contenu d'un fichier PDF exclut de la recherche

    J'ai un PC avec Windows 7 Pro et quand je fais une recherche d'un mot-clé, la recherche ne prends pas en compte le contenu des fichiers PDF.  Comment faire ?

  • XML C++ Generator

    Hi, I'm trying to run xmlcg on a Solaris box and I'm getting this error: ld.so.1: bin/xmlcg: fatal: relocation error: file bin/xmlcg: symbol open64: referenced symbol not found I'm guessing that I'm missing something from my LD_LIBRARY_PATH but I don