Jump to content

mattpant

Members
  • Posts

    444
  • Joined

  • Last visited

Everything posted by mattpant

  1. Hi Arthur, Thanks for the script.... Is it possible within PowerShell for a popup box to come up each time the script is run to enter the Path Name on the fly rather then going in and editing the script? - Not the end of the world if not! Thanks Matt
  2. Thanks guys... The script is working perfectly now... Following previous replies to this post - I'm just trying to work out the pro's and con's to setting up each home drive as a shared or just the root. I like the idea of only having to manage the one shared folder (or 1 for each intake year) but how would this work for things like Folder Redirection of My Documents etc... At the moment - with each user having their own shared folder - there is 1 GPO setup as everybody's home folder is in the format of \\SERVER\%USERNAME% IF I decided on going down the direction of only having the route folder shared - would I then need multiple GPO's for each root folder for the Folder Redirection to work as they would no longer be in any consistent format?... e.g.:- \\SERVER\YEAR 07\%USERNAME% \\SERVER\YEAR 08\%USERNAME% \\SERVER\YEAR 09\%USERNAME% \\SERVER\YEAR 10\%USERNAME% \\SERVER\YEAR 11\%USERNAME% \\SERVER\YEAR 12\%USERNAME% \\SERVER\YEAR 13\%USERNAME% \\SERVER\STAFF\%USERNAME% Thanks Matt
  3. I guess from old habits - So each home drive doesn't need to be "shared" to allow it to be mapped as a home drive for each user? Our Structure is setup like this... Home - Year 07 - Year 08 - Year 09 - Year 10 - Year 11 - Year 12 - Year 13 - Teaching - Support If I continued with that format - would I need to share each Root folder or just the home folder - currently we map the drives to \\SERVERNAME\SHARE\%username% - I assume that wouldn't work under our current structure and would need to map each year group to the root folder? \\SERVERNAME\SHARE\YEARGROUP\%username% Thanks Matt
  4. Thanks James, I've just tested the PowerShell Script (Changed the Path) and run as administrator but it doesn't seem to be working... can you spot anything obvious that maybe stopping it from running? I'm not getting any error messages when it's run, but when I check the folders that I've tested it on none of them appear to be shared and permissions set? Thanks again! Matt
  5. Anybody?!? Will very soon be needing to do this with setting up the new intake and the script I've used for Years on 2003 Server doesn't work on 2012R2... Thanks in anticipation! Matt
  6. Hi All, I've recently moved from Server 2003 to Server 2012R2... On my 2003 Server I use to run a script that would Share all the folders inside a given root folder and give a Share Permission of Everybody - Full Control, NTFS Permissions were then setup on the folder using NTFSFix - If I try running the same script on Server 2012R2 - It shares the folders, but only gives a Share Permission of "Read Only" - I read that the default on Server 2012R2 is Read Only - I've modified some Registry Entries to default this back to Full Control - which works great when I manually created a shared folder, but still when I run the script for a whole load of folders it sets them as Read Only. Does anybody know why, or has any alternative scripts to achieve this on Server 2012r2 (Ideally that disables the offline caching of files too) Here's the content of the VBS script I'm using:- const MaxConnections = 0 set objFSO = createobject("Scripting.FileSystemObject") RootFolder = inputbox("Please enter the root folder that contains the folders you want to share:") '***** Perform some basic validation ***** if not objFSO.FolderExists(RootFolder) then wscript.echo "Invalid Folder" wscript.quit end if if mid(RootFolder,1,2)="\\" then wscript.echo "UNC Paths are not supported" wscript.quit end if set objRootFolder = objFSO.GetFolder(rootfolder) for each fldr in objRootFolder.SubFolders sharefolder fldr.path, fldr.name next wscript.echo "Completed" sub shareFolder(byval folderPath,shareName) strComputer = "." Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNewShare = objWMIService.Get("Win32_Share") objNewShare.Create folderpath, shareName, MaxConnections end sub Thanks Matt
  7. Hi - no didn't get anywhere with it - still the same old issue that sometimes it works - sometimes it doesn't! I'd love to find the cause!!
  8. I'm happy to give ANYTHING a go!! I'm guessing I would just use the VBS script that I have been using and add it as a startup script then instead of a logon script? The VBS script I have been using looks at the computer name - and if the name ='s to the criteria, it install's the relevant printer for that room.
  9. These B****Y printers and doing my head in and giving me sleepless nights... I'm STILL having issues with them randomly mapping when logging in... Sometimes a user can login and they get them - other times they can't, it's becoming a right pain in the backside! I've tried deploying the printers with a VBS logon script (which we used under Windows XP and worked EVERYTIME), I've tried deploying them with GPP, under a loopback policy so they install to the computer and not the user, they've been setup under the user side for the loopback so that a Shared Printer can be setup and set as default printer (which I understand you can't do it setting up purely under the computer side of group policy settings). I've also tried as suggested to deploy them using the Deploy with Group Policy option in the Printer Management Console, but whichever option I use I still get the random results. The workstations are Windows 8.1 Enterprise x64 with all the latest update, the option in Group Policy has been setup about the Point and Print settings - the driver share has both the 32bit and 64bit version of the same driver, the drivers have been updated from the Kyocera Website. ANYTHING else I can try?!?!?!? I'm tearing my hair out! Thanks Matt
  10. I've just tried deploying printers to one of our IT Rooms using this method but I'm STILL getting inconsistent results - sometimes it works - sometimes it doesn't!!
  11. What was your solution in the end? A few people, including myself have this same issue so would be good to know what fixed it for you!
  12. Just had a good read on the website for the tool and it mentions that you can install with an MSI file for network deployment, so question answered!
  13. Hi, Do you have a screenshot of your Redirected Folders Structure / Start Menu Sturucture that you amended to achieve faster login times? What sort of adjustments did you make on your Wireless network / network adapters to fine tune them to get better performance? Thanks Matt
  14. Thanks - I remember using this tool a very long time ago - can this be pushed out and deployed across the Network from group policy does anyone know? Thanks
  15. We have some machines with Card a readers installed - when they were originally setup I manually changed one of the drive letters from H:\ (Which is what we use for our Home Drives) to a drive letter we don't use on the network. Yesterday, out the blue I noticed that these machines were not mapping our home drives - the other drives were fine, I took a further look under drive management and the card reader is trying to use H:\ drive again (although it doesn't show up in Windows a Explorer when no card is inserted) Is there anyway via Group Policy that I can either Force the Network dive to always use H over the local card reader OR centrally change the local drive letter on the computers from H to something else without manually visiting every machine effected? Thanks Matt
  16. Ok, so I've just finished rebuilding 9 of the computers from scratch - reformatted, re-installed, all updates, joined to domain etc etc exactly as before (other then doing all 9 by hand, and not imaging any of them) and initial test suggest things are working as they should be!! It was a bit of a ball ache, but fingers crossed they continue to work - going to install Impero on them before I leave so I can VPN into school over the weekend and do some further testing on them!
  17. If this does fail - I'll try installing Windows 7 - I don't have an image that I can just deploy to the devices without installing one first - All our machines have been updated to Windows 8.1 across the school - so I don't really want to go backwards on this one - but for the purpose of testing I'm happy to give it a shot!
  18. Unfortunately don't have a USB Wireless Stick here to try - I've temporarily switched off the nearest AP - and some of the machines were still showing Full Signal strength - where the others dropped down to 1 or 2 bars - so It's got to be an issue with the wireless card/drivers. I'm going to flatten a couple of them now and rebuild again from fresh and see if that's makes a difference!! - Was hoping to avoid this - but would rule something out then. Thanks for your help/input and feedback so far!
  19. The Firewall is disabled - the computers are imaged - the system has been syspreped prior to imaging and "generalised"
  20. The saga continues... One of the machines that was having the problem - It shows that it's got wireless signal, it's got the correct IP Address allocated from the DHCP server - Which has assigned the IP Address of the DNS server correctly (which is also the same server) - If I run the network troubleshoot tool it comes back "The DNS Server isn't responding" - "Your computer is trying to use a DNS server that is incorrect or doesn't exist" The DNS server is correct - It's the same one used by all the other computers on the school network - Eventually - as if by magic, the computer starts working again without doing anything . If you disable the wireless and enable the wireless it often works then straight away. I've uninstalled and reinstalled the drivers once again but still no luck with getting it to work all the time! What could be going on!?!?!?!? Thanks Matt
  21. This is really bugging me now - switched on some of the machines this morning - they logged on fine - no problem at all - restarted them / shut down / tried again - some still log in OK - other's not! I read somewhere about resetting the IP Stack and Winsock - but this has not helped :-( It's so weird in that it's getting a valid IP Address from the DHCP server (which is also the DNS server) but I can't connect to any network resources (eventually it does) I can't ping by IP Address - so I guess it's not a DNS issue - if I plug in an Ethernet cable - I can ping devices immediately. :-(
  22. Yes - latest version off the Intel Website
  23. I've tried it with IP6 disabled and it made no difference - IP6 is currently enabled again on these machines
  24. Yet another Windows / Server issue I'm afraid - this one is driving me bonkers. I have 9 laptops that intermittently fail to logon correctly - The machines are running Windows 8.1 with all the latest updates - they show as being connected to the wireless network. I have setup cached credentials - so eventually they do arrive to a desktop, the wireless connection still shows as being connected - you can do an ipconfig /all and it shows as having a correct IP Address from the DHCP server - it shows the correct IP Address for the DNS server (Which is also the DHCP Server) but you cannot ping anything on the network - you can't ping the laptops from the network when this issue happens. You can't access any mapped drives when it's in this state - but eventually (maybe after 5-10 minutes) you can start pinging devices on the network and get reply's and you can ping these machines from other devices. When the issue occurs you can see the device listed on the Wireless Controller with the correct IP Address. Sometime you can switch no the computer from a cold boot and it will logon and "see" the network without any issues, but it's totally random! These are new machines which I due to hand over to staff on Monday!!! HELP!!!!! The Wireless Cards are Intel Centrino Wireless N 2230 - I've made sure the drivers are upto date, I've disabled any power saving settings on the card. I'm not aware of the issue happening when connected to a CAT5 cable. When the issue occurs - Event viewer seems to have entries where it can't resolve names, as they "timed out after none of the configured DNS servers responded" We have 1 DNS server onsite - I've ran a DCDIAG on it and all reports back as healthy - and no other machines in school other then this batch of machines appear to have any DNS issues. I also get an entry from NETLOGON saying "This computer was not able to setup a secure session with a domain controller in domain DOMAINNAME due to the following - There are currently no logon servers available to serve the logon request." Again, I don't have issues on any other machine running on the same network using the same Domain / DNS Server etc Does anybody have any idea what may be going on? The fact that I'm getting a valid Wi-Fi network connection with IP address etc etc is really baffling me why we get this problem? Thanks Matt
  25. The Windows 8.1 Machines are all in a new OU - with new a new Group Policy object created which just contains the printers that I want deployed to the computers in this OU - the GPP is setup under "Users" but with Loopback Processing taking place - that way we can setup the Shared printers (Rather then TCP/IP etc) and set a default printer which you can't do when deploying via the Computer Configurations. Have you got yours set to "Update" or "Create" ? Thanks Matt
×
×
  • Create New...