-
Posts
1,359 -
Joined
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by mb2k01
-
Hi All, I've got a powershell script (below) which has been slightly adapted for our local needs. This works perfectly if we want to specify a handful of machines and have a technician go through to select profiles manually from GUI, but I am hoping that someone here might have the skills to transform this in to something more automated? Ideally I'd like to supply a list of machines (or even direct at an OU) and have all profiles other than administrator selected for deletion, then hit go and have it work its way through. Does anyone think they can do that? #GUI interface to delete user profiles from remote desktop session host server #v2 - added support to select multiple users at once # added increased error logging # #Setup script variables #add computers to computers variable to search for profiles on those computers [array] $Computers = "LIBRARY-04" $log = "z:\log.txt" $date = Get-Date #Reset variables $selecteduser = "" $profilelist = @() Function SetupForm { #Setup the form [void] [system.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") [void] [system.Reflection.Assembly]::LoadWithPartialName("System.Drawing") $objForm = New-Object System.Windows.Forms.Form $objForm.Text = "Select user(s)" $objForm.Size = New-Object System.Drawing.Size(300,320) $objForm.StartPosition = "CenterScreen" $btnDelete = New-Object System.Windows.Forms.Button $btnDelete.Location = New-Object System.Drawing.Size(120,240) $btnDelete.Size = New-Object System.Drawing.Size(75,23) $btnDelete.Text = "Delete Profile" $objForm.Controls.Add($btnDelete) #When a user clicks the delete button get the details of the logged in users and calls the DeleteProfile function $btnDelete.Add_Click({ #calls the delete profile function DeleteProfile } ) $CancelButton = New-Object System.Windows.Forms.Button $CancelButton.Location = New-Object System.Drawing.Size(200,240) $CancelButton.Size = New-Object System.Drawing.Size(75,23) $CancelButton.Text = "Cancel" $CancelButton.Add_Click({$objForm.Close()}) $objForm.Controls.Add($CancelButton) $objLabel = New-Object System.Windows.Forms.Label $objLabel.Location = New-Object System.Drawing.Size(10,20) $objLabel.Size = New-Object System.Drawing.Size(280,20) $objLabel.Text = "Please select user to delete profile:" $objForm.Controls.Add($objLabel) $objListBox = New-Object System.Windows.Forms.ListBox $objListBox.Location = New-Object System.Drawing.Size(10,40) $objListBox.Size = New-Object System.Drawing.Size(260,300) $objListBox.Height = 180 $objListBox.SelectionMode = "MultiExtended" #Run through each computer in the computers variable to compile a list of unique user accounts across all servers ForEach ($computer in $Computers) { #use WMI to find all users with a profile on the servers Try{ [array]$users = Get-WmiObject -ComputerName $computer Win32_UserProfile -filter "LocalPath Like 'C:\\Users\\%'" -ea stop } Catch { Write-Warning "$($error[0]) " Break } #compile the profile list and remove the path prefix leaving just the usernames $profilelist = $profilelist + $users.localpath -replace "C:\\users\\" #filter the user names to show only unique values left to prevent duplicates from profile existing on multiple computers $uniqueusers = $profilelist | Select-Object -Unique | Sort-Object } #adds the unique users to the combo box ForEach($user in $uniqueusers) { [void] $objListBox.Items.Add($user) } $objForm.Controls.Add($objListBox) $objForm.Topmost = $True $objForm.Add_Shown({$objForm.Activate()}) [void] $objForm.ShowDialog() } Function DeleteProfile { ForEach ($x in $objListBox.SelectedItems) { #Add the path prefix back to the selected user $selecteduser = $x $selectedUser = "C:\Users\$selecteduser" #This section reads through all the computers and deletes the profile from all the computers - it catches any errors. ForEach ($computer in $Computers) { Try { (Get-WmiObject -ComputerName $computer Win32_UserProfile | Where {$_.LocalPath -eq $selecteduser}).Delete() Write-Host -ForegroundColor Green "$selecteduser has been deleted from $computer" Add-Content $log "$date $selecteduser profile has been deleted from $computer" } Catch [system.Management.Automation.MethodInvocationException]{ Write-Host -ForegroundColor Red "ERROR: Profile is currently locked on $computer - please use log off user script first" Add-Content $log "$date $selecteduser Profile is currently locked on $computer - please use log off user script first" } Catch [system.Management.Automation.RuntimeException] { Write-Host -ForegroundColor Yellow -BackgroundColor Blue "INFO: $selecteduser Profile does not exist on $computer" Add-Content $log "$date INFO: $selecteduser Profile does not exist on $computer" } Catch { Write-Host -ForegroundColor Red "ERROR: an unknown error occoured. The error response was $error[0]" Add-Content $log "$date ERROR: an unknown error occoured. The error response was $error[0]" } } } #Add a label to say process is complete $objLabel1 = New-Object System.Windows.Forms.Label $objLabel1.Location = New-Object System.Drawing.Size(10,100) $objLabel1.Size = New-Object System.Drawing.Size(280,20) $objLabel1.Text = "Deletion complete, check log for more details." $objForm.Controls.Add($objLabel1) #Add a view log button to view the log file $LogButton = New-Object System.Windows.Forms.Button $LogButton.Location = New-Object System.Drawing.Size(50,150) $LogButton.Size = New-Object System.Drawing.Size(75,23) $LogButton.Text = "View Log" $LogButton.Add_Click({Invoke-Item $log}) $objForm.Controls.Add($LogButton) } #Check script was run as admin If (-NOT ([security.Principal.WindowsPrincipal] [security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([security.Principal.WindowsBuiltInRole] "Administrator")) { [system.Windows.Forms.MessageBox]::Show("It doesn't appear you have run this PowerShell session with administrative rights, the script may not function correctly. If no users are displayed please ensure you run the script again using administrive rights.") } #Start the form SetupForm
-
Printing guidelines \ responsibilties literature
mb2k01 replied to caffrey's topic in How do you do....it?
How do you charge / recharge printing? We used to have one central budget for all printing, which meant that largely no one cared. Now we've got a halfway house were we centralise student printing, but staff printing is recharged back to department budgets - which has made them much more aware (after a few bumps and having to get HODs involved in talking to their staff) -
You're right that there is no way within NS, but if you manage your Macs then you can send it out centrally via non-NS means, e.g. Munki
-
We used this for the file migration: OneDriveMapper | Liebensraum I think you're correct on WebDav and SharePoint being the issues rather than specifically CDM. I guess the point is that technically, in our case at least, we weren't able to use CDM as a method to access local > cloud migrated file servers as the background technologies CDM uses prevented us in doing it. (Though to be fair, this was an attempt to migrate existing shared areas without doing any kind of housekeeping on them) I'd be interested in trying out the new client when it is available, as this might allow users to migrate files themselves a bit more reliably?
-
Just to pick up on the thread title and claim of replacing file servers... We're actually a CDM customer, initially happy to just have the solution for mapping to users individual OneDrive accounts. However, we trialled file server migration over the summer and ran in to multiple issues which your solution wasn't able to support / problems relating to SharePoint limitations such are URL length and thresholds which couldn't be overcome. So, the reality for us was that despite having your solution we certainly couldn't migrate file servers up to OneDrive / SharePoint. I'd be interested to know if you think the above is correct or whether my guys queries with the support team might not have revealed enough info to make it work? For a bit more explanation see here: http://www.edugeek.net/forums/cloud-services/187304-file-server-office-365-sharepoint-azure.html
-
One thing that would be really useful to tweak in the new version would be the new safeguarding phrase review window. The new update gives a box for an explanation to be typed when marking something as a false alarm - which I like - but, if the box was to automatically open and allow you to type straight in to it (rather than having to click in the text field area first) that would save a lot of time? E.G. Currently I might have 100 false alarms. For each I need to click the false icon, then click the text field, then type, then click on. If I could just open the review window and click false, type / paste text without having to click in to the box and push enter it would save a lot of switching between keyboard and mouse!
-
Not sure if it will help, but as I commented above I thought I'd add a bit of an update. I've just done the DNA upgrade to 4.5 (my first NetSupport upgrade since leaving Impero) and have to admit was dreading it, having faced some form of issue with Impero after every upgrade in the last 1-2yrs! Glad to report that the upgrade went perfectly - quick, easy, no complications. Clients updated themselves automatically. New functionality which was promised all appear to work, and previous functionality all still works too. How refreshing!
-
Yep, I've just done the 4.5 upgrade too - flew through the process, nothing nasty or tricky, client consoles update themselves seamlessly - new features all work. What more can be said lol. A complete opposite end of the spectrum to the experiences suffered from using Impero previously!
-
I've actually been using this very tool to do the data migration I mentioned. The difference is that I'm looking to migrate large amount of shared data rather than just user data. The upload process goes fine via Lieben mapper but once the files are up there, we run in to the threshold and url issues related to SharePoint. The way we're doing user data is to use CDM to map an O: for users, which presents them with their personal OneDrive folder - and enables them to manage their own data migration from N: to O: What we wanted to do in addition to that was have a new shared drive mapped which would take them to a 'new' (aka migrated) shared drive - but they end up not seeing all the files that have been uploaded due to the restrictions.
-
I was in a similar boat - been a long-time Impero user who felt the need to change based on how they've gone (arguably since JV left and then started making Senso!) I'm not sure how much Senso has moved on since I last looked, but it looked to me that a few things were listed as being hopefully available in the future - i.e. didn't feel like a completely ready product for me at the time. I ended up going with NetSupport (DNA + School) which gave me everything Impero should have, all that Senso could do (albeit not cloud hosted, but same feature set) and a lot more. The DNA side of it is something I'm exceptionally pleased with. Might be worth a look if you haven't already? (Disclaimer: I don't work for them - just a reasonably new, very happy customer after looking around and evaluating others!)
-
Anyone? (I know I'm asking at a poor time - you're all either enjoying the sun or knee-deep in your own projects!)
-
Hi All, I tried to keep the title fairly vague, but essentially I'm hoping to get some advice from those who have gone through a local > cloud data migration so that we can avoid the pitfalls we're experiencing in our early testing. What I've got my team looking in to at the minute is a migration of traditional 'shared areas' on our local network up to SharePoint document libraries in Office 365. The set up at the minute is O365 Sharepoint Site > Document Library per subject area - with us then using a 3rd party util to upload local subject area folders up to their respective Document Libraries. We than have CDM in use which, with customised permissions on the Document Libraries, enables subject-specific staff to only be able to access their own folders. The issue we've run in to is around the 5000 threshold in SharePoint, as well as the URLs generated in SharePoint, resulting in CDM not showing the files/folders which have been uploaded. (I.E. We were hoping to migrate the shared areas in their current state - not particularly cleansed - but the result has been huge amounts of files (problem 1 - threshold) but also having huge amounts of sub folders within sub folders (resulting in the SharePoint URLs being too long) My question is - what have others done in this scenario? Is our approach of SharePoint Site > Document Libraries the correct one, or should we be looking at SharePoint Document Centre instead (does that remove some of the above limitations / issues?) - or - should we be looking to do something else entirely... maybe Azure file storage? Any comments / advice gratefully received!
-
I think I'm correct in saying you need go go through esriuk.com - but I've also heard that arcgis is now free for schools too (not confirmed this yet though!) Even last year it was very competitively priced I thought. Details and pricing of ArcGIS for Desktop and ArcGIS Online can be found: http://www.esriuk.com/industries/schools/buy-now The online version I'm fairly sure was about £100 per year (but as mentioned above, may be free now?) - more info here: https://sway.com/nKEtI-M9Al6MYl-L Cheers
-
Ours use the same Helpdesk product as our IT, Science, Media and Print Services - Kayako - and just have separate departments and email queues set up for each.
-
I think this will do the trick for your tills (*think* not tried yet!): http://www.catalog.update.microsoft.com/search.aspx?q=4012598
-
I haven't done this at my place yet, but was reading up on it. It looks like you can still do the install / upgrade without Docker - but its fairly clear they want everyone to switch. Instructions for non-docker installation or upgrade: Xibo Documentation
-
Slightly randomly I noticed I had this problem last night on my home PC too! I encountered the problem downloading the latest version from the Google site (v1.3.32.7) , but found that installing v1.3.31.5 worked without the error. I just happened to have that old version on my second drive at home so thought I'd give it a go!
-
I had this on my own PC last week. It may just have been a huge flukey stroke of luck, but I ended up being able to get in after opening using the OpenGL version instead?
-
Could be in for interesting times... PSF have been bought out. IRIS Software Group acquires PS Financials Maybe IRIS will bring in a style, development, testing and programming team!
-
That sounds almost identical to us! See I'm kind of 50/50 on this - my IT and Media side wants to drum home the fact that they should do what you say... but, I also aren't that convinced that it is SO unreasonable of a print job that it should be slow / fail? Does anyone else have this usage scenario? Does their printer(s) cope with these kind of jobs without complaint, or do you go down the hard line of forcing them to compress / do things properly!
-
Hi All, I'm looking for opinions and recommendations! Our Art Department have a Xerox 7845, but are constantly complaining that it is slow to print, as well as struggling with the concept of paper size / types! They use Apple Macs, and do most of their printing straight from Photoshop with files spooling around the 100mb mark. While we use PaperCut around the rest of the school we have actually resorted to direct IP printing for them to try and speed things up. We've also fiddled with drivers, changed ports, all to little or no difference. Now, don't get me wrong, the IT / Media part of me wants to hammer home the fact they could export to something more appropriate, reduce file size and that would help their issues significantly - but that has been tried to a degree, and doesn't really affect what I'm asking. I'm keen on finding out what others do with their departments. Can everyone share what devices they use and how their Art department view the resource in terms of happiness? Cheers
-
We had to implement an internal SMTP server and relay to get this to work! Completely crazy! We only did it as the whole issue ended up about 80% us and 20% them in terms of proactive investigation and attempted resolution etc.
-
I've probably posted some of those 2014 comments, and to be honest my opinion hasn't changed much. We have the locally hosted version of PSF, which itself has a web front end for non-finance staff. However, PSF also have a pure web version which they host, which I know some schools have a better opinion of. We were / are stuck between a rock and a hard place - the finance team and a number of other schools combined on the order and it was a significant investment to say the least, so they are keen on seeing it through to the end and getting maximum ROI. Add that to the fact that there wasn't, and to a certain degree still isn't, many genuinely viable alternatives out there either, we are stuck. Support is frustrating as it has to go through one of 3 named contacts - none of which are IT staff! So for a technical support enquiry from our school or another hosted school, our team then have to go through someone in Finance to talk to PSF as they refuse to talk to us. That is all down to cost, as apparently you have to pay for additional named people! Again, due to cost, we regularly run out of licenses as people use remote sessions and leave their PSF clients open. Those have to be claimed back by killing the rdp sessions after ringing around to make sure it is OK. There are frustrating things the system does and doesn't do. It feels like a product written in the early 2000's. Design of the web front end for users is poor, slow and clunky. You have to use wildcards % marks to search for things. You have a character limit in the description field of a purchase order REQ for instance - no nice copying and pasting of an item description of a block of text. Those in finance who use the actual applications have a slightly improved UI, but if you're wanting wider staff usage and paperless ordering / invoicing etc, they are stuck with the web interface. I believe FMS has moved on a bit in relation to MATs, but haven't actively looked due to the extreme unlikely possibility of us moving yet. I was in touch with Sage at BETT last year who were in the stages of making a dedicated product for MATs, and had a followup meeting which looked like they would have a very promising product. I'm curious whether they may reveal that at BETT this year perhaps. All in all, PSF does the majority of what is required, but came in at a very premium price. It might just be me, but for that price I want a developed product, intuitive UI, with less restrictive support.
-
Lol kind of. I've been playing around with PDFs and also really like the simplicity of Adobe Sign, but I'm wanting something that will be embedded on a webpage / available to fill in via any device, which then will send a nicely graphical form with the submitted data back to me. With a PDF I'd have to rely on the user having a reader on their PC or a device which has an app for it. Also, I'm not sure if I went that way that I would get the nicely filled in form at the end of it either. Not straight from a webpage submission without user download / completion / re-attaching to an email? Or... the above might do exactly what I want, and I just might need a bit of a point in the right direction!?
