Password expiration mail and schedule tasks
Dear Experts,
To best of my observation OIM has OOTB feature to send mail on password expiry.
Kindly suggest how do I find
Query1 – how many days password get expired?
Query2 – Which mail will be send to user when password expires?
Query3 – Which schedule task does this?
OIM version is 9.1.0.2.
Kindly suggest.
Thanks,
S M
In OIM 10g the schedule task name is Password Expiration Task. This task sends e-mail to users whose password expiration date has passed at the time when the task runs. It is determined by the USR table field USR_PWD_EXPIRE_DATE. The email template name is given as one of the attributes to this schedule task. That particular email is sent. The name of the email definition is "Password Expired". After that it updates the USR_PWD_EXPIRED flag on the user profile.
Edited by: Durgaprasad on Apr 9, 2013 11:15 PM
Similar Messages
-
How to include Windows environment variables in e-mail action scheduled task
Hello Support,
Is it possible to include Windows environment variables such as %username% or %computername% in the subject line or body of the "Send e-mail" action item of the Task Scheduler? For example, I would like when I setup a scheduled
task to perform a certain task and send an e-mail message, the email should include either the user name or computer name in the subject line and body of the e-mail. Is that possible?
ThanksHi,
You can create a new Scheduled Task preference item to solve your requirement.
Checkout the below link for more information,
http://technet.microsoft.com/en-us/library/dd851678.aspx
Regards,
Gopi
JiJi
Technologies
I created a scheduled task and that does not provide what I need. The scheduled task will simple send an mail, but I want to know from which machine or user triggered the email. I also tried adding the batch file to the scheduled
task and that did not work even though the scheduled task has the following settings.
User Configuration >> Prefence >> Control Panel Settings >> Scheduled Tasks
When running the task, use the following user account
NT AUTHORITY\System
Run whether user is logged on or not
Run with highest privileges HighestAvailable
Configure for: Windows 7
I also tried with Computer Configurations -
We recently migrated our web site to a new server running CF9 (64-bit, Windows 2003) and I had several scheduled tasks that run on a night basis. So I set up the tasks in the CF Administrator but when try and run them via the administrator I get an error and the in the Scheduler Log I get a "400 Bad Request". Now the URLs defined in the scheduler is a page on our site under our domain (e.g. http://www.lake-link.com/scheduledTasks/daily.cfm ect) (This is not a working URL but just an example for this). If I run the link in a web browser it works fine, but it continues to get a 400 bad request when run in the CF Administrator. Now when I change the URL in the CF Administrator to localhost (http://localhost/scheduledTasks/daily.cfm) it works fine but I do not want to do this as there will be other domains on this server and each of them will have their own scheduled tasks and local host can only be defined for a single site. Is this an IIS setting or security setting? Why would the URL be getting a 400 Bad Request from within CF and not when I run it via a browser? Any help is appreciated!!!
Hi
When you say you run the link in a browser, is this the browser on the server? Does it work when you run the job from the browser on the server?
Also, Is the target address password protected in any way?
Cheers -
ISE and AD Password Expiration Notification and allow user to change
We are almost ready to go live with ISE for our VPN users.
One last thing that has been asked is, how can we make ISE prompt a user when their AD password is about to expire, and allow them the opportunity to change it at that time?
I know the ASA has the ability if it is authenticating directly against AD, but that functionality goes away with IPN. So what settings are there to prompt users connecting via Anyconnect to the ASA VPN through ISE?
We do not have ISE setup for internal users/systems yet, this is strictly a VPN only setup for now.
Thanks,
DirkSince we are using radius protocol so password expiration notification will not occur. The user will be prompted when password would expire. With ldap over ssl, user will be notified that "your password will be expired in x number of days" but we can't pick that method as it shoud be ASA integrated directly with AD/LDAP.
Since we have ISE in between acting as a radius server so we have to live with the option where user will not be notified but password can be changed by end-user.
Procedure for Configuring RADIUS Password Management
Requires tha tthe Radius server/ISE be integrated with an Active Directory MS-AD server.
1. Enable "password-management" in tunnel-group/Connection Profile.
Note: "password-management password-expire-in-days X" will not work, use just "password-management"
2. Ensure that MSCHAPv1/MSCHAPv2 is enabled on the RADIUS/ISE server.
Jatin Katyal
- Do rate helpful posts - -
CFHTTP and Scheduled Tasks not working after CF8 Upgrade
I have recently upgraded to ColdFusion 8. My scheduled tasks
in the ColdFusion Administrator do not work anymore. I ran them
manually without the ColdFusion Administrator from the server and a
local machine via Internet Explorer 7 and they work. I tried to run
the same scheduled task with the same URL via CFHTTP in a CFM page
and this does not work. The logs are not giving me any error
messages. Has anyone run into this? Is this a bug with CF8 or even
an IIS issue? ColdFusion is on a Windows 2003 SP2 server.
Thanks,
Mike<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>
<STYLE id=L_defaultr_1>A:link {
FONT: 8pt/11pt verdana; COLOR: #ff0000
A:visited {
FONT: 8pt/11pt verdana; COLOR: #4e4e4e
</STYLE>
<META content=NOINDEX name=ROBOTS>
<META http-equiv=Content-Type content="text-html; charset=UTF-8">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<TABLE cellSpacing=5 cellPadding=3 width=410>
<TBODY>
<TR>
<TD vAlign=center align=left width=360>
<H1 id=L_defaultr_2 style="FONT: 13pt/15pt verdana; COLOR: #000000"><ID id=L_defaultr_3><!--Problem-->The page cannot be displayed
</ID></H1></TD></TR>
<TR>
<TD width=400 colSpan=2><FONT id=L_defaultr_4
style="FONT: 8pt/11pt verdana; COLOR: #000000"><ID id=L_defaultr_5><B>Explanation: </B>There is a problem with the page you are trying to reach and it cannot be displayed.</ID></FONT></TD></TR>
<TR>
<TD width=400 colSpan=2><FONT id=L_defaultr_6
style="FONT: 8pt/11pt verdana; COLOR: #000000">
<HR color=#c0c0c0 noShade>
<P id=L_defaultr_7><B>Try the following:</B></P>
<UL>
<LI id=L_defaultr_8><B>Refresh page:</B> Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
<LI id=L_defaultr_9><B>Check spelling:</B> Check that you typed the Web page address correctly. The address may have been mistyped.
<LI id=L_defaultr_10><B>Access from a link:</B> If there is a link to the page you are looking for, try accessing the page from that link.
</UL>
<HR color=#c0c0c0 noShade>
<P id=L_defaultr_11>Technical Information (for support personnel)</P>
<UL>
<LI id=L_defaultr_12>Error Code: 400 Bad Request. The data is invalid. (13)
</UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML> -
XLReporter and scheduled task error code (2)
Hello Experts,
After upgrading from 2007A to 8.8.1 PL4 all XL Reporter jobs stoped working. So i've recreated scheduled tasks. But after this tasks still not working. In tasks log all tasks return code 2.
Example below:
Finished 5/5/2011 5:00:07 PM
Result: The task completed with an exit code of (2).
When I run job manually from XL Reporter it works fine. When run manually from Scheduled tasks it gives error 2
What else can be done, checked?Hi bets,
Please refer to the thread below:
Creative Cloud desktop failed to update.(Error code: 2)
Regards,
Sheena -
Essbase Add-in and scheduled tasks - Canned reports
I have been trying to figure out how to run our canned reports utilizing the WIndows Task Scheduler. We currently run most of our canned reports in Excel with the Essbase Add-In and VBA. DOes anyone out there have any suggestions on how I can run these reports daily by scheduling them to run?
Have you explored reporting tool such as Oracle BIEE, Hyperion Interactive Reporting or Financial Reporting? These 3 have the capabilities to schedule reports.
-
ICloud Password without mail and security questions.
Couples months ago, i sold my old macbook, and someone is using my iCloud account to chat on FaceTime and access my data.
How can i change my iCloud Password without having access to my security mail ( deleted long time ago) ?
PS: I also forgot my answers to the 2 security questions ( can't remember 2 years old answers )
But i have access to the main mail address and to all my idevices.
Thank youHello mclovinfromnancy,
the only way to change your password is via https://appleid.apple.com/. Sorry. -
basucaly what has happened is i went onto my laptop, changed my hotmail password, then now i cannot access it on my ipod i have been onto Settings-Mail,Contacts,Calender and the box where it says "hotmail" the writing is in grey so i cannot access the next stage, i dont know what next to do any help would be greatful!
Settings>General>Restrictions...are yours on? Allow Changes>Accounts>On/Off.
-
Robocopy and scheduled task 0x3
I have a batch file that runs robocopy weekly.
robocopy "D:\Database BU Transit" "E:\HCNBUWeekly" /e /v /r:1 /w:1 /log:C:\Backup\logs\Weekly.log /np /nfl /ndl
robocopy "D:\Database BU Transit" "J:\HCN\BUWeekly" /e /v /r:1 /w:1 /log+:C:\Backup\logs\weekly.log /np /nfl /ndl
When the robocopy finished I got Last Run Result 0x3. According to MS,
ERROR_PATH_NOT_FOUND 3 (0x3) The system cannot find the path specified.
But the robocopy worked fine!
Task Scheduler successfully completed task "\Create Weekly Backup" , instance "{481d6347-b522-46b1-9a4c-70977be82eca}" , action "C:\Windows\SYSTEM32\cmd.exe" with return code 3.
In the log file. This seems that it worked fine. but I am not sure why I am getting 0x3 code from the last run result.
ROBOCOPY :: Robust File Copy for Windows
Started : Sat Jul 12 23:30:00 2014
Source : D:\Database BU Transit\
Dest : E:\HCNBUWeekly\
Files : *.*
Options : *.* /V /NDL /NFL /S /E /COPY:DAT /NP /R:1 /W:1
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0
0 0
Files : 1 1 0 0
0 4
Bytes : 2.486 g 2.486 g 0 0 0 9.155 g
Times : 0:00:39 0:00:39 0:00:00 0:00:00
Speed : 67784952 Bytes/sec.
Speed : 3878.686 MegaBytes/min.
Ended : Sat Jul 12 23:30:39 2014
ROBOCOPY :: Robust File Copy for Windows
Started : Sat Jul 12 23:30:39 2014
Source : D:\Database BU Transit\
Dest : J:\HCN\BUWeekly\
Files : *.*
Options : *.* /V /NDL /NFL /S /E /COPY:DAT /NP /R:1 /W:1
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0
0 0
Files : 1 1 0 0
0 8
Bytes : 2.486 g 2.486 g 0 0 0 17.573 g
Times : 0:01:31 0:01:31 0:00:00 0:00:00
Speed : 29267549 Bytes/sec.
Speed : 1674.702 MegaBytes/min.
Ended : Sat Jul 12 23:32:11 2014
ROBOCOPY :: Robust File Copy for Windows
Started : Mon Jul 14 07:46:01 2014
Source : E:\HCNBUWeekly\
Dest : J:\HCN\BUWeekly\
Files : *.*
Options : *.* /V /NDL /NFL /S /E /COPY:DAT /NP /R:1 /W:1
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0
0 0
Files : 5 5 0 0
0 0
Bytes : 11.642 g 11.642 g 0 0 0 0
Times : 0:07:52 0:07:52 0:00:00 0:00:00
Speed : 26464739 Bytes/sec.
Speed : 1514.324 MegaBytes/min.
Ended : Mon Jul 14 07:53:53 2014
ROBOCOPY :: Robust File Copy for Windows
Started : Tue Jul 15 07:00:50 2014
Source : E:\HCNBUWeekly\
Dest : J:\HCN\BUWeekly\
Files : *.*
Options : *.* /V /NDL /NFL /S /E /COPY:DAT /NP /R:1 /W:1
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0
0 0
Files : 5 5 0 0
0 0
Bytes : 11.642 g 11.642 g 0 0 0 0
Times : 0:08:10 0:08:10 0:00:00 0:00:00
Speed : 25497194 Bytes/sec.
Speed : 1458.961 MegaBytes/min.
Ended : Tue Jul 15 07:09:00 2014
ROBOCOPY :: Robust File Copy for Windows
Started : Wed Jul 16 07:38:37 2014
Source : E:\HCNBUWeekly\
Dest : J:\HCN\BUWeekly\
Files : *.*
Options : *.* /V /NDL /NFL /S /E /COPY:DAT /NP /R:1 /W:1
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0
0 0
Files : 5 5 0 0
0 0
Bytes : 11.642 g 11.642 g 0 0 0 0
Times : 0:20:38 0:20:38 0:00:00 0:00:00
Speed : 10096282 Bytes/sec.
Speed : 577.713 MegaBytes/min.
Ended : Wed Jul 16 07:59:16 2014
ROBOCOPY :: Robust File Copy for Windows
Started : Thu Jul 17 07:35:43 2014
Source : E:\HCNBUWeekly\
Dest : J:\HCN\BUWeekly\
Files : *.*
Options : *.* /V /NDL /NFL /S /E /COPY:DAT /NP /R:1 /W:1
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0
0 0
Files : 5 5 0 0
0 0
Bytes : 11.642 g 11.642 g 0 0 0 0
Times : 0:20:15 0:20:15 0:00:00 0:00:00
Speed : 10286800 Bytes/sec.
Speed : 588.615 MegaBytes/min.
Ended : Thu Jul 17 07:55:59 2014The Option tab is on the deployment GUI they're using.
The article explains why Robocopy can run successfully, but still have a non-zero return code.
It also suggests using the /Log parameter to save the log to figure out exactly what it's doing.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " " -
Hi all,
I've a problem in processing a jms queue. I'm scheduling the jobs and putting these into a jms Q, the problem is with the TTL. The jobs are almost the same on every schedule and the same messages after a X time are continuously "killed" because the consumers are too slow to consume each message.
It's something like if I have 1 consumer.. 5 messages with a TTL of '3'.. and the consumer takes '1' to complete the job. the 5 messages are almost always the same (these are scheduled).. and I've always processed only the first 3 and killed the other 2...
do you know how to solve this problem?i don't understand something about your question.
a scheduled job sends a message to your queue for processing. the message event triggers a message listener MBD to take the message off the queue and process it. it's an asynchronous process, so the listener can take as long as it likes to complete the process. it doesn't send any reply back to the originator of the message.
true?
sounds like you need to check your listener pool settings. if the messages are backing up in the queue, you should add more MDBs to the listener pool.
% -
Cisco ISE CLI and GUI password expire
I had Cisco ISE version 1.1 i face a problem with the CLI and GUI password, as it expire and i can't login, i do the password reset using the ISE DVD,
i navigate to the ISE CLI, and do the following commands:
conf t
password-policy
no password-expiration-enable
and reset the GUI admin password, using the command:
# application reset-passwd ise admin
from the ISE GUI i had remove the option for diable admin account after 45 days.
but after 60 days the password expire again.
so kindly advise what to check for this expire issue.Hi Mostafa,
Yes, the last reply was more towards GUI password-mgmt because in maority of cases it happens with UI admin account. I need to know if you've restarted the ISE after disabling the expiration from the CLI because what I read few weeks ago in an internal defect that password policy configurations are not preserved on cli after restart so just to check could you please check the current settings on CLI w/ the help of show run | in password-policy.
~BR
Jatin Katyal
**Do rate helpful posts** -
I have a handful of PowerShell scripts that ran as Scheduled Tasks on an old Windows 2008 SP2 server, which output reports as Excel workbooks with multiple worksheets, via a COM object. After migrating these scripts to a new Windows 2012 R2 server,
these scripts no longer function. The Server 2008 system was running Office 2007, and the new Server 2012 R2 server has Office 2013 installed.
What is everyone using on their Server 2012 R2 systems to automate generation of multi-sheet reports in Excel via PowerShell and Scheduled Tasks?
I know that Microsoft has said that automating Office applications server-side in non-interactive mode, but it has worked in the past, until now. (https://support.microsoft.com/kb/257757)
I've tried the OpenXML PowerTools for PowerShell (https://powertools.codeplex.com/), but Export-OpenXMLSpreadsheet will only export a single worksheet, and they don't support adding worksheets to existing files
(am I missing something?). I understand the OpenXML PowerTools can be extended in C#, but I don't C#. The PowerShell cmdlets were released in Jan 2012, but don't look to have been updated since then (updates have been the core C# code).
I've seen recommendations to add C:\Windows\(System32 or SysWOW64)\config\systemprofile\Desktop, but this hasn't worked on Server 2012.
Has anyone been able to get Excel 2013 to cooperate on Server 2012 R2, or come up with a suitable alternative? I'd rather not start running these scripts from my workstation.
EDIT:
I'm not necessarily looking for an Excel answer, since there are OpenXML ways of doing things now without the Excel application.
Here are some of the errors I'm getting when approaching this from different directions. When I use:
$excel = New-Object -comobject Excel.Application$workbook = $excel.Workbooks.Add()
Results in error:
Exception calling "Add" with "0" argument(s): "Microsoft Excel cannot open or
save any more documents because there is not enough available memory or disk
space.
• To make more memory available, close workbooks or programs you no longer
need.
• To free disk space, delete files you no longer need from the disk you are
saving to."
At C:\path\to\script.ps1:21 char:2
+ $workbook = $excel.Workbooks.Add()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ComMethodTargetInvocation
The server is definitely not lacking for resources.
I can copy a blank XLSX file and use .Open($xlFile) instead of .Add(), but then when I go to open a CSV file to copy/paste the content to a worksheet, I get this one:
Exception calling "Open" with "1" argument(s): "The server threw an exception.
(Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"
At C:\path\to\script.ps1:65 char:2
+ $tempcsv = $excel.Workbooks.Open($CSVFile)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ComMethodTargetInvocation
Things that I've tried so far, with no success:
I created C:\Windows\System32\config\systemprofile\Desktop and C:\Windows\SysWOW64\config\systemprofile\Desktop as suggested here:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/0751119d-84d5-4a77-8240-1c4802f97375/powershell-scheduled-tasks-wont-start-excel?forum=winserverpowershell
Add Local Launch and Local Activation permissions to the Microsoft Excel Application DCOM Config, Grant "Read & Execute, List folder contents, Read" permissions on the \config\systemprofile\Desktop folder. Grant "Modify, Read & Execute,
List Folder Content, Read, Write" permissions for the account on the following folders:
\config\systemprofile\AppData\Roaming\Microsoft
\config\systemprofile\AppData\Local\Microsoft
as suggested here:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/aede572b-4c1f-4729-bc9d-899fed5fad02/run-powershell-script-as-scheduled-task-that-uses-excel-com-object?forum=winserverpowershell
@ jrv - I will try posting a similar question in the Excel 2013 forum, but since I'm looking for a scripting solution to produce an OpenXML spreadsheet, and not something that necessarily uses the Excel application (though such a solution would not be turned
away), I thought this the more appropriate venue.
(to reiterate from OP) I have seen and acknowledge Microsoft's statements regarding the unsupported nature of automating Office applications in non-interactive environments, but the truth of the matter is, supported or not, it worked in the past (Server
2008), it's what I inherited from my predecessor, and I know I'm not the only one who has been using Excel in this way. I'm only asking fellow scripters, some of whom must also be using Excel in this "unsupported" fashion, how they are automating
creation of their spreadsheet reports after moving to Server 2012. A different system modification to make the Excel comObject continue working as before? Direct manipulation of the OpenXML document? Other solutions that may or may not require launching the
Excel application?#1 - Ask in Excel 2013 forum.
#2 - Microsoft has repeatedlynoted that this is NOT a supported configuration for Office products.
#3 - What errors are you getting?
#4 - What have you done to debug this:
#5 - No one can be of much help unless you post a very simple example of how this fails.
¯\_(ツ)_/¯ -
How to make Robocopy run in the foreground using Scheduled Tasks
Hello everyone!
I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
Here is the script:
date /t >> log.txt
time /t >> log.txt
ROBOCOPY \\CENTURY1\d$\ f:\ /MIR /R:0
time /t >> log.txt
This topic first appeared in the Spiceworks CommunityHello everyone!
I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
Here is the script:
date /t >> log.txt
time /t >> log.txt
ROBOCOPY \\CENTURY1\d$\ f:\ /MIR /R:0
time /t >> log.txt
This topic first appeared in the Spiceworks Community -
Windows domain password expired
Macbook Pro, bound to Windows domain, running 10.7.5
This one user's domain password expired. Now, she can't log into the Mac with her new password. That's all.
I'm a Windows admin, but I'm fairly competent in supporting OSX. I'm hoping there's a very easy fix to sync their current password with the domain controller. For my first trick, I've tried plugging her into the wired network until the red dot goes away and network accounts are "available". Didn't work. Unbind, re-bind to domain didn't help either. Other AD accounts can log into this Macbook with their current passwords (for example: I haven't logged in in over 90 days, our default password expiration period, and I could get in just fine AND I was prompted to update my keychain password)
Side note: I was hoping to find the equivalent of a "gpupdate /force" for OSX, but that seems to be hard to find.
What other information is needed?
Thanks!Hi, did you manage to solve this?
I have a similar issue:
- Suddenly, more than one week ago, I could not unlock my Mac, hence I believed that my domain password had exipred
- By using Outlook Web Access I logged in with the old password, which made me realise that the password wasn't expired after all
- I thought it was useful to change the password anyway, and I did that using OWA
- I got back to the Mac and realised that I could not login with neither the old and new passwords!
- I forced reboot the Mac, and now I can login only with the *old* password, the one that stopped working!
Since then, I need to use the old password on the Mac and the new on all other network resources associated to the domain. All of this happened while in my office, so no networking complications. I have spent time with the Mac still on the same network but the new password never got 'propagated' to it since.
G.
Maybe you are looking for
-
I can't use Wifi Scan utility because of the application crash
I launch the "Wireless Diagnostics.app" application. Go to the menu - Window - Utility (cmd+2). Then i click on the Wifi Scan tab and the application crashes. I tried to launch this app on several devices: MacBook Air 2014, iMac 2011, MacBook pro wit
-
I just received my new iPad Air. I had understood that it came with several apps including: Pages, Numbers and Keynote, but it doesn't seem to be the case. Did I misunderstand the promos? I use a Dell XPS desktop running Windows 7.
-
Hi All I have access on Outlook on PC to my manager's emails. He works predominantly on blackberry off site. If I reply to his emails on PC, when the Blackberry syncs wirelessly, the messages I replied to or forwarded don't show as having been repl
-
Improving the performance of a progarm
How would you go about improving the performance of a progarm which selects data from MSEG & MKPF ?
-
I just upgraded my firmware for my router to the lates and my access restictions no longer function like they did under my old firmware (wrt54g v2.2) currently I have my access restrictions set up like this 1 allow ip:100 24/7 2 allow ip:101 24/7 wit