Jump to content

GAS

Members
  • Posts

    67
  • Joined

  • Last visited

Everything posted by GAS

  1. We has problem logging in to our O365 email, followed this link and all working ok. https://support.globalsign.com/customer/portal/articles/1353318
  2. How to setup Shutdown PC via PowerShell script Create new Task Scheduler Program Script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Add Arguments: -ExecutionPolicy Bypass -File "C:\Script\PowerShell\Shutdown_Comp_01.ps1" Below script will import Active directory module, then ping all PC in specified OU if get response it will shut down. Save below as Shutdown_Comp_01.ps1, Shutdown_Comp_02.ps1 Ect… You can use root or and PC OU or each room OU ------------------------------------------------------------------------------------ Import-Module active* $rtn = $null Get-ADComputer -Filter * -SearchBase "OU= Comp_01,OU=Desktops,OU=Workstations,OU=Curriculum,DC=internal,DC=MySchool,DC=surrey,DC=sch,DC=uk" | ForEach-Object { $rtn = Test-Connection -CN $_.dnshostname -Count 1 -BufferSize 16 -Quiet IF($rtn -match 'True') {Stop-Computer -ComputerName $_.dnshostname -Force} } ------------------------------------------------------------------------------------
  3. @speckytecky Please send me a copy too?
  4. Hi Davidcvs, we deploy all our printer via gop some set on loopback so they become default printer (some room we have B&W Laser and A3 Canon inkjet). all rooms have it's own OU group in AD and each printer deploy only to that OU. all user log off script have below script to remove any old network printer and work quickly. we have server 2012 R2 as print server, we share printer and right click and select deploy via group policy select computer (Make sure you create GPO first) also add following so it will not prompt you any security warning. Policy Setting Comment Point and Print Restrictions Enabled Users can only point and print to these servers: Disabled Enter fully qualified server names separated by semicolons Users can only point and print to machines in their forest Disabled Security Prompts: When installing drivers for a new connection: Do not show warning or elevation prompt When updating drivers for an existing connection: Do not show warning or elevation prompt save as .vbs and apply under user log off script. ******* script ************* Const NETWORK = 22 Set objNetwork = CreateObject("WScript.Network") strComputer = "." Set objWMIService = GetObject("winmgmts:" & strComputer & "\root\cimv2") Set colPrinters = objWMIService.ExecQuery("Select * From Win32_Printer") For Each objPrinter in colPrinters If objPrinter.Attributes And NETWORK Then strPrinter = objPrinter.Name objNetwork.RemovePrinterConnection strPrinter End If Next ****** end of script ****** Hope this help.
  5. Hi ITTec, I have managed to shutdown pc form OU, check out script below. for each OU I created separate PS1 file and set to run on end of day. each file get pc name from OU ping it if it get response then it will shut down pc and not give you any error. still shorting out to see if user logged in it will prompt to cancel so they can keep continue to work. Hope this will help. Import-Module active* $rtn = $null Get-ADComputer -Filter * -SearchBase "OU=Room1,OU=Desktops,OU=Workstations,OU=Curriculum,DC=internal,DC=MySchool,DC=surrey,DC=sch,DC=uk" | ForEach-Object { $rtn = Test-Connection -CN $_.dnshostname -Count 1 -BufferSize 16 -Quiet IF($rtn -match 'True') {Stop-Computer -ComputerName $_.dnshostname -Force} }
  6. Try using 7ZIP to delete folder or file. Open 7zip > navigate to folder > highlight file or folder > press Delete.
  7. check this site as well App Recap: notable discounts, updates and releases for February 5
  8. Hi, I was testing Win 8 on our school network, we have authenticated proxy and have same problem as you have. I spoke to Microsoft Win 8 guy at Victoria Office he informed me Yes there is problem with "Metro" not going throw System proxy (IE Proxy) and fix is on it's way (Windows 8.1 BLUE) check out this post below. Using authenticated proxy servers together with Windows 8 Windows 8 Hope this help
  9. Check this website, brought this and working fine have not changed any lamp since 16 month GU10 5W LED SMD Daylight White | GU10 LED | homewatt Also make sure you buy right one if you have dimmable switch then. GU10 5W LED SMD Dimmable Daylight White | GU10 LED | homewatt Hope this help.
  10. Check this website for Windows 8 Windows 8 How-To Articles, Tips, and Guides :: How-To Geek
  11. burnsyb0y please check your PM box.
  12. Hi, First make all user name text file using this command, make batch file and just run. dir /a:D /B /-p /o:gen >weather.txt above will make all folder lict to txt file call weather You have to have robo copy s well Download form: Download: Windows Server 2003 Resource Kit Tools - Microsoft Download Center - Download Details =================================================== Make bat file with this in to it for /f "tokens=*" %%v in (\\MY-SERVER-NAME\c$\weather.txt) do ( IF EXIST "\\MY-SERVER-NAME\d$\Students\11\%%v\My Documents" GOTO ROBOCOPY ) Els for /f "tokens=*" %%v in (\\MY-SERVER-NAME\c$\weather.txt) do ( mkdir "\\MY-SERVER-NAME\d$\Students\11\%%v\My Documents" ) :ROBOCOPY for /f "tokens=*" %%v in (\\MY-SERVER-NAME\c$\weather.txt) do ( "\\MY-SERVER-NAME\c$\robocopy" "\\MY-SERVER-NAME\d$\Students\\%%v" "\\MY-SERVER-NAME\d$\Students\11\%%v\My Documents" /COPYALL /MOVE /B /E /V /FP /LOG+:"\\MY-SERVER-NAME\c$\Z\%%v.txt" /R:1 /W:3 /XJ /NDL /XD "My Documents" "My Data Sources" "My Music" "My Videos" "Profile" "My Pictures" ) =============================================== On first part of batch file this will look all the users on txt file call weather.txt and see if it has folder called “My Documents” if it find then it go to third part (Robocopy) if not fount it will create new folder called “My Documents” and copy all files On part 3 batch file read the txt file and move all file and folder to folder called “My Documents” (for switches please look this site Robocopy Also create folder called “Z” (I chose this so it appear at the bottom of the list) so when it copy it will create log file what it has copied or if there is any problem LOG+:"\\MY-SERVER-NAME\c$\Z If you require further help just pm me you phone no and I call you. Hope this help.
  13. this help ?? @echo off net use X: \\servername\msi$\DotNet4.0 /persistent:no start /wait X:\wic_x86_enu /passive /norestart start /wait X:\dotNetFx40_Full_x86_x64.exe /passive /norestart net use /delete X: Exit
  14. Hi Grommit, If I understand your question correctly you require changing this permission on student home folders?? If they are on same folder make batch file as below (please edit before you do) and run cmd as administrator go to folder then run. Hope this help. for /f %%n in ('dir /ad /b') do cacls %%n /t /e /g %%n:c "Domain Admins":F "System":F "Administrator":F "Manage Student Data":C "Read Student Data":R
  15. HI, we both in same boat we brought lot of pc from SCL and currently replacing capacitors, must think of buying bigger soldering iron as we have tried 4 of them. will pm you list of thinks we have brought 4V 680UF A Grade Motherboard radial Capacitor 8x9 qty 50 for £12.
  16. Hi Alpha2x, Please check your PM.
  17. Hi, We have created GPO for 1 student that we like to monitor; you can alter to any use or group. Create new GPO Under Security Filtering add User or group (other than default Authenticated Users) Create / Add VBS script to login script \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ' A login Script to email the current username and computername to an email address. '------------------------------------------------------------------------------- ' Initialization - Get command line arguments and declare variables & constants '------------------------------------------------------------------------------- Option Explicit Dim objEmail Dim mbAnswer Dim attFName Dim oShell Dim user Dim comp '------------------------------------------------------------------------------- ' Main script '------------------------------------------------------------------------------- Set oShell = CreateObject( "WScript.Shell" ) user=oShell.ExpandEnvironmentStrings("%UserName%") comp=oShell.ExpandEnvironmentStrings("%ComputerName%") ' Create the message object using CDO Set objEmail = CreateObject("CDO.Message") ' change the 5 lines below to the crrect settings for your system ' probably only the first, second and last actually need changing, (2 * Email address, Exchange server name) ' the other 2 lines are just for customisation. ' Assign message properties (To, From, Subject, etc.) ' The addres you want to be sending from - probably the pupil monitoring group objEmail.From = "[email protected]" ' The addres you want to be sending to - the pupil monitoring group objEmail.To = "[email protected];[email protected];[email protected]" ' The text to appear in the subject of the email objEmail.Subject = "Student Monitoring Network Logon" ' The text body of the message. Currently shows which user has logged in to which machine no. objEmail.Textbody = "User " & user & " Has Logged in to machine no " & comp ' change the myexchservername to the network name of your exch server. objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "Exchange Server Name" ' Assign additional message properties, update the object, and send the message objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 objEmail.Configuration.Fields.Update objEmail.Send Hope this help
  18. GAS

    I WANT ONE!!

    Hi, We have 2 Drobo 4 Disk version (Total 6TB) backing up our Apple server and 8 disk version (Total 16TB) backing up windows servers. I must say backing and restoring much easy. Thumb up for Drobo. GAS
  19. Thank you to Edugeek and Microsoft, it was fun let see if i can make it to Preston.
  20. We have use Dan and always receive quick service.
  21. PRM Green Technologies collected lot of our old kit includes Printers, highly recommend as free collection and receive data destruction cert. In 3 day.
  22. Hi, No 2# GAS is Real and I'm attading, my colleague register under my log in name (as he do not have his login) But he is not attending . Please take 47# GAS out from list, and sorry if that confused any one.
  23. Folder Permission on server 2008 R2 We have staff shared folder call “staff shared” where staff can create, add or delete folder and file of root of folder and with in all other folder inside. I like to restrict them not able to create or delete any file folder from root of shared folder but only able to create file / folder inside we create folder from them. All staff is member of all staff group and have modify, read & execute, read and write permission in this folder, subfolder and files. Currently inside staff shared folder Staff shared > 6th Form >Academic Depts. >Academic General >Network >Office >Publicity & Presentations Ect.... Thank you very much in advance for all your support and suggestion..
×
×
  • Create New...