-
Posts
640 -
Joined
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by altecsole
-
Great. As I mentioned, we run this as a Startup script, so it's easy to add another driver if reqd. If the driver is already installed, it doesn't force a re-install, so it doesn't really affect startup times. Glad you got it working.
-
Try this instead: teachersof\w{1,40}@[A-Z0-9]+\.theplt\.org\.uk
-
Bard seems to think that it should work: The regular expression teachersof[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z0-9.-]+\.[A-Z]{3}+\.[A-Z]{2} is a valid RE2 regular expression. It matches the following string format: teachersof@.... For example, the following email addresses would match the regular expression: [email protected] [email protected] [email protected] However, the following email addresses would not match the regular expression: [email protected] [email protected]@example.com [email protected] The regular expression starts with the string teachersof, followed by an email address. The email address must start with a username, followed by the @ symbol, followed by a domain name. The domain name must consist of a top-level domain (TLD) and a country code. The TLD can be any valid TLD, such as .com, .org, or .net. The country code can be any valid country code, such as .uk, .us, or .au. You can use this regular expression in advanced content match in Gmail to match emails from teachers. You can also use it in other Gmail settings, such as routing rules and filters.
-
Try enclosing the regex in quotes? "teachersof[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z0-9.-]+\.[A-Z]{3}+\.[A-Z]{2}"
-
My script runs as a startup script, so worth trying that to eliminate permission errors.
-
Are you using the correct .inf file? I used Print Management to get the Inf Path of the driver on the server. It's worth using explorer to copy and paste the path.
-
Case insensitive: teachersof[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z0-9.-]+\.[A-Z]{3}+\.[A-Z]{2}
-
Do you have a few lines of example text?
-
Sorry, I can't say whether this will work for you, but it may be worth a try, as this is how we add printer drivers to workstations. We then use a logon script to add printers. We use a startup script that pulls the driver from the DriverStore\FileRepository on the server - we have a read-only share for the folder. The script uses the built-in Printing_Admin_Scripts to add the driver. Here is an example for one driver, the other drivers are the same, but obviously the printer name, and .inf file is different. The driver name must match the driver name on the print server. @echo off SLEEP 5 :INSTALL_DRIVERS echo %time% on %date% > C:\PDrivers.txt echo Install Kyocera ECOSYS P2135dn KX driver >> C:\PDrivers.txt cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs" -a -m "Kyocera ECOSYS P2135dn KX" -i "\\PrintServer\pdrivers$\oemsetup.inf_amd64_540e610412cc6553\oemsetup.inf" >> C:\PDrivers.txt IF %ERRORLEVEL% NEQ 0 (echo Error installing Kyocera ECOSYS P2135dn KX driver >> C:\PDrivers.txt)
-
For the C:\Cache folder, we have a PowerShell startup script that sets the folder permissions. It removes, and recreates, at each startup, as the Cache folder can sometime get corrupted (apparently). We log to a local file, which can be useful. Here is the bit of code we use for the Cache folder: Start-Transcript -Path "C:\Windows\temp\compstartup.txt" $cachePath = "C:\Cache" if (Test-Path -Path $cachePath) { Write-Host "Cache folder exists. Going for remove, new" try { Remove-Item -Path $cachePath -Force -Recurse New-Item -Path $cachePath -Type Directory if (Test-Path -Path $cachePath) { write-host "Setting permission on Cache folder" try { $acl = Get-Acl -Path $cachePath $rule = New-Object System.Security.AccessControl.FileSystemAccessRule("Users", "FullControl", "ContainerInherit,ObjectInherit", "None", "Allow") $acl.SetAccessRule($rule) Set-Acl -Path $cachePath $acl } catch { Write-Host "Unable to set folder permission for " $cachePath } } } catch { Write-Host "Could not remove folder" } }
-
Probably more for your Safeguarding lead, but we've had a parent reporting this app to us. It's blocked by our web filter, but obviously available to pupils at home. We've now sent a letter to alert parents, so they can speak to their children about this. Link for app stores: Apple: https://apps.apple.com/gb/app/w-app-anonymous-polls/id1645858841 Google: https://play.google.com/store/search?q=w+app+anonymous+polls&c=apps
-
Serial Number from centrally via powershell?
altecsole replied to chekmate1984's topic in Windows 10
You can use a Query in SCCM. Monitoring -> Queries -> Create Query. I use the folllowing for Windows 10 to get basic info. select SMS_G_System_COMPUTER_SYSTEM.Name, SMS_G_System_COMPUTER_SYSTEM.Manufacturer, SMS_G_System_COMPUTER_SYSTEM.Model, SMS_G_System_OPERATING_SYSTEM.Version, SMS_G_System_DISK.Size, SMS_G_System_X86_PC_MEMORY.TotalPhysicalMemory, SMS_G_System_PROCESSOR.Name, SMS_G_System_PC_BIOS.SerialNumber, SMS_R_System.LastLogonUserName from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_COMPUTER_SYSTEM as Make on Make.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_DISK on SMS_G_System_DISK.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_X86_PC_MEMORY on SMS_G_System_X86_PC_MEMORY.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_PROCESSOR on SMS_G_System_PROCESSOR.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_PC_BIOS on SMS_G_System_PC_BIOS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.Name like "%Windows 10%" order by SMS_G_System_COMPUTER_SYSTEM.Name When you run the query, you can easily filter the results, or copy and paste into Excel. -
You could go old school, and use NET USER in a batch file? Easy to put together in Excel, and then paste into a batch file. net user [username] [password] /DOMAIN
-
We use a PowerShell script that runs at logon. It reads printers from a CSV file, and adds them and sets the default printer. We also have a script that runs at logoff, to remove the printer. Very occasionaly it fails, but not enough for it to be an issue.
-
BETT 2023 GIVEAWAY - What is your earliest gaming memory?
altecsole replied to VeryPC's topic in Our Advertisers
A Pong game that my brother and I got for Christmas, probably around 1978. It had slider controls, and we thought it was amazing. The only problem was, it needed a 9v battery and our mum hadn't realized. Luckily, our local shop were good enough to open for us on Christmas Day, just to sell us a 9v battery. Happy times. -
Agreed. We install Python and modules via a Startup batch file. Old school, but works well.
- 12 replies
-
- group policy
- pip
-
(and 1 more)
Tagged with:
-
I use a Galaxy Tab S8 and work account OneNote. This allows me to take notes anywhere and have them available on my work PC. Plus search works with my writing - which is surprising! I mainly use it to jot down thoughts, and ideas, which I can then turn into proper documentation, if required. Being able to zoom, and change ink colour is a must for me. Not a cheap solution though.
-
Ah! This option isn't available on a Private Channel. However, this option is more important than restricting access, so I'll delete the Private channels and add them as regular Channels. Like you suggest, I can then restrict access to file shares via Sharepoint. Many thanks.
-
Thanks. Where do I go to turn on Moderation for a channel?
-
Our Exams department want to create a Microsoft Team for sharing exam information with pupils. The intention is to have separate, private, Channels for each year group, where exam notices can be posted, along with related files. This all seems pretty straightforward. I can set the General channel as read-only for Members, but I can't find any way to set Members as read-only for other Channels? I've a feeling that this may be a restriction on Educational Teams. Can anybody confirm, or tell me how to do this? Many thanks.
-
Thanks. I thought the folder exclusions were for use with Roaming Profiles, not redirected AppData, but I'll do some testing.
-
Many thanks for this. How do you exclude folders from AppData redirection?
-
Users can acces c: from Adobe cc Encoder \Media Broswer
altecsole replied to Jaan's topic in Enterprise Software
Assuming that your users all access as standard users - does it matter if they can access the C: drive? -
NetSupport DNA - Script or Command to Uninstall
altecsole replied to Fazza's topic in Enterprise Software
If you know the product key, you should be able to call that to uninstall - msiexec.exe /x {your-product-code-guid}. I assume you can use the /norestart parameter, but I've not tested? Another option, if you know the guid, is to use MSIZAP - https://docs.microsoft.com/en-us/windows/win32/msi/msizap-exe I've used this with the parameters TW! {your-product-code-guid}, when DNA has got messed up on a computer and I've needed to remove before re-installing. -
NetSupport DNA - Script or Command to Uninstall
altecsole replied to Fazza's topic in Enterprise Software
The DNAAgent.msi uses the following switches for install - /quiet /norestart
