Jump to content

chrisjako

Members
  • Posts

    392
  • Joined

  • Last visited

Everything posted by chrisjako

  1. ESR you need a premium license so is out of the question - UE-V I have setup and in place following a guide seems to be working with settings being saved to my network share location per user. I don’t think they are applying though as I haven’t had time to properly test yet However, one particular teacher still complaining it’s not saving their bookmarks and taskbar layout - she’s literally in tears about it and claiming it’s causing her anxiety, everyone else doesn’t seem to bother it’s just this one teacher I’m trying to get it working for with the hope that all this time and effort spent will benefit others that are possibly being silent about it
  2. We made the change over to onedrive from home network shares last year and i completely removed any sort of profile path directory from AD entries An issue I am having is I cannot seem to get users settings to roam, such as quick access pins, bookmarks for chrome, recent files, frequent folders etc Can anyone offer some advice on how to get these settings to stick with the user when they roam?
  3. OPTION EXPLICIT DIM strComputer,strProcess strComputer = "." ' local computer strProcess = "onedrive.exe" ' Check if Onedrive is running on specified computer (. = local computer) IF isProcessRunning(strComputer,strProcess) THEN WScript.Quit ELSE Dim objShell Set objShell = WScript.CreateObject( "WScript.Shell" ) objShell.Exec("c:\Program Files (x86)\Microsoft OneDrive\OneDrive.exe") Set objShell = Nothing END IF ' Function to check if a process is running FUNCTION isProcessRunning(BYVAL strComputer,BYVAL strProcessName) DIM objWMIService, strWMIQuery strWMIQuery = "Select * from Win32_Process where name like '" & strProcessName & "'" SET objWMIService = GETOBJECT("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer & "\root\cimv2") IF objWMIService.ExecQuery(strWMIQuery).Count > 0 THEN isProcessRunning = TRUE ELSE isProcessRunning = FALSE END IF END FUNCTION You should be able to set this vbs as a scheduled task in a user based GPO without issue
  4. It's not new users on that PC for us which is causing the crash, that would be almost 90% of all login sessions since we delete local profiles after x amount of days I have converted it to a VBS now which runs invisible - also there is papercut added to the script since that sometimes does not load either I'll post the code tomorrow morning if you send me a PM to remind me
  5. Yes sorry i got it wrong thats what i paid for my 2 AAD p1 licences However paying that for 265 FTE just for ERS seems excessive for a feature which used to be free, despite it no longer being developed i've implemented UEV, today should be my last day of testing before i roll it out
  6. If anyone else is interested in a resolution for this i have setup a scheduled task which checks to see if onedrive is running, if not executes the onedrive program Its on GPO as a batch file scheduled task to run every 5 mins whilst this seems a bit extreme it at least only affects those who haven't had the program loaded for whatever reason @ECHO OFF SET MyProcess=onedrive.exe ECHO "%MyProcess%" TASKLIST | FINDSTR /I "%MyProcess%" IF ERRORLEVEL 1 (GOTO :A) ELSE (GOTO :B) :A start "" "C:\Program Files (x86)\Microsoft OneDrive\OneDrive.exe" :B Exit
  7. Ours are all in premise with azure ad connect Do you pay £4.72 per user per month? We have 2200 users in total so I’ll look into uev if that’s the cause
  8. My account has p1 license assigned I was assuming though, that like enabling licensing assignment to groups then all you need is one admin account with p1 to enable the function Regardless ESR doesn’t work for me either, it’s not registered in the console when I check : “ Under Show, select Devices syncing settings and app data to show sync status.”
  9. Has anyone actually got this working? We are fully fledged with onedrive and SSO, our clients are on windows 10 1903, my devices are Azure ADjoined everything looks normal for dsregcmd /status I've been following the troubleshooting guide, ESR is enabled for all users and devices in the azure portal, I personally had an Azure Active Directory Premium license however i'm wondering if its not working because as all my users need one too?
  10. Our configuration is to use home areas for onedrive, configuration is SSO and installed into the C:\Program Files (x86)\Microsoft Onedrive\ folder for all users I have a policy in place which start OneDrive.exe from this location on login For most part it works seamlessly with the exception of a few random computers which simply do not have the blue cloud icon in the taskbar however the user is still able to login and does not receive any sort of error whatsoever that OneDrive is not loaded. On these workstations where it fails to load initially, if you search for and open OneDrive from the start menu, the program loads up and auto signs in the user as you would normally expect it to. The problem this is causing is that users (students mainly) are not recognising that OneDrive has not started, they are then saving files to a local profile location which later gets deleted via our delprof script. Looking at event viewer on these workstations i can see the same event ID occuring: Has anyone else experienced this same issue? I am thinking of writing a scheduled task script to check if the process is running every 5 mins and if not to start OneDrive.exe however i would rather treat the cause or the problem and not the symptom
  11. Yeah i originally had it pointing to the OneDrive.exe file but was thinking this way i can control the updates being installed to out of hours, however this is probably wrong then if it auto updates itself
  12. Thanks, gpo set identical to your screen shot i changed the install script to IF EXIST "C:\Program Files (x86)\Microsoft OneDrive\19.192.0926.0012\OneDriveSetup.exe" GOTO end \\baeda.local\netlogon\OneDrive\OneDriveSetup.exe /allusers /silent :end All seems ok so far with test users, think i am ready to roll it out - thanks for all your help bud I really do appreciate it!
  13. Hi Thimon, How are you getting the local instance to start up? when i added the C:\Program Files (x86)\Microsoft OneDrive\OneDrive.exe to a user based logon script i get this error Also did you install onedrive as part of your image? i did the latest setup file up as computer based startup batch file with the /allusers /silent switch however it just seems to be re-installing the latest version with _1 in the local directory
  14. I can't ever remember installing onedrive manually and its not in the x86 folder - so i take it I just run the OneDriveSetup.exe /allusers /silent on a batch file startup script?
  15. I think we are using the one in C:\Users\USER\AppData\Local\Microsoft\OneDrive How can you tell which version is being used?
  16. We a set to use onedrive for home areas and have been for 4 months, all SSO and onedrive sync works perfect with the exception of around 10% of workstations simply do not start onedrive on login (it takes around 30 seconds for it to normally start then redirect folders to the appropriate c drive location). Has anyone else experienced this? we tried upgrading to win 10 1903 plus latest version of onedrive 19.174.0902.0013 The way i am having to get around it is to manually go to the start menu and open the onedrive app, this loads up the correct onedrive experience as expected
  17. Agreed, you shouldn't use a third party tool when you can use the sharepoint migration tool and gpo's to set it up without!
  18. I'm scrapping all hope of capita sorting this and about to pull the trigger with salamander SDS - spent the last few days cleaning up our AD ready for the extraction
  19. any update on this? Had the same issue, "untitled class" groups with no members which is on office365, then the same class name on SIMS ID without "untitled class" which has all the members however is not loaded onto office 365 Had a case open with capita since end of september, seem to be getting pie'd by them on both emails and calls
  20. I think this is due to the version of office you have installed the full version not the O365 click to run version which seamlessly signs them in
  21. We use onedrive files on demand, i reroute desktop to OD and have spotted for some users the icon images are missing for shortcuts on the desktop. for example MS Edge, IE and shortcuts to network share locations just have a blank white document for its icon, the link works still and it still have the name of the shortcut displayed correctly All i can find online is ondrive icons missing not the actual shortcut it refers too
  22. At the moment we just migrated home areas to onedrive - the process went pretty seamless i did it 3 weeks before we broke up for summer and had nothing but good feedback, only had to educate a few that your H drive home area is now the blue cloud icon, but since redirect for main folders works seamlessly no-one really knew the difference or saw any sort of downtime. After killing the GPO's for home areas i did one last sync with the migration tool, now i have archived the file server where the old home areas reside One thing i forgot to mention, before you do the above you will have to give admin rights to the default admin tenant for O365 on everyone's onedrive account so that you (as admin) can upload files to their accounts, use the same login for the sharepoint tool as you do for the script below Just change lines 22/23/25/26 to your o365 credentials ######## #ODFB Rights Administration #Copyright: Free to use, please leave this header intact #Author: Jos Lieben (OGD) #Company: OGD (http://www.ogd.nl) #Script help: http://www.lieben.nu #Purpose: Give an administrator rights on all Onedrive for Business accounts ######## #Requirements: ######## <# Powershell 4 .NET 4.5 Sharepoint Online Management Shell (X64) http://www.microsoft.com/en-us/download/details.aspx?id=35588 Sharepoint Server 2013 Client Components http://www.microsoft.com/en-us/download/details.aspx?id=35585 run “Set-Executionpolicy Unrestricted” in an elevated powershell window Windows 7+ or Windows Server 2008+ #> $o365login = "[email protected]" #Username of O365 Admin $o365pw = "PASSWORD" #Password of O365 Admin $logfile = ($env:APPDATA + "\ODFB_BP.log") #Logfile in case of errors $spAdminURL = "https://TENANT-admin.sharepoint.com" #URL to your SP Admin site $spMyURL = "https://TENANT-my.sharepoint.com" #URL to your SP MySites #Start script ac $logfile "-----$(Get-Date) ODFB_RA v0.1 $($env:COMPUTERNAME) Session log-----`n" #build Credential Object $secpasswd = ConvertTo-SecureString $o365pw -AsPlainText -Force $Credentials = New-Object System.Management.Automation.PSCredential ($o365login, $secpasswd) #Load sharepoint module try{ [system.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client") | Out-Null [system.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime") | Out-Null [system.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.UserProfiles") | Out-Null }catch{ $errorstring = "ERROR: Failed to load Sharepoint Libraries, exiting" ac $logfile $errorstring Write-Host $errorstring Pause Exit } #load SPOnline module $env:PSModulePath += ";C:\Program Files\SharePoint Online Management Shell\" try{ Import-Module Microsoft.Online.SharePoint.PowerShell }catch{ $errorstring = "ERROR: Failed to load Sharepoint Online module, exiting" ac $logfile $errorstring ac $logfile $error[0] Write-Host $errorstring Pause Exit } #Build sP credential object $creds = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($o365login,$secpasswd) #build proxy $proxyaddr = "$spAdminURL/_vti_bin/UserProfileService.asmx?wsdl" $UserProfileService= New-WebServiceProxy -Uri $proxyaddr -UseDefaultCredential False $UserProfileService.Credentials = $creds $strAuthCookie = $creds.GetAuthenticationCookie($spAdminURL) $uri = New-Object System.Uri($spAdminURL) $container = New-Object System.Net.CookieContainer $container.SetCookies($uri, $strAuthCookie) $UserProfileService.CookieContainer = $container try{ $UserProfileResult = $UserProfileService.GetUserProfileByIndex(-1) }catch{ $errorstring = "Critical error, unable to get profiles" ac $logfile $errorstring ac $logfile $error[0] Write-Host $errorstring $error[0] Pause Exit } $NumProfiles = $UserProfileService.GetUserProfileCount() $i = 1 $ProfileURLs = @() Write-Host "Begin discovery of $NumProfiles profiles" While ($UserProfileResult.NextValue -ne -1) { Write-Host "Checking profile $i of $NumProfiles" $Prop = $UserProfileResult.UserProfile | Where-Object { $_.Name -eq "PersonalSpace" } $Url= $Prop.Values[0].Value if ($Url) { Write-Host "Adding $Url to the list" $ProfileURLs += $Url } $UserProfileResult = $UserProfileService.GetUserProfileByIndex($UserProfileResult.NextValue) $i++ } Write-Host "Finished discovery of profiles" Write-Host "Connecting to Sharepoint Online" try{ Connect-SPOService -Url $spAdminURL -Credential $Credentials }catch{ $errorstring = "Critical error, unable to Connect to Sharepoint Online" ac $logfile $errorstring ac $logfile $error[0] Write-Host $errorstring $error[0] Pause Exit } Write-Host "Start processing profiles" foreach($profileURL in $ProfileURLs){ $fullPath = "$spMyURL$profileURL".TrimEnd("/") Write-Host "Processing $fullPath" try{ Set-SPOUser -Site $fullPath -LoginName $o365login -IsSiteCollectionAdmin $true Write-Host "$o365login permissions added to $fullPath" }catch{ $errorstring = "Failed adding $o365login permissions to $fullPath" ac $logfile $errorstring ac $logfile $error[0] Write-Host $errorstring $error[0] } } ac $logfile "Script finished" Write-Host "Job Finished" Pause Exit I'm now trying to get the other mapped network drives to file explorer, i've migrated them to sharepoint already again using "Teams" to create the online share and then sharepoint migration tool (took almost 2 weeks and 4TB) - just need to figure out how to get them showing in onedrive as i think the mapped network drive to sharepoint location is not the way forward
  23. Could you share your powershell script please? I'm trying this with GPO but its just not playing ball, not showing up in OneDrive - my MS support agent seems to have abandoned me on this matter too
  24. I was told by MS not to do this as we have over 1000 users and 5000 files, do you break this limit or are you under it?
  25. Assuming you have SSO configured with office365 then what you need to do is prepare a csv file and use sharepoint migration tool https://spmtreleasescus.blob.core.windows.net/install/default.htm Export your students/staff home paths and line them up with onedrive location in your CSV, this should be pretty easy if your on premises usernames follow the same naming convention with office365 if you export home areas from AD using powershell into a csv using just the homedirectory tab, clean up the CSV so that it looks just like this (just column A at this point): example csv: The excel text to columns and "&" command with fill down should help To get the path for column D i would make a copy of column A then use "text to columns" in excel for column A and separated using "" This should give you a columns with user1 user2 user3 etc - cut and paste this into column G Then for column D use the command : Then replace whatever in bold with your unique domain office365 name, copy and paste values for D column to remove the formula and delete column G Your CSV file is now ready for the migration tool Start the migration in the background, it make take weeks, don't worry if its not up to date, before pulling the trigger you are going to do another sync to update anything which has been changed during the sync, you could if you want continue to run UNC home area along with a copy of everything in onedrive until you are ready to kill the home area drive and redirections to it - just make sure users are aware, this process will not lose anyones files they will always remain archived on the file server from an updated workstation, import your onedrive GPO policies to your central GPO store Here is a copy of our GPO then when you are ready and users are offline change the GPO for folder redirection to local user profile additionally in AD I also have set Home folder location to : "C:\Users\%USERNAME%\OneDrive - Our College"
×
×
  • Create New...