GAS
Members-
Posts
67 -
Joined
-
Last visited
Reputation
70 ExcellentAbout GAS

Personal Information
-
Occupation
Network Manager
-
Location
Guildford
-
We has problem logging in to our O365 email, followed this link and all working ok. https://support.globalsign.com/customer/portal/articles/1353318
-
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} } ------------------------------------------------------------------------------------
-
@speckytecky Please send me a copy too?
-
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.
-
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} }
-
How to delete files ownded by a specific user.
GAS replied to kennysarmy's topic in How do you do....it?
Try using 7ZIP to delete folder or file. Open 7zip > navigate to folder > highlight file or folder > press Delete. -
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
-
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.
-
Check this website for Windows 8 Windows 8 How-To Articles, Tips, and Guides :: How-To Geek
-
Background deployment via group policy help.
GAS replied to burnsyb0y's topic in Windows Server 2008
burnsyb0y please check your PM box. -
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.
-
[mdt] Install command line for dotnet framework 4
GAS replied to british_government's topic in O/S Deployment
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 -
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
-
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.
