Chmod for hd with terminal - right command?

I changed the permission  for the hd for "other" from "r" to "-" (no permission) in the finder. After that the system does not start up. I think with terminal on the install cd I could solve this problem, but I do not know the right command.
(The partion on the hd is "PM-MacBook")
Thanks for help!
petmalg

yes i did. it is in the applications folder. however, the default path when i open a shell won’t get me there and i don’t know how to change it. it should be /don’t forget to smash the state [my computer’s name]/macintosh hd/applications/browsers/firefox.app [or something to that effect].
also, when i drag profilemanager .app into terminal shell i get
r-c-wolins-computer:~ rcwolin$ /Applications/ProfileManager.app
-bash: /Applications/ProfileManager.app: is a directory
does this mean that profilemanager.app is a directory? if it is, how do i access it?
further, if /Firefox.app/Contents/MacOS/firefox-bin -profilemanager is supposed to be where the command indicates, it isn’t. how do i get it there?
thanks for your help. you bailed me out before when i was perplexed about .sqlite files. i appreciate it.

Similar Messages

  • Install for users with limited rights.

    Is there a way to install Flash player so users with limited rights can perform updates?  I don't want to touch hundreds of machines each time a minor upgrade is released.  Security policies dictate that users cannot have local admin rights.

    Hi, not that I have heard of. If you can't update, then most likely you are under Group Policy and the IT Department would be in charge of that.
    If it is possible, then someone else would need to reply to you.
    Thanks,
    eidnolb

  • Can't open profile manager for mac with terminal command

    i have tried to open profile manager version 0.3.0 11/4/11 3:31 PM
    with every command that an extensive search has revealed. each attempt yields a "no such file or directory response"; e.g.,Last login: Tue Nov 29 00:26:23 on ttys000
    Welcome to Darwin!
    r-c-wolins-computer:~ rcwolin$ /Functions/firefox.app/Contents/MacOS/firefox -profilemanager
    -bash: /Functions/firefox.app/Contents/MacOS/firefox: No such file or directory
    r-c-wolins-computer:~ rcwolin$. i'm using a macbook 3,1 with os 10.6.8 and ff 4.0.1. what am i doing wrong and how can i rectify it?
    thanks for your help. this is making me crazy.

    yes i did. it is in the applications folder. however, the default path when i open a shell won’t get me there and i don’t know how to change it. it should be /don’t forget to smash the state [my computer’s name]/macintosh hd/applications/browsers/firefox.app [or something to that effect].
    also, when i drag profilemanager .app into terminal shell i get
    r-c-wolins-computer:~ rcwolin$ /Applications/ProfileManager.app
    -bash: /Applications/ProfileManager.app: is a directory
    does this mean that profilemanager.app is a directory? if it is, how do i access it?
    further, if /Firefox.app/Contents/MacOS/firefox-bin -profilemanager is supposed to be where the command indicates, it isn’t. how do i get it there?
    thanks for your help. you bailed me out before when i was perplexed about .sqlite files. i appreciate it.

  • Access Denied for User with Contribute Rights to a SP list

    I have two users that I have given Contribute Rights on a SharePoint 2010 site - the SP list in question is inheriting permissions from the Parent site, as well as other lists in the site. These two users can edit items in the all other lists on the
    site except for this one in question.
    It is only one list that they cannot view or edit list items. They can view the items in the list, but when they try to open an item in display or edit form, it gives the access denied.
    Other users on the site are NOT having these issues - with the same permissions.
    I researched this problem and have tried various solutions with no luck. I have checked to see that there are NO item level permissions set up; I have deleted the user from the site collection, then added them back, with no luck.
    I am at a loss on what to do.
    Please help

    Timestamp               Process                                
     TID    Area                           Category                     
     EventID Level      Message  Correlation
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg4 Verbose  Groups for process identity 'DOMAIN\spadmin': 'DOMAIN\Domain Users', 'Everyone', 'SHAREPOINT\WSS_ADMIN_WPG', 'SHAREPOINT\WSS_RESTRICTED_WPG_V4', 'SHAREPOINT\WSS_WPG', 'BUILTIN\IIS_IUSRS', 'BUILTIN\Performance Monitor Users', 'BUILTIN\Users',
    'BUILTIN\Administrators', 'NT AUTHORITY\SERVICE', 'CONSOLE LOGON', 'NT AUTHORITY\Authenticated Users', 'NT AUTHORITY\This Organization', 'NT SERVICE\SPTimerV4', 'LOCAL', 'DOMAIN\Group Policy Creator Owners', 'DOMAIN\Department_Schedules_ReadWrite', 'DOMAIN\Sage50_ReadWrite',
    'DOMAIN\GrainCleaners_ReadWrite', 'DOMAIN\Domain Admins', 'DOMAIN\IT Department', 'DOMAIN\RDP_Users', 'DOMAIN\Engineering_ReadWrite', 'DOMAIN\Inventory_ReadWrite', 'DOMAIN\Schema Admins', 'DOMAIN\FabTrol', 'DOMAIN\Enterprise Admins', 'DOMAIN\Software', 'DOMAIN\Denied
    RODC Password Replication Group',  17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg1 High     Group WSS_WPG... 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\spadmin 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: NT AUTHORITY\LOCAL SERVICE 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\spservice 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\SearchSvc 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\spContent 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\WebAnalProcessSvc 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\svcAppPoolSecure 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: NT AUTHORITY\SYSTEM 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg1 High     Group WSS_ADMIN_WPG... 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_ADMIN_WPG: BUILTIN\Administrators 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_ADMIN_WPG: DOMAIN\spadmin 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_ADMIN_WPG: DOMAIN\rawtecadmin 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:50:15.56  w3wp.exe (0x0098)                        0x19B8 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:https://portal.emw.ca:443/ehs/Lists/InvestigationReports/DispForm.aspx?ID=40&Source=https%3A%2F%2Fportal%2Eemw%2Eca%2Fehs%2FLists%2FInvestigationReports%2FMyInvestigations%2Easpx&ContentTypeId=0x0100E352DB580E29424FB1C52A1D93E09345&IsDlg=1)).
    Execution Time=115.2334 0c90a46f-e4ea-46b5-a566-e7a9f404c0aa
    03/11/2014 10:50:15.66  w3wp.exe (0x0098)                        0x16CC SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:https://portal.emw.ca:443/ehs/_layouts/AccessDenied.aspx?Source=https%3A%2F%2Fportal%2Eemw%2Eca%2Fehs%2FLists%2FInvestigationReports%2FDispForm%2Easpx%3FID%3D40%26Source%3Dhttps%253A%252F%252Fportal%252Eemw%252Eca%252Fehs%252FLists%252FInvestigationReports%252FMyInvestigations%252Easpx%26ContentTypeId%3D0x0100E352DB580E29424FB1C52A1D93E09345%26IsDlg%3D1&Type=list&name=%7BD3F44F01%2DC738%2D409A%2DA491%2DDD0F905CC83B%7D&IsDlg=1)) 
    03/11/2014 10:50:15.66  w3wp.exe (0x0098)                        0x16CC SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:https://portal.emw.ca:443/ehs/_layouts/AccessDenied.aspx?Source=https%3A%2F%2Fportal%2Eemw%2Eca%2Fehs%2FLists%2FInvestigationReports%2FDispForm%2Easpx%3FID%3D40%26Source%3Dhttps%253A%252F%252Fportal%252Eemw%252Eca%252Fehs%252FLists%252FInvestigationReports%252FMyInvestigations%252Easpx%26ContentTypeId%3D0x0100E352DB580E29424FB1C52A1D93E09345%26IsDlg%3D1&Type=list&name=%7BD3F44F01%2DC738%2D409A%2DA491%2DDD0F905CC83B%7D&IsDlg=1) 9446cae0-8ef5-4ffa-aad8-798d3139a2e7

  • Looking for phone with the right PIM functionality

    Hello, newbie here.
    I'm looking for a phone that can synchronise with Outlook 2003.
    Specifically I want to keep the notes I add to a meeting in Outlook. These often include an agenda which I need to run the meeting, or a number for a conferencing facility.
    Also, I want to be able to link a meeting with a contact (or contacts) in the contact database so that I can call them easily if for instance I am (or they are) late.
    I am underwhelmed by the E61, which I thought would be the most advanced business phone around. Anyone can recommend another model?

    @HiveBrain: Did you ever find anyone to take you up on your offer? I am creating an iPhone app that has similar requirements, but I am trying to tackle it on my own. (quite unsuccessfully so far, I might add)
    @Gautam: I see you mentioned frequency shifting with SpeakHere example. Would you say it is possible to do pitch/time shifting (change pitch without affecting duration and/or change time without affecting the pitch) with AudioQueues? There is very little to no information available on how to accomplish this and from what I've read, every one seems to recommend using RemoteIO (what AurioTouch uses) for any pitch/time shifting, even though the pitch/time audio unit doesn't exist on the iPhone. I don't need the effect to happen in real time, ie.mic->time shift->speaker. I will only be applying the effect from data in a recorded .caf file. So I'm not so concerned with latency. Thank you for any information you can provide!

  • File sharing only works for users with Admin rights

    Hi.
    I am trying to set up file sharing in Lion Server but am having problems getting all my users access to shared folders. So far, only users that are "allowed to administer this server" are seeing shared files, even though they seem to have "read/write" permissions.
    Can anybody tell me what I might be missing?
    Is being allowed to "administer" the server different than truly being an Admin?
    I want to allow users to read and write files, but not change any server settings.
    Any suggestions would be appreciated.
    Thanks!

    What permissions are you setting on the share?  My guess is you are only using user, group, and other (POSIX).  You need to add an ACL to the list and then set read/write or full control.

  • OES linux "rights" command, [Public] user and Windows woes

    Hey all,
    I've been trying to figure out a solution for this, and although I thought I figured it out, it ends up I can't seem to figure it out. Hear me out.
    We run an automated ZCM imaging system, and part of that is the ability to have any user authenticate on successful image using the Novell client. Once this is done, the first login should start installing a series of bundles/applications.
    As MS Office 2010 is a rather large install, I keep the files/folders stored on a NSS volume, aptly named:
    //oesserver/media/nss/APPS/MICROSOFT/MS Office 2010 SP2 - Admin Install
    I would like ALL users to have access to this directory but since we run on a weird container layout, and our licensing permits for a rather large number of installs, I wanted to give the [Public] user read+filescan rights to each server's /media/nss/APPS/MICROSOFT/MS Office 2010 SP2/ directory, so regardless of where you are mapping with any user, that user would then have access to said folder.
    If I use either the iManager plugin or directly using the Novell client method of applying [Public] as a trustee, it works, and the client can see the folder.
    I have over 30 servers that each have the identical path, so in my sleuthing I found the OES command to perform: rights
    So I performed the following command:
    rights -f "/media/nss/APPS/MICROSOFT/MS Office 2010 SP2 - Admin Install" -r rf trustee [Public]
    If I then show the results, there are successful:
    rights show
    The problem, however, is that within Windows, from any login, when I right-click the folder and check the trustees, I do not see that user in the list, and in return, that user has no access to the directory.
    If I then run my command to remove the rights from the OES server:
    rights -f /media/nss/APPS/MICROSOFT/MS\ Office\ 2010\ SP2\ -\ Admin\ Install/ -r none delete [Public]
    And then run a "rights show" again, the Public user is removed correctly.
    What I can't seem to figure out is why the command will allow me to set trustee rights to [Public], that "rights show" will validate that the rights are currently assigned, but from a Windows perspective I have no access to that directory.
    I have done a "rights show" on the drive when assigning the rights from the Novell client and/or iManager, and there is NO difference in how "rights show" see the [Public] user listed.
    Has anyone else ever seen this?
    If I specify a user in my tree, it works correctly on both ends.
    rights -f "/media/nss/APPS/MICROSOFT/MS Office 2010 SP2 - Admin Install" -r rf trustee username.ou.o.tree_name
    rights show will then show me the appropriate trustee, and the user can see the path in Windows.
    This restriction seems limited to the [Public] user, but I have no idea how to do this properly.
    I'd like to avoid doing it by hand, because I want the ability to script all my changes and remotely and efficiently.
    Any advice?
    Thanks!

    On 16/06/2014 18:34, Uwe Buckesfeld wrote:
    > I recall a problem with the rights command on Linux, not sure if it has been fixed. Is your server fully patched?
    Are you thinking of TID 7014932? That's an issue with OES11 SP2 which is
    fixed by installing the April 2014 OES11SP2 Hot Patch for NCL.
    HTH.
    [1] https://www.novell.com/support/kb/doc.php?id=7014932
    Simon
    Novell Knowledge Partner
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.

  • Right Command key shortcut is behaving badly

    This is only happening with the right command key. Press the key and the whole desktop shrinks and reverts to black. At the same time if an app window is open - that window shrinks. This may have started when trying to make Mission Control act like spaces. I want to Command Click right or left arrow to make the desktop change to another open app. Just like spaces used to work. I have gone through all options in Mission Control and Keyboard shortcuts. Nothing corrects my apparant error in assigning shortcuts. I have tried resetting every keyboard setting to default with no luck.Have run out of ideas and airspeed.

    Found it. Amazing how things come together when you click on the Qustions Mark at lower right in System preferences. It is all there in help. I deleted all custom keys, started over. All is well. Love Lion and Mission Control

  • "Specific" command for memtest in terminal????

    What is the "specific" command for memtest in terminal????
    I've downloaded the 4.22 version of memtest installed okay and I can't get it to run.
    I have a G4 MDD.  Os is Tiger 10.4.11  I've run applejack countless times, Onyx as well, have corrected permissions and run disc repair as well
    and I still have slowed up beachball frozen processing!!! across all my hard drives.  Windows stall all my other open programs with a beachball then 14 seconds later it lets it allgo and the window opens.  Every time after start-up.  Any new window or program I open does same.  After it's been initially clicked on, most windows open normal speed.   This is excruciating.  I've had this machine optimized professionally, and it was good for couple of weeks then it started slowing down processing again. 
    I thought to check the ram, but cannot run the memtest program!
    What is the command sequence font per font and spaces to use in terminal?
    Or how do I check if it's even recognized by my machine?  I have used rember which came back okay, but, I know that it can't test the ram currently in use.
    I've downloaded and checked memtest when installing applejack and also dwnloaded it seperately, but no go.
    I would welcome advice and direction. 
    Thank you
    E

    My Machine:
    G4 Mirror, 1,25 GHz , 2 GB (max ram) 10.4.11
    Graphcs Crd- ATI Radeon 9000 Pro, VRAM 64MB
    I have 3 internals HD's
    Reason I want to check is my system is not only slow, but, freezes at random times.  For example typing into test edit, while Firefox is open with one window. Or, I open a window in Finder and it takes 15 seconds for the request to complete, meantime all other applications freeze in those 15 seconds.  Nothing works and I have 2 GB ram! 
    When problem started, I had a pro optimize the system - Checked all 3 HDs. found no bad sectors on any of them.
    I have booted into 2 different drives and have the same problem:  Beachball appears often. When opening windows in Finder, it hangs for about 10 -15 seconds. Sometimes it just stays rolling until I force shut it down.  Every session it happens at some point. I don't need to shut it down every time, but, it is slow, as if a huge program is running in the background.  BUT, I only have the browser open.  It scrolls with a stutter often or beachball shows up when opening a new tab that is loading a page.
    For the Primary Drive which is 300GB capacity:
    Disk Usage - Space utilized - 141.54 GB
            Space Free- 137.79GB
    The Other Drive I boot into:
    250GB capacity,
    Space Utilized - 166.31MB
    Space free 66.56GB
    I'vee dumped these pref panes in Safe Boot - 
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist
    /Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
    /Users/YourUserName/Library/Preferences/com.apple.desktop.plist
    /Users/YourUserName/Library/Preferences/com.apple.recentitems.plist
    It ran okay for a day, then it went right back to the same issue of slow-down and freezes.  This happens even when there is no browser or when I use Safari.
    I'm deeply frustrated, as I can't work profficiently on this machine right now, and it's the only one I have. 
    The memtest app is on my desktop...so is this the correct script?   /desktop/memtest/memtest all 3 -L
    I have super duper and I love it.  Will get Disk Warrior.
    I will have console and activity monitor open at all times,  
    Only reason I think it's possible bad ram is because the freezes are happening on my other drive as well.  I get slow window beachballs when I boot into it! 

  • How can you run a command with elevated rights on a remote server with invoke-command ?

    I am trying to run a script on a remote server with invoke-command.  The script is starting and is running fine, but the problem is that it should be running with elevated rights on the remote server.  On the server where I start the invoke-command, my account has the necessary rights.
    The server were I launch the invoke-command is a W2K8 R2.  The remote box is a W2K3 with powershell v2.0 installed.
    When I launch the script on the remote-box from the command line, I don't get the access denied's.
    Is there a way to do this ?
    Thanks in advance

    The script that I want to run is to install the windows updates.  I get an access denied on the download of the updates.
    When I execute the script on an W2K8 box, (not remotely) and I run it with non-elevated rights, I get the same error.
    The script is running fine when it is launched on W2K3 box locally with a domain account that has local admin rights, or on a W2K8 R2 server with a domain account that has local admin rights, but with elevated rights.
    Thanks in advance for your help.
    #=== start script ====
    param($installOption="TESTINSTALL",$rebootOption="NOREBOOT")
    Function Show-Help
    Write-Host ""
    Write-Host "SCRIPT: $scriptName <installOption> <RebootOption>"
    Write-Host ""
    Write-Host "DESCRIPTION: Installatie van WSUS updates op de lokale server"
    Write-Host ""
    Write-Host "PARAMETERS"
    Write-Host " -installOption <[INSTALL|TESTINSTALL]>"
    Write-Host " -rebootOption <[REBOOT|NOREBOOT|REBOOT_IF_UPDATED]>"
    Write-Host ""
    Write-Host "EXAMPLE:"
    Write-Host "$ScriptName -installOption INSTALL -rebootOption REBOOT_IF_UPDATED"
    Write-Host "$ScriptNAme INSTALL NOREBOOT"
    Write-Host ""
    Write-Host "Indien beide parameter weggelaten worden zijn de defaultwaarden :"
    Write-Host " installOption=TESTINSTALL "
    Write-Host " RebootOption=NOREBOOT"
    Write-Host ""
    Exit
    #Include alle globale variablen
    $CEIF_WIN_PATH = (get-content env:CEIF_WIN_PATH)
    $includeFile=$CEIF_WIN_PATH + "\Scripts\include_win.ps1"
    . $includeFile
    #initialiseer error count
    $errcnt=0
    $scriptName=$MyInvocation.MyCommand.Name
    #argumenten controleren
    $arrInstallOption= "TESTINSTALL", "INSTALL" # Mandatory variable with predefined values
    If (!($arrInstallOption –contains $installOption)){ Show-Help }
    $arrRebootOption = "REBOOT", "NOREBOOT","REBOOT_IF_UPDATED" # Mandatory variable with predefined values
    If (!($arrRebootOption –contains $rebootOption)){ Show-Help }
    #Logfile opbouwen
    $logfile = get-logfileName($MyInvocation.MyCommand.Name)
    Log-scriptStart $MyInvocation.MyCommand.Name $logfile
    function Get-WIAStatusValue($value)
    switch -exact ($value)
    0 {"NotStarted"}
    1 {"InProgress"}
    2 {"Succeeded"}
    3 {"SucceededWithErrors"}
    4 {"Failed"}
    5 {"Aborted"}
    function boot-server()
    if ($installOption -eq "TESTINSTALL")
    logger "TESTINSTALL : - Reboot local Server" $logfile
    else
    logger " - Reboot local Server" $logfile
    $thisServer = gwmi win32_operatingsystem
    $thisServer.psbase.Scope.Options.EnablePrivileges = $true
    $thisServer.Reboot()
    $logmsg="Install option = " + $installOption + ", RebootOption = $rebootOption"
    logger "$logmsg" $logfile
    logger "" $logfile
    logger " - Creating WU COM object" $logfile
    $UpdateSession = New-Object -ComObject Microsoft.Update.Session
    $UpdateSearcher = $UpdateSession.CreateUpdateSearcher()
    logger " - Searching for Updates" $logfile
    $SearchResult = $UpdateSearcher.Search("IsAssigned=1 and IsHidden=0 and IsInstalled=0")
    logger " - Found [$($SearchResult.Updates.count)] Updates to Download and install" $logfile
    $Updates=$($SearchResult.Updates.count)
    logger "" $logfile
    foreach($Update in $SearchResult.Updates)
    if ($Update.EulaAccepted -eq 0)
    $Update.AcceptEula()
    # Add Update to Collection
    $UpdatesCollection = New-Object -ComObject Microsoft.Update.UpdateColl
    $UpdatesCollection.Add($Update) | out-null
    if ($installOption -eq "TESTINSTALL")
    else
    # Download
    logger " + Downloading Update $($Update.Title)" $logfile
    $UpdatesDownloader = $UpdateSession.CreateUpdateDownloader()
    $UpdatesDownloader.Updates = $UpdatesCollection
    $DownloadResult = $UpdatesDownloader.Download()
    $Message = " - Download {0}" -f (Get-WIAStatusValue $DownloadResult.ResultCode)
    if ($DownloadResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    # Install
    logger " - Installing Update" $logfile
    $UpdatesInstaller = $UpdateSession.CreateUpdateInstaller()
    $UpdatesInstaller.Updates = $UpdatesCollection
    $InstallResult = $UpdatesInstaller.Install()
    $Message = " - Install {0}" -f (Get-WIAStatusValue $InstallResult.ResultCode)
    if ($InstallResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    logger "" $logfile
    #Indien er een fout gebeurde tijdens download/installatie -> stuur mail naar windowsteam
    if ( $errcnt -gt 0 )
    logger " - Fout tijdens de uitvoering van script -> send mail" $logfile
    $mailSubject=$MyInvocation.MyCommand.Name
    $msg = new-object Net.Mail.MailMessage
    $att = new-object Net.Mail.Attachment($logfile)
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $msg.From = $mailFrom
    $msg.To.Add($mailTo)
    $msg.Subject = $mailSubject
    $msg.Body = “Meer details in attachement”
    $msg.Attachments.Add($att)
    $smtp.Send($msg)
    #Moet de server herstart worden ?
    if ($rebootOption -eq "REBOOT_IF_UPDATED" )
    if ($Updates -gt 0)
    #Reboot the server when updates are installed
    boot-server
    elseif ($rebootOption -eq "REBOOT")
    #reboot the server always
    boot-server
    else
    #Do not reboot the server
    logger "Do not reboot the server" $logfile
    Log-scriptEnd $MyInvocation.MyCommand.Name $logfile
    exit 0

  • Macbook pro w/ Mavericks - right command and right option functioning as shortcuts for mission control and show desktop

    Hello,
    All of a sudden my right command and right option keys are functioning as shortcuts for mission control and show desktop respectively. I haven't changed anything and can't seem to find any shortcut option in system preferences to change it. Control + up still works for mission control as default, and F11 is still show desktop. Left command and left option are working as normal.
    Any suggestions? I have a feeling theres some silly little thing I've missed...
    Thanks.
    B.

    Hello benja_d
    That is an interesting issue with the keyboard. To help isolate the issue, open up the Keyboard view to see if there are any keys being held down while you are typing to see if that is the issue. You will also will want to try this in another user on your computer to see if it something that is User specific or system wide. Let me know if you have figured out this part and I can help you further.
    One or more keys on the keyboard do not respond
    http://support.apple.com/kb/ts1381
    Regards,
    -Norm G.

  • Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same

    Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same and is there any pre stalled text editor on mac if yes then where and if no then which text editor to install and how to install gcc...please help me out thanks in advance !!!

    I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding.
    Why? If you are developing and writing code on a Mac why would you not use the tools Apple has given you? And Xcode, once you get use to it, is a very nice development environment that will make you life a whole lot easier.
    If you insist on using an editor and the terminal I would recommend  Emacs   but it has a long learning curve so  something like TextWrangler  will work too.
    As for the compiler if you have Xcode installed install the command line tools and you will be able to compile from the terminal.
    good luck

  • User with admin rights can't access files through the command prompt

    I have a strange situation where I have 2 users both setup exactly the same with admin rights on a 2003 (32 bit) server through an AD group membership, but one can do everything as expected but the other can't.
    The one that can't is trying to execute a program is a command prompt and keeps getting access denied or invalid directory when trying to cd into the folder.   I double and tripled check the permissions and they are correct, this person should have
    full admin.  In fact I did a effective permissions through explorer and it states full rights.  Along those lines this person can also access the folder in question through explorer just not a command prompt. 
    Has anyone seen this before ? and if so what can be done about it.
    Thanks

    Hi,
    Can the user execute the program through explorer? In Windows Server 2003, the Users group does not have Read and Execute permissions to the command processor (Cmd.exe). 
    You could refer to the article below to resolve the issue:
    "Access is denied" error message when you run a batch job on a Windows Server 2003-based computer
    http://support.microsoft.com/kb/867466
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    Actually, everyone missed one point, when a device is priced, the cost of icloud storage space for that device is also included in it that is why they are able to give you 5gb each for each user ID, in nutshell there is nothing free coming with apple device purchase, it is paid for.  What they are trying by giving only 5gb per user ID irrespective of the number of devices used is pure broadlight looting, they take money from you when you buy each device and give you nothing, This is a case of goods and services bought but not fully deliverd ie apple can be suied for discreminatory treatment towards it's users. I wonder why no one tried this yet in America where everyone sue everyone for petty things..... there is no one to take up this issue? . if tim got any love for the guys who shell out money for the devices his company makes, he should be implimenting this as priority before someone wake up from sleep and sue him.

  • I have an iPhone 4 on IOS5. I signed up for itunes match. After everything uploaded to the cloud, my songs are messed up. I'll select a song and the title will show with the right art work but a different song will start playing.  Anyone have a solution?

    I have an iPhone 4 on IOS5. I signed up for itunes match. After everything uploaded to the cloud, my songs are messed up. I'll select a song and the title will show with the right art work but a different song will start playing.  Some songs won't play at all even though they do appear in the itunes store. The artwork almost always shows u blank until you turn it to landscape then it will appear. Anyone know what's going on?

    I have found that scrolling through the album list (past albums without art) triggers the progress wheel next to the wifi symbol. You can scroll quickly through the whole collection and then wait! Artwork will appear gradually...
    However, repeat visits to the Music App might initially show no artwork again, but it might spontaneously appear more quickly this time. The bad news is that the whole Music App is now sluggish as ****...

Maybe you are looking for

  • Screen Sharing and finder

    Just bought an Apple Time Capsule a fortnight ago. Previously I was able to see local computers and conduct screen sharing through finder with no problems with my old wireless setup. Having problems do so now. I have reinstalled 10.5.6 on my main mac

  • How do I transfer pictures from messages on my iPhone to my photo library

    How do I transfer pictures from IM (messages) on my iPhone to my photo library?

  • Bad managed preferences that won't go away

    On one client machine, a deleted /Library/Managed Preferences/ folder keeps coming back, with incorrect user preferences, although: - I have unbound, rebound and unbound the machine from the server; - The machine is currently unbound; - I have repeat

  • Order of execution at start of dasylab wks (var/str)

    what is order of execution in Dasylab when you start a wks for: "read from .ini" , "enter at start of experiment" , action "at start of experiment". especially concerning values of vars/strings. Are any modules, including actions 'at start of experim

  • Golden gate monitoring script for struck processess

    Hi Folks, The requirement is to get an email if any of the golden gate process struck on particular RBA for long time, even there are many tails file to be replicated. The status of the process is running and there is no lag. Thanks, Anand T.