User Profile Scripting

Good afternoon.
Is there are other ways to check if there is any script being cached somewhere for a particular user.
//description
I moved and old user to my new OU, I also created some users in that particular OU
I used the same script on all users including my old users (the user which i moved). The scrip was added to each user profile logon script on my DC
When i logged in, the new user picked up the settings applied from the script, However, with my old user there's only some Words display while others not, .
// my scrip is just for my standard signature for my users.
Appreciate help on this
----- bsl

Thanks Milos,
Before I will check the user and the computer GPO. I even use the same old user on another new machine but the same error i get as described above
// more info
With the new machine, I locked in with both user, the old user and the new user. The new user picked up the settings ok BUT not with the old user.
// when moving the old user to the new OU
I just right click the user | Move | select the New OU | OK |
all the groups that the old user is a member off moved along with the move request. (re-checked and confirm)
We'll check the user policy then !
Thanks
----- bsl

Similar Messages

  • SQLPATH for user profile of SQL*PLUS

    Hi there,
    I am using 9.2 on HPUX. I tried set up my user profile script (login.sql) and place it in a place included in SQLPATH variable. It worked in 8.1.x but not in 9.2
    Is it an identified bug? I have no access to metalink

    Seems to work on my windows environment.
    E:\>set SQLPATH=C:\Temp
    E:\>
    E:\>mkdir C:\Temp\Help
    E:\>
    E:\>echo prompt Help... > C:\Temp\Help\Help.sql
    E:\>
    E:\>sqlplus
    SQL*Plus: Release 9.2.0.3.0 - Production on Thu Sep 25 23:08:40 2003
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Enter user-name: /
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    SQL>
    SQL> @Help\Help.sql
    Help...
    SQL>
    SQL> @Temp\Help\Help.sql
    Help...
    SQL>
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    E:\>

  • Need a Script for Removing User Profiles in Windows 7

    I am in need of a script that will allow me to remotely delete user profiles from multiple computers. I am an IT Admin over around 15-20 computers that are publicly used by many different people each day, and at least once a month we have to go into each
    computer individually..my computer, properties, profiles and delete them one by one. This is growing very tedious due to manpower and the number of computers we have to do this on. 
    I have absolutely zero knowledge in the scripting department so could somebody point me in the right direction on this? I would like to have a script that i can just run once a month or so and say "delete all profiles from computers x y and z that are
    over a few months old." Is this possible? Thanks in advance!

    Try this link - http://superuser.com/questions/643417/delete-user-profile-from-command-line-windows-7
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/7663ea51-9f4e-4fd7-9946-e16e65c3ed9d/remove-windows-7-user-profiles-via-powershell-script-initiated-on-logoff?forum=ITCG
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Powershell script to get all user profiles with specific email address

    Hello,
    Please help me. I need a powershell script which can do the following things.
    List of all sharepoint user profiles with email address
    [email protected]
    List of all FBA user profiles with email address  [email protected]
         List of all Pending Access Requests
    Any help is much appreciated. Thanks.
    chirag

    The script is not working for me. I changed the url according to my site. See the below error
    New-Object : Exception calling ".ctor" with "1" argument(s):
    "UserProfileApplicationNotAvailableException_Logging ::
    UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does
    not have 3f3a5705-0691-4fe8-8643-cccd65363dc9"
    At C:\Scripts\userprofileemails.ps1:11 char:19
    + $profileManager = New-Object
    Microsoft.Office.Server.UserProfiles.UserProfileMan ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvoca
       tionException
        + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
       Shell.Commands.NewObjectCommand
    You cannot call a method on a null-valued expression.
    At C:\Scripts\userprofileemails.ps1:12 char:1
    + $profiles = $profileManager.GetEnumerator()
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull
    Please guide me what to do on this.
    Thanks
    chirag

  • PowerShell Script to Clean User Profiles File Location

    Hello,
    I have been searching around to accomplish what I am trying to do. It is pretty basic so I am hoping someone can point me in the right direction. I want to write a powershell script to clean out two locations in all the user profiles on a Citrix server.
    Here are the steps I'd like to accomplish.
    1. Find all user profiles on the Citrix server
    2. Delete all the files from these two locations; "\Local Settings\Application Data\Mozilla\*.*" and "\Local Settings\Application Data\Microsoft\OneNote\*.*"
    This will run on a weekly basis via a scheduled task. A nice to have would be to add any profile over 60 days old.
    I have a pretty good start, but I am still learning PowerShell, so any help would be appreciated.
    Thanks in advance!
    Thanks, Jeremy

    Hello mbwc,
    how about showing us what you got so far and detail where you have trouble?
    That way, we can help you understand your problems and find the solution yourself (= good for learning), instead of having one of us simply provide the solution (= bad for learning).
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • Script to delete user profiles

    I am looking for a script that could be ran either by logout or via ARD . The script needs to delete all user profiles stored on the local mac. except for the admin account and ladmin also an admin account Since all users have an AD account there is no need to keep the users profile. I tried to find a script but no luck I know almost nothing about apple scripts so I am lost. all mac computers are either tiger or panther. All mac clients are managed via a Lepord server also if that helps

    I am looking for a script that could be ran either by logout or via ARD . The script needs to delete all user profiles stored on the local mac. except for the admin account and ladmin also an admin account Since all users have an AD account there is no need to keep the users profile. I tried to find a script but no luck I know almost nothing about apple scripts so I am lost. all mac computers are either tiger or panther. All mac clients are managed via a Lepord server also if that helps

  • SharePoint 2010 Powershell scripting for user profile

    Please help to have a powershell script which will provide the details related to user profile service application like:
    Number of user profiles:
    Number of user properties
    Number of Organization properties
    Number of Organization profiles
    Number of Audiences
    Un compiled Audiences
    Audience Compilation status
    Last compilation time
    Synchronization schedule
    Santosh sethi

    Hi,
    If you're looking for prewritten scripts, you can check these two places:
    http://gallery.technet.microsoft.com/scriptcenter
    http://get-spscripts.com/
    You should read this too:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/a0def745-4831-4de0-a040-63b63e7be7ae/posting-guidelines?forum=ITCG
    Let us know if you have any specific questions.
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • How can I Import CA Certificate into a new user profile when it's created

    I need to deploy a CA Root Certificate to new firefox user profile when it is created in windows. I Seen somewhere that you could place a working copy of cert8.db in %programfiles%\firefox-installation-folder\defaults\profile and this would get added when a new firefox profile is created. However, the profile directory doesn't exist in the defaults folder and when I created it this method still didn't work.
    Is there a way to get firefox to create new profiles with preconfigured Certificates?
    Right now when new users open firefox for first time it is unable to connect to any SSL sites through our proxy server until the user adds the proxies ca certificate or it gets added later via logon script (at next user logon).

    Update... For anyone looking for a similar solution:
    I ended up adding more to my logon script I have it check for a user's mozilla profile first and if not found it will use command line "firefox.exe -createprofile default" to make one. After that I just copy a working cert8.db to that new profile. Then when the user opens firefox for first time, it will detect this new profile, and it will load it along with the correct CA Certs intact...
    Also, for existing profiles my script just uses nss certutil to add my proxy CA Certificate to the users profile cert8db.

  • Sharepoint 2013 - Active Directory Import User Profile Property manager fields

    Hi there,
    I juste encountered actually a little issue regarding the Active Directory Import User Profil.
    Importation seems to work well but I have a little problem regarding the Manager field.
    When I verify a user profil through the sharepoint admin page ("Manage user profil") , I can see the manager field is correctly populated, but if I want to check my profil as a user (personal information), the manager field is not visible.
    With Sharepoint Admin and Manage Profil Properties, I haven't the possibility to modify some settings for the manager.
    For example, Policy parameters is greyed.
    The only way I found to show this field in a user profil is to give the permission "allow users to Edit values ...".... setting I don't want to set.
    Have you already this sort of issue ?
    Thanks for your help/idea.

    Hi Michael,
    I don't remember well what I did exactly regarding this issue because I played a lot with user profil.
    I know I used this powershell script from Sheyia which in fact help me a lot to clean and create a good profil setting.
    http://blogs.technet.com/b/sheyia/archive/2013/10/09/sharepoint-2013-another-way-to-change-order-for-user-profile-properties-via-powershell.aspx
    For example, this script help me to resolve some double entries.
    Let-me know if it help you (or not of course)

  • Customized User Profiles not loading for Network Users

    I manage Macs in public computer labs and classrooms at a university. My general set up is as follows:
    Clients are running 10.8.5, OD Masters are running 10.7.5. Open Directory Master to manage client preferences for Login window and screen saver. Clients bind to Active Directory for authentication purposes only. Networked users home directories are stored locally then deleted at log out. Using Deploy Studio to image and restore clients.
    My customized user profiles are stored in /User Templates/Non_Localized.lproj.(I also update English.lproj for any local users that may need to be created for various reasons).
    Recently I have come across a situation where, randomly, my customized user profile does not load at Login, and I am given the out-of-the-box default Apple profile. This is happening in 11 of my 14 labs. I have three labs that seem to not be affected by this.
    On some labs I manage the DHCP, some labs I do not, and rely on our Networking group to supply DHCP and DNS. Because of this setup I have six different DNS server that may be in the mix. Two are Unix boxes, the other four are the Active Directory Domain Control servers. I did create a spreadsheet of all the AD/OD settings for each lab to see if I could find some kind of pattern, but don't see a way to upload it.
    The one thing I do notice is that when I do a mass login using a shell script via Apple Remote Desktop, when the profile fails to build correctly, the user login is quick, much quicker than when the correct profile loads. Almost as if a packet is sent the the OD server, it's rejected, and bam, Apple's default profile loads.
    I have flushed the DNS cache of the local clients using killall --HUP mDNSResponder
    I've got one week to figure this out before classes start, so if you have a clue as to what's going on, I sure would be grateful.
    Here are logs from both the admin's account and the user's account when the default profile fails to build:
    ADMIN log:
    8/20/14 1:31:03.366 PM  CVMServer[109]  Check-in to the service com.apple.cvmsCompAgent_x86_64 failed. This is likely because you have either unloaded the job or the MachService has the ResetAtClose attribute specified in the launchd.plist. If present, this attribute should be removed.
    8/20/14 1:31:03.389 PM  loginwindow[44] Login Window - Returned from Security Agent
    8/20/14 1:31:03.491 PM  loginwindow[44] USER_PROCESS: 44 console
    8/20/14 1:31:04.084 PM  WindowServer[75]    **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    8/20/14 1:31:06.307 PM  locationd[563]  NOTICE,Location icon should now be in state 0
    8/20/14 1:31:06.478 PM  coreaudiod[560] Enabled automatic stack shots because audio IO is inactive
    8/20/14 1:31:06.621 PM  UserEventAgent[548] cannot find fw daemon port 1102
    8/20/14 1:31:08.530 PM  WindowServer[75]    Display 0x04280480: MappedDisplay Unit 0; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000)
    8/20/14 1:31:09.707 PM  NetworkBrowserAgent[591]    Starting NetworkBrowserAgent
    8/20/14 1:31:10.393 PM  apsd[593]   Certificate doesn't match host
    8/20/14 1:31:11.499 PM  com.apple.SecurityServer[15]    Session 100010 created
    8/20/14 1:31:13.561 PM  genatsdb[608]   ########## genatsdb Sandboxed. ##########
    8/20/14 1:31:13.562 PM  apsd[593]   Certificate doesn't match host
    8/20/14 1:31:13.740 PM  com.apple.time[548] Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
    8/20/14 1:31:14.555 PM  apsd[593]   Certificate doesn't match host
    8/20/14 1:31:45.040 PM  genatsdb[608]   *GENATSDB* FontObjects generated = 1113
    8/20/14 1:31:55.663 PM  com.apple.time[548] Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
    8/20/14 1:32:20.627 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.627 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.627 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.627 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.628 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.628 PM  WindowServer[75]    dict count after removing entry for window 0x2a is 0
    8/20/14 1:32:20.641 PM  com.apple.launchd[1]    (com.apple.quicklook.satellite.4D0B4319-944D-49A6-A515-02F31AE3C235[628]) Could not terminate job: 3: No such process
    8/20/14 1:32:20.641 PM  com.apple.launchd[1]    (com.apple.quicklook.satellite.4D0B4319-944D-49A6-A515-02F31AE3C235[628]) Using fallback option to terminate job...
    8/20/14 1:32:20.645 PM  coreservicesd[65]   SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=188
    8/20/14 1:32:20.647 PM  coreservicesd[65]   SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=147
    8/20/14 1:32:20.647 PM  coreservicesd[65]   SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=194
    8/20/14 1:32:20.648 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.648 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.648 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.648 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.648 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.716 PM  loginwindow[44] DEAD_PROCESS: 44 console
    8/20/14 1:32:20.891 PM  com.apple.time[548] Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
    8/20/14 1:32:20.929 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.929 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.929 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.929 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.929 PM  WindowServer[75]    CGXGetConnectionProperty: Invalid connection 32023
    8/20/14 1:32:20.930 PM  coreservicesd[65]   SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=158
    8/20/14 1:32:22.259 PM  WindowServer[75]    CGXRestartSessionWorkspace: session workspace exited for session 256 (on console)
    8/20/14 1:32:22.259 PM  WindowServer[75]    Session 256 released (1 references)
    8/20/14 1:32:22.259 PM  WindowServer[75]    Session 256 released (0 references)
    8/20/14 1:32:22.259 PM  WindowServer[75]    loginwindow connection closed; closing server.
    8/20/14 1:32:22.268 PM  apsd[593]   CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
    8/20/14 1:32:22.285 PM  loginwindow[653]    Login Window Application Started
    8/20/14 1:32:22.299 PM  UserEventAgent[11]  Captive: [UserAgentDied:139] User Agent @port=45319 Died
    8/20/14 1:32:22.310 PM  ARDAgent[574]   CGSGetNextEventRecord (Inline) connection 0xb903, 16384 bytes
    8/20/14 1:32:22.310 PM  ARDAgent[574]   CGSShutdownServerConnections: Detaching application from window server
    8/20/14 1:32:22.310 PM  ARDAgent[574]   CGSDisplayServerShutdown: Detaching display subsystem from window server
    8/20/14 1:32:22.311 PM  blued[58]   -[CBManager init] init returning self:0x7ff6a3b04990
    8/20/14 1:32:22.329 PM  WindowServer[654]   Server is starting up
    8/20/14 1:32:22.330 PM  WindowServer[654]   Session 256 retained (2 references)
    8/20/14 1:32:22.330 PM  WindowServer[654]   Session 256 released (1 references)
    8/20/14 1:32:22.333 PM  WindowServer[654]   Session 256 retained (2 references)
    8/20/14 1:32:22.333 PM  WindowServer[654]   init_page_flip: page flip mode is on
    8/20/14 1:32:22.357 PM  WindowServer[654]   mux_initialize: Couldn't find any matches
    8/20/14 1:32:22.367 PM  WindowServer[654]   GLCompositor enabled for tile size [256 x 256]
    8/20/14 1:32:22.367 PM  WindowServer[654]   CGXGLInitMipMap: mip map mode is on
    8/20/14 1:32:22.424 PM  WindowServer[654]   WSMachineUsesNewStyleMirroring: true
    8/20/14 1:32:22.425 PM  WindowServer[654]   Display 0x04280480: GL mask 0x1; bounds (0, 0)[1920 x 1080], 30 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model a012, S/N 0, Unit 0, Rotation 0
    UUID 0x000006100000a0120000000004280480
    8/20/14 1:32:22.425 PM  WindowServer[654]   Display 0x003f003e: GL mask 0x4; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003e
    8/20/14 1:32:22.425 PM  WindowServer[654]   Display 0x003f003d: GL mask 0x2; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003d
    8/20/14 1:32:22.429 PM  WindowServer[654]   Created shield window 0x4 for display 0x04280480
    8/20/14 1:32:22.429 PM  WindowServer[654]   Created shield window 0x5 for display 0x003f003e
    8/20/14 1:32:22.429 PM  WindowServer[654]   Created shield window 0x6 for display 0x003f003d
    8/20/14 1:32:22.431 PM  WindowServer[654]   Display 0x04280480: GL mask 0x1; bounds (0, 0)[1920 x 1080], 30 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model a012, S/N 0, Unit 0, Rotation 0
    UUID 0x000006100000a0120000000004280480
    8/20/14 1:32:22.431 PM  WindowServer[654]   Display 0x003f003e: GL mask 0x4; bounds (2944, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003e
    8/20/14 1:32:22.431 PM  WindowServer[654]   Display 0x003f003d: GL mask 0x2; bounds (2945, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003d
    8/20/14 1:32:22.431 PM  WindowServer[654]   CGXPerformInitialDisplayConfiguration
    8/20/14 1:32:22.431 PM  WindowServer[654]     Display 0x04280480: MappedDisplay Unit 0; Vendor 0x610 Model 0xa012 S/N 0 Dimensions 18.70 x 10.51; online enabled built-in, Bounds (0,0)[1920 x 1080], Rotation 0, Resolution 1
    8/20/14 1:32:22.431 PM  WindowServer[654]     Display 0x003f003e: MappedDisplay Unit 2; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2944,0)[1 x 1], Rotation 0, Resolution 1
    8/20/14 1:32:22.431 PM  WindowServer[654]     Display 0x003f003d: MappedDisplay Unit 1; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2945,0)[1 x 1], Rotation 0, Resolution 1
    8/20/14 1:32:22.522 PM  WindowServer[654]   GLCompositor: GL renderer id 0x01022647, GL mask 0x00000007, accelerator 0x00003fab, unit 0, caps QEX|QGL|MIPMAP, vram 512 MB
    8/20/14 1:32:22.527 PM  WindowServer[654]   GLCompositor: GL renderer id 0x01022647, GL mask 0x00000007, texture units 8, texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
    8/20/14 1:32:22.530 PM  loginwindow[653]    **DMPROXY** Found `/System/Library/CoreServices/DMProxy'.
    8/20/14 1:32:22.557 PM  WindowServer[654]   Created shield window 0x7 for display 0x04280480
    8/20/14 1:32:22.557 PM  WindowServer[654]   Display 0x04280480: MappedDisplay Unit 0; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000)
    8/20/14 1:32:22.609 PM  launchctl[657]  com.apple.findmymacmessenger: Already loaded
    8/20/14 1:32:22.613 PM  hidd[49]    CGSShutdownServerConnections: Detaching application from window server
    8/20/14 1:32:22.613 PM  hidd[49]    CGSDisplayServerShutdown: Detaching display subsystem from window server
    8/20/14 1:32:22.621 PM  com.apple.SecurityServer[15]    Session 100012 created
    8/20/14 1:32:22.622 PM  loginwindow[653]    Login Window Started Security Agent
    8/20/14 1:32:22.666 PM  com.apple.dock.extra[644]   Our bootstrap port disappeared out from under us: 0x1507 { urefs = 32774, rights = 0x1507: dead name }
    8/20/14 1:32:22.667 PM  com.apple.dock.extra[644]   Bug: 12F45: libxpc.dylib + 36100 [70BC645B-6952-3264-930C-C835010CCEF9]: 0x10000003
    8/20/14 1:32:22.681 PM  UserEventAgent[659] cannot find useragent 1102
    8/20/14 1:32:22.686 PM  com.apple.dock.extra[644]   Check-in to the service com.apple.imagent.desktop.auth failed. This is likely because you have either unloaded the job or the MachService has the ResetAtClose attribute specified in the launchd.plist. If present, this attribute should be removed.
    8/20/14 1:32:22.693 PM  SecurityAgent[665]  MacBuddy was run = 0
    8/20/14 1:32:22.695 PM  com.apple.dock.extra[644]   CGSGetNextEventRecord (Inline) connection 0xc917, 16384 bytes
    8/20/14 1:32:22.695 PM  com.apple.dock.extra[644]   CGSShutdownServerConnections: Detaching application from window server
    8/20/14 1:32:22.695 PM  com.apple.dock.extra[644]   CGSReleaseShmem : Cannot release shared memory
    8/20/14 1:32:22.695 PM  com.apple.dock.extra[644]   CGSDisplayServerShutdown: Detaching display subsystem from window server
    8/20/14 1:32:22.696 PM  com.apple.dock.extra[644]   Our bootstrap port disappeared out from under us: 0x1507 { urefs = 32774, rights = 0x1507: dead name }
    8/20/14 1:32:22.696 PM  com.apple.dock.extra[644]   Bug: 12F45: libxpc.dylib + 36100 [70BC645B-6952-3264-930C-C835010CCEF9]: 0x10000003
    8/20/14 1:32:22.696 PM  com.apple.dock.extra[644]   [Warning] Bad response from daemon for setup info
    8/20/14 1:32:22.704 PM  WindowServer[654]   MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x04280480 device: 0x106d8d110  isBackBuffered: 1 numComp: 3 numDisp: 3
    8/20/14 1:32:24.429 PM  WindowServer[654]   **DMPROXY** (2) Found /System/Library/CoreServices/DMProxy'.
    8/20/14 1:32:24.459 PM  WindowServer[654]   Display 0x04280480: MappedDisplay Unit 0; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000)
    8/20/14 1:32:24.500 PM  WindowServer[654]   Display 0x04280480: MappedDisplay Unit 0; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000)
    8/20/14 1:32:24.695 PM  com.apple.dock.extra[644]   Our bootstrap port disappeared out from under us: 0x1507 { urefs = 32774, rights = 0x1507: dead name }
    8/20/14 1:32:24.696 PM  com.apple.dock.extra[644]   Bug: 12F45: libxpc.dylib + 36100 [70BC645B-6952-3264-930C-C835010CCEF9]: 0x10000003
    8/20/14 1:32:24.696 PM  com.apple.dock.extra[644]   [Warning] Bad response from daemon for setup info
    8/20/14 1:32:40.928 PM  com.apple.launchd[1]    (com.apple.dock.extra[644]) Exit timeout elapsed (20 seconds). Killing
    8/20/14 1:32:40.928 PM  coreservicesd[65]   SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=202
    8/20/14 1:33:35.215 PM  SecurityAgent[665]  User info context values set for jsuny
    8/20/14 1:33:35.297 PM  SecurityAgent[665]  Login Window login proceeding
    8/20/14 1:33:36.387 PM  loginwindow[653]    Login Window - Returned from Security Agent
    8/20/14 1:33:36.000 PM  kernel[0]   Sandbox: kcm(695) deny mach-lookup com.apple.networkd
    8/20/14 1:33:36.453 PM  loginwindow[653]    USER_PROCESS: 653 console
    8/20/14 1:33:37.052 PM  locationd[708]  NOTICE,Location icon should now be in state 0
    8/20/14 1:33:37.107 PM  UserEventAgent[700] cannot find fw daemon port 1102
    8/20/14 1:33:37.683 PM  xpcd[611]   MiniLauncher[711]: registration request failed: (0x12, 0xd) process failed sandbox check
    8/20/14 1:33:37.907 PM  WindowServer[654]   **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    8/20/14 1:33:38.011 PM  coreservicesd[65]   SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationReady to notificationID=237
    8/20/14 1:33:38.114 PM  WindowServer[654]   Display 0x04280480: MappedDisplay Unit 0; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000)
    8/20/14 1:33:38.395 PM  imagent[737]    [Warning] Setting up a new messages database.
    8/20/14 1:33:38.428 PM  NetworkBrowserAgent[747]    Starting NetworkBrowserAgent
    8/20/14 1:33:40.068 PM  com.apple.time[700] Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
    8/20/14 1:33:40.069 PM  com.apple.time[700] Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
    8/20/14 1:33:43.910 PM  netbiosd[89]    name servers down?
    8/20/14 1:33:56.635 PM  netbiosd[89]    notify name "self.mdns.disconnection" has been registered 20 times - this may be a leak
    8/20/14 1:33:56.639 PM  netbiosd[89]    notify name "self.mdns.disconnection" has been registered 40 times - this may be a leak
    8/20/14 1:34:49.927 PM  netbiosd[89]    name servers down?
    8/20/14 1:35:54.977 PM  netbiosd[89]    name servers down?
    USER LOG:
    8/20/14 1:31:03.956 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.gamed) Ignored this key: UserName
    8/20/14 1:31:03.956 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.gamed) Ignored this key: GroupName
    8/20/14 1:31:03.957 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    8/20/14 1:31:03.961 PM  loginwindow[44] Connection with distnoted server was invalidated
    8/20/14 1:31:04.013 PM  distnoted[549]  # distnote server agent  absolute time: 799.097924175   civil time: Wed Aug 20 13:31:04 2014   pid: 549 uid: 1467285364  root: no
    8/20/14 1:31:08.954 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.afpstat-qfa[588]) Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
    8/20/14 1:31:08.955 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.afpstat-qfa[588]) Job failed to exec(3) for weird reason: 2
    8/20/14 1:31:08.958 PM  com.apple.launchd.peruser.1467285364[536]   (com.google.keystone.user.agent[590]) Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
    8/20/14 1:31:08.958 PM  com.apple.launchd.peruser.1467285364[536]   (com.google.keystone.user.agent[590]) Job failed to exec(3) for weird reason: 2
    8/20/14 1:31:12.394 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.mrt.uiagent[578]) Exited with code: 255
    8/20/14 1:31:15.132 PM  SystemUIServer[557] Could not load menu extra NSBundle </System/Library/CoreServices/Menu Extras/User.menu> (loaded) for Class AppleUser
    8/20/14 1:32:20.642 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.quicklook[626]) Exited: Killed: 9
    8/20/14 1:32:20.647 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.mdworker.single.08000000-0000-0000-0000-000000000000[641]) Exited: Killed: 9
    8/20/14 1:32:20.647 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.mdworker.shared.04000000-0000-0000-0000-000000000000[635]) Exited: Killed: 9
    8/20/14 1:32:20.783 PM  Dock[556]   could not open iterator, -43, for directory <ECDirectory: 0x7fd8ac846970> {path=/Users/jsuny/Documents/} (directory changed)
    8/20/14 1:32:20.783 PM  Dock[556]   problem iterating directory, -43, for directory <ECDirectory: 0x7fd8ac846970> {path=/Users/jsuny/Documents/} (directory changed)
    8/20/14 1:32:22.310 PM  ARDAgent[574]   HIToolbox: received notification of WindowServer event port death.
    8/20/14 1:32:22.311 PM  ARDAgent[574]   port matched the WindowServer port created in BindCGSToRunLoop
    8/20/14 1:32:22.694 PM  com.apple.dock.extra[644]   HIToolbox: received notification of WindowServer event port death.
    8/20/14 1:32:22.694 PM  com.apple.dock.extra[644]   port matched the WindowServer port created in BindCGSToRunLoop
    8/20/14 1:33:36.504 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.gamed) Ignored this key: UserName
    8/20/14 1:33:36.504 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.gamed) Ignored this key: GroupName
    8/20/14 1:33:36.505 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    8/20/14 1:33:36.517 PM  loginwindow[653]    Connection with distnoted server was invalidated
    8/20/14 1:33:37.429 PM  MiniLauncher[711]   Skipping Setup Assistant for user 1467285364
    8/20/14 1:33:37.464 PM  transition[714] INFO: Not signed into MobileMe, nothing to do. Reason: 3
    8/20/14 1:33:37.506 PM  MiniLauncher[711]   INFO: MMAccountMgr_Private: finishedSetup called.
    8/20/14 1:33:38.180 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.afpstat-qfa[744]) Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
    8/20/14 1:33:38.180 PM  com.apple.launchd.peruser.1467285364[536]   (com.apple.afpstat-qfa[744]) Job failed to exec(3) for weird reason: 2
    8/20/14 1:33:38.489 PM  CalendarAgent[741]  Could not find Meta Data for persistent Store
    8/20/14 1:33:38.877 PM  fontd[716]  FontWorker failed to return directory info (IPC failure?) for file://localhost/Users/jsuny/Library/Fonts/
    8/20/14 1:34:48.723 PM  migCacheCleanup[719]    Cache cleanup: cleanup for user 1467285364 took 0.43 seconds
    8/20/14 1:37:15.114 PM  Dock[723]   no information back from LS about running process

    Check these out:
    http://images.apple.com/server/macosx/docs/UserManagementv10.5.mnl.pdf
    http://clc.its.psu.edu/Labs/Mac/Resources/blastimageconfig/
    
http://blog.macadmincorner.com/

  • Report based on the user profile

    Hi,
    i'm trying to create a report with Oracle Report6i based on the user profile.
    I created a form with many Lovs, so that i can choose the parameter to send to the report (using a java script).
    I also would like to send the user that's currently logged in, just in order to filter the output.
    How can i use the api wwctx_api.get_user in the java script ?
    Thanks.

    Hi,
    It is not possible to use the api directly in javascript. Maybe you pass it as a parameter to a javascript function.
    Thanks,
    Sharmila

  • How to update "Encrypt with UserKey" after Windows User Profile replacement?

    A problem with my User Profile required that the files be backed up, the profile deleted, a new profile created and my files restored. I have several SSIS projects built in Visual Studio 2012 that use "EncryptSensitiveWithUserKey". I assume the
    "UserKey" is based on the SID or GUID of my User Profile. Now when I open these projects I get the Warning:
    Warning 2 Warning loading SSISProject.dtproj: Warning: Failed to decrypt sensitive data in project with a user key. You may not be the user who encrypted this project, or you are not using the same machine that was used to save the project. If the sensitive data is a parameter value, the value may be required to run the package on the Integration Services server. SSISProject.dtproj 0 0
    Is there a way to reset the UserKey in an existing project to the key for my new Profile? Is the value derived and used for encryption stored in the .dtproj file? If so can I copy that value from a new SSIS project into the .dtproj file for my old projects?
    There has to be some way to "transfer ownership" of an SSIS project.
     

    There has to be some way to transfer "ownership" of SSIS projects between developers. Forget about my specific case of my profile being recreated. Let's say I built this SSIS project and was required to use Encrypt with UserKey. I leave
    the company. They ask another developer to make changes to the project. My old "ownership" of the project should be somehow transferable to the new developer. It shouldn't be tied to my ID (which no longer exists at the company) in perpetuity. Microsoft
    has to have some way to transfer "ownership" of SSIS Projects with "Encrypt with UserKey". It's such a common use case I can't believe they wouldn't provide for it.
    No, there is no way . This option is the default and it is actually the worst option precisely because it is useless in team development environment. Use
    EncryptSensitiveWithPassword option just like Arthur suggested and you should be fine.
    SSIS Tasks Components Scripts Services | http://www.cozyroc.com/

  • App-V 5.0 SP2 RDS Client with hotfix 2 breaks frequently on Windows 2012R2 with User Profile Disks enabled

    Hi All,
    I am at my wit's end trying to troubleshoot this, so any help would be greatly appreciated.
    We are having serious stability issues with App-V 5.0 SP2 RDS in our environment with User Profile Disks enabled.
    We have applied the latest hotfix but the issues persist.
    The main problems are:
    1. Periodically the client seems to become corrupted and all applications stop working for all users. All applications including the official Microsoft Office 2013 ones - not just our packages.
    The symptoms are the same as if I change the App-V Client Service account to run under a user account instead of SYSTEM, so it suggests a file access issue. The log files also hint at this, and one of there errors is similar to this:
    The virtual application 'C:\Users\rds.user9\AppData\Local\Microsoft\AppV\Client\Integration\A3EF9C01-C0E9-4AC5-B21F-DB9B1D2F700C\Root\Mindjet\MindManager 14\MindManager.exe' could not be started because the
    App-V Subsystem 'Virtual Filesystem' could not be initialized. {error: 0x6740090A-0x20003}
    Once this problem occurs the only way I have found to fix it is to either completely remove and reinstall the client, or (perhaps this is the big clue) rename the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\MAV\Configuration\Volumes , unpublish
    an application, then republish said application.
    I don't even think it matters which application gets published. The point seems to be that this 'Volumes' key gets rewritten.
    I am highly suspicious that our issues are caused by User Profile disks in our RDS environment, as when I disable them on our staging collection all of these issues seem to disappear.
    I have made sure all of the servers have permissions on the share (folder and share permissions). It doesn't seem to make a difference.
    2.  Some application fail completely with User Profile Disks enabled. If we switch the setting from "Store all settings and data on the user profile disk" to "Store Only the following folders" there seems to be some improvement,
    in that at least one application that fails on the other setting starts to work.
    3. We have already set that NTFS 8 dot 3 reg fix some time ago.
    SOS!
    We have gone live this week (not my call) and this is having disasterous consequences. :(
    Thanks in advance,
    John

    Hi,
    Thanks for your response.
    I did try this a while ago without success, although it may be worth revisiting with SP2 applied.
    I have left this client now.
    I left them a Powershell script that deletes HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\MAV\Configuration\Volumes
    and triggers an Unpublish/Publish of an application we have deployed to all of the servers.
    This seems to work, but a fix would be better than a workaround.
    Not really my problem now though - I did my best.
    Thanks,
    John

  • How do I prevent "The user profile service service failed the log on" error messages?

    I work for an organization with approximately 60 staff members across ~80 Windows 7 Professional PCs. Users log in with Active Directory accounts.
    Approximately once per month, a random user will get an error message while attempting to log into their machine that says "The user profile service service failed the log on."  The solution to resolve this issue is here: http://support.microsoft.com/kb/947215?ppud=4&wa=wsignin1.0.
    The problem is that I want to PREVENT this issue from happening, as it is incredibly inconvenient for the user. I had one staff member board a 5-hour plane trip expecting to do work, and once she got in the air she logged in and
    received the error message and was unable to use her computer for the trip. I've had others locked out of their computer with deadlines to get things done, while I am at home off the clock. Editing the registry is not an easy fix, and so it's not something
    I can just post instructions for in a knowledgebase article.
    Does anyone know how to prevent this issue from occurring? I believe that it has something to do with a network-based startup script, or a service trying to connect to our file server, or the computer trying to connect to our ad server. All of these
    are blocked by firewalls (unless the user is off-site), and I suspect that the services may be timing out, causing the user profile service service failed the logon error message, but I can't seem to eliminate it, after nearly a year of trying.
    90% of the time this problem occurs when the user is off-site, but it has happened while the user is in the office too. Once the user gets this error message, the only way to resolve the problem is to log into their computer as a localadministrator account
    and perform the method #1 fix in the knowledgebase article.
    Thanks

    Have you checked the logged files in event viewer around the time when problem occurred?
    Is there any suspicious events like error or warning related to this issue.
    Try run Active Directory Best Practice Analyzer:
    http://technet.microsoft.com/en-us/library/dd759260.aspx

  • Error creating a new user profile service application: The specified database is not a valid synchronization database

    When trying to create a new user profile service application on a new SharePoint install I get the following error:
    "The specified database is not a valid synchronization database"
    The installation then fails and does not create the third database. 
    I found some threads with similar problems but it involved upgrading an existing db.  In this case we want to create a new one.  Here is the relevant ULS log info:
    Starting schema provisioning of SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Provisioning the SP15_TEST_ENT_SyncDB database with the script at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\SQL\SPS\drop_procs.sql.
    Provisioning the SP15_TEST_ENT_SyncDB database with a script stream.
    Ensuring that the SP15_TEST_ENT_SyncDB database exists . . .
    The SP15_TEST_ENT_SyncDB database does not exist. 
    It will now be created.
    Setting the AutoClose option to False on the database SP15_TEST_ENT_SyncDB.
    Setting the ArithAbort option to True on the database SP15_TEST_ENT_SyncDB.
    Setting the TruncLogOnChkpt option to True on the database SP15_TEST_ENT_SyncDB.
    Starting schema evaluation of existing SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Validate Database: validating sync database
    Validate Database: validation failed: Error code -2
    Application error when access /_admin/NewProfileServiceApplicationSettings.aspx, Error=The specified database is not a valid synchronization database 
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Microsoft.SharePoint.Administration.SPDatabaseException: The specified database is not a valid synchronization database  
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.Administration.SPDatabaseException:
    The specified database is not a valid synchronization database   
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.HandleError(Exception e)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest()   
     at System.Web.UI.Page.ProcessRequest(HttpContext context)   
     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    I Tried to create another one under a different name (databases also) and I get the same error. 
    The SharePoint instance has the march mandatory update installed.  The sql instance we are using is an existing SQL cluster for other SharePoint poc's. 
    Has anybody seen this issue before? 

    I had the same problem and could not figure out what was wrong for the longest time.  I then had the idea to check in the model system database to see if there were any extra custom tables in that database.  Any tables that are in the model database
    are put into any new database when it is created.  I had some custom tables in the model database so I deleted the custom tables in the model database and deleted the failed user profile service application and its databases and then tried to recreate
    the user profile service application again and it worked with no errors

Maybe you are looking for