Jump to content

ravenadsl

Members
  • Posts

    57
  • Joined

  • Last visited

Everything posted by ravenadsl

  1. Thanks fairm010 We currently user Atomwides ADSync but because we may be moving away from our LEA we wont have access to it any more. Inface looking at your username we use exactly the same service provided by RBWM Thanks Victory2012 I will look into this it sounds good!
  2. Hello all I'm not sure this is the correct section for this. so sorry if its not. Is there a tool / program for exporting information from SIMS to make our active directory users and groups.. possibly even mail lists? we are soon going to be managing our users ourselves (moving away from our LEA) and I just think SIMS will be the best thing to work from as it already knows all the staff students and timetable. dose any one know of such a program or script? If not I guess I'm going to have to make myself one Thanks Pete
  3. I’m looking to get some recognised qualifications and work my way to MCITP I have been managing a network of 400+ computers and 9 servers for over 4 years now but i don’t have any qualifications to show i can do the job I’m doing. I have successfully migrated from XP to 7 domain and introduced WDS, WSUS and active directory 2008 I have good knowledge of Active directory + group policy 2003 and 2008, DNS, DHCP, WDS, WSUS, IIS and Windows XP, Vista and 7, server 2003 + 2008/R2 . What should I be looking at? What are your suggestions? What qualifications have you got? Thanks!
  4. Thanks Guys. I have downloaded and installed the files you have suggested and seen no difference. do you have any other suggestions?
  5. Havent hered of it. Can you link me to it please? A google turns up a load of results not related to macromedia suit. Thanks
  6. Hello, Im roling out windows 7 arround the network and have come accross an activation problem with our Macromedia suit. The suit installs fine and launches fine but activation wont remember its been activated as soon as a new user comes along they need to reenter the serial. dose any one know wat the activation dose so it can remember its been activated? If I can find that out ten I can deploy that file to all the computers. Thanks.
  7. Hi guys, Can any one help with this script (see below) The script is to look at a .XLS file connect to AD and see if the user exists. if the user dosent exist the user will be created if the user dose exist the user should be updated. This is where i have the problem. i need to define the user before i send the edit. I think some how i need to integrate AD for the current user and then begin editing. its the only bit im not sue how to do. any suggestions would be great feel free to use this code Option Explicit Dim objExcel, strExcelPath, objSheet Dim strLast, strFirst, strMiddle, strPW, intRow, intCol Dim strGroupDN, objUser, objGroup, objContainer Dim strCN, strNTName, strContainerDN Dim strHomeFolder, strHomeDrive, objFSO, objShell Dim intRunError, strNetBIOSDomain, strDNSDomain Dim objRootDSE, objTrans, strLogonScript, strUPN Dim strPreviousDN, blnBound ' Constants for the NameTranslate object. Const ADS_NAME_INITTYPE_GC = 3 Const ADS_NAME_TYPE_NT4 = 3 Const ADS_NAME_TYPE_1779 = 1 ' Specify spreadsheet. strExcelPath = "C:\test\test.xls" Set objFSO = CreateObject("Scripting.FileSystemObject") Set objShell = CreateObject("Wscript.Shell") ' Determine DNS domain name from RootDSE object. Set objRootDSE = GetObject("LDAP://RootDSE") strDNSDomain = objRootDSE.Get("DefaultNamingContext") ' Use the NameTranslate object to find the NetBIOS domain name ' from the DNS domain name. Set objTrans = CreateObject("NameTranslate") objTrans.Init ADS_NAME_INITTYPE_GC, "" objTrans.Set ADS_NAME_TYPE_1779, strDNSDomain strNetBIOSDomain = objTrans.Get(ADS_NAME_TYPE_NT4) ' Remove trailing backslash. strNetBIOSdomain = Left(strNetBIOSDomain, Len(strNetBIOSDomain) - 1) ' Open spreadsheet. Set objExcel = CreateObject("Excel.Application") On Error Resume Next objExcel.Workbooks.Open strExcelPath If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to open spreadsheet " & strExcelPath Wscript.Quit End If On Error GoTo 0 Set objSheet = objExcel.ActiveWorkbook.Worksheets(1) ' Start with row 2 of spreadsheet. ' Assume first row has column headings. intRow = 2 ' Read each row of spreadsheet until a blank value ' encountered in column 6 (the column for cn). ' For each row, create user and set attribute values. strPreviousDN = "" Do While objSheet.Cells(intRow, 6).Value <> "" ' Read values from spreadsheet to find this user. strContainerDN = Trim(objSheet.Cells(intRow, 1).Value)'Container user should be in strFirst = Trim(objSheet.Cells(intRow, 2).Value) strMiddle = Trim(objSheet.Cells(intRow, 3).Value) strLast = Trim(objSheet.Cells(intRow, 4).Value) strPW = Trim(objSheet.Cells(intRow, 5).Value) strCN = Trim(objSheet.Cells(intRow, 6).Value) strNTName = Trim(objSheet.Cells(intRow, 7).Value)'NT Username strUPN = Trim(objSheet.Cells(intRow, 8).Value) strHomeFolder = Trim(objSheet.Cells(intRow, 9).Value) strHomeDrive = Trim(objSheet.Cells(intRow, 10).Value) strLogonScript = Trim(objSheet.Cells(intRow, 11).Value) MsgBox "all info set" ' If this container is different from the previous, bind to ' the container the user object will be created in. If (strContainerDN <> strPreviousDN) Then On Error Resume Next Set objContainer = GetObject("LDAP://" & strContainerDN) If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to bind to container: " & strContainerDN Wscript.Echo "Unable to create user with NT1 name: " & strNTName ' Flag that container not bound. strPreviousDN = "" Else On Error GoTo 0 strPreviousDN = strContainerDN End If End If 'Dose user exist? Dim objNetwork Set objNetwork = CreateObject("WScript.Network") Dim strUserName strUserName = objNetwork.UserName strUserName = strNTName Dim objWinntUser On Error Resume Next Set objWinntUser = GetObject("WinNT://" & objNetwork.UserDomain & "/" & strUserName & ",user") If Err Then If Err.Number = "-2147022675" Then MsgBox "The user was not found. User can be created" 'once finished comment out call create() 'start create user Call update() ' start update user Else MsgBox Err.Number & VbCrLf & Err.Description End If Err.Clear Else MsgBox "User already exists. Running user update." 'onced finished comment out call update() 'start update user End If intRow = intRow + 1 Loop Wscript.Echo "Done" Wscript.Quit Sub Update() if (strPreviousDN <> "") Then '################################### 'need to find furrent user to edit '################################### If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to create user with NT2 name: " & strNTName Else objUser.SetPassword strPW If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to set password for user " & strNTName End If On Error GoTo 0 MsgBox "password set" 'Assign values to remaining attributes. If (strMiddle <> "") Then objUser.initials = strMiddle End If MsgBox "set middle name" If (strLast <> "") Then objUser.sn = strLast End If MsgBox "set Last name" If (strUPN <> "") Then objUser.userPrincipalName = strUPN End If ' Save changes. MsgBox "saveing Schanes" On Error Resume Next objUser.SetInfo If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to update attributes for user with NT name: " _ & strNTName End If End If End If End Sub Sub create() ' Proceed if parent container bound. If (strPreviousDN <> "") Then ' Create user object. On Error Resume Next Set objUser = objContainer.Create("user", "cn=" & strCN) If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to create user with cn: " & strCN 'Unable to creat NT user Error Else On Error GoTo 0 ' Assign mandatory attributes and save user object. If (strNTName = "") Then strNTName = strCN End If objUser.sAMAccountName = strNTName 'Set useraccount name (login username) On Error Resume Next objUser.SetInfo If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to create user with NT2 name: " & strNTName 'unable to create user account Error Else ' Enable the user account. objUser.AccountDisabled = False If (strFirst <> "") Then 'Set first name objUser.givenName = strFirst End If If (strHomeDrive <> "") Then 'set Home drive objUser.homeDrive = strHomeDrive End If If (strHomeFolder <> "") Then 'set home folder objUser.homeDirectory = strHomeFolder End If If (strLogonScript <> "") Then 'set login script objUser.scriptPath = strLogonScript End If ' Set password expired. Must be changed on next logon. objUser.pwdLastSet = 0 '0=enabled 1=disabled ' Save changes. On Error Resume Next objUser.SetInfo If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to set attributes for user with NT name: " _ & strNTName End If On Error GoTo 0 ' Create home folder. If (strHomeFolder <> "") Then If (objFSO.FolderExists(strHomeFolder) = False) Then On Error Resume Next objFSO.CreateFolder strHomeFolder If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to create home folder: " & strHomeFolder End If On Error GoTo 0 End If If (objFSO.FolderExists(strHomeFolder) = True) Then ' Assign user permission to home folder. intRunError = objShell.Run("%COMSPEC% /c Echo Y| cacls " _ & strHomeFolder & " /T /E /C /G " & strNetBIOSDomain _ & "\" & strNTName & ":F", 2, True) If (intRunError <> 0) Then Wscript.Echo "Error assigning permissions for user " _ & strNTName & " to home folder " & strHomeFolder End If End If End If ' Group DN's start in column 12. intCol = 12 Do While objSheet.Cells(intRow, intCol).Value <> "" strGroupDN = Trim(objSheet.Cells(intRow, intCol).Value) ' Attempt to bind to group object DN. blnBound = False On Error Resume Next Set objGroup = GetObject("LDAP://" & strGroupDN) If (Err.Number <> 0) Then On Error GoTo 0 ' Try again converting NT Name to DN. On Error Resume Next objTrans.Set ADS_NAME_TYPE_NT4, strNetBIOSDomain _ & "\" & strGroupDN If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to bind to group " & strGroupDN Else On Error GoTo 0 strGroupDN = objTrans.Get(ADS_NAME_TYPE_1779) Set objGroup = GetObject("LDAP://" & strGroupDN) blnBound = True End If Else On Error GoTo 0 blnBound = True End If If (blnBound = True) Then objGroup.Add objUser.AdsPath If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Unable to add user " & strNTName _ & " to group " & strGroupDN End If End If On Error GoTo 0 ' Increment to next group DN. intCol = intCol + 1 Loop End If End If End If End Sub ' Clean up. objExcel.ActiveWorkbook.Close objExcel.Application.Quit Set objUser = Nothing Set objGroup = Nothing Set objContainer = Nothing Set objSheet = Nothing Set objExcel = Nothing Set objFSO = Nothing Set objShell = Nothing Set objTrans = Nothing Set objRootDSE = Nothing
  8. we are using remote desktop i will try there e-mail address i dident realize that would work. lets see if they remember it!
  9. Hello, I have setup a staff member so they can remote controll there desktop computer from home. its just been updates to windows 7 and everythign is fine appart from this one niggley little problem when remote controling the computer it first takes you to the logon screen when the defult login server is the local computer and not the domain controler. this means they cannot login unless the remember to specify the domain before there username (domain\usernamer) Thanks!
  10. Hi Pete, We did find what it was. users need read permissions down then entire folder path for example \\server\student\year group\%username% If the student only has read wright access to the %username% folder we received the error If we add the students group to the student + year group folders to give read only access and have read wright access to the %user name% folder it was not stroppy and dident throw an error hope I make sense
  11. We have some users running [Whisper] sims [/whisper] under windows 7, we did have some problems when installing it for the 1st time but here is what we do every time we install it. run sims.inst off the sims server as local of network admin when changing the mapped network drive you must click browse as the mapped network drive always appears as disconnected (strange) then select the connect .ini file. install as normal Also Note 64bit is not supported at all,
  12. Sorry i ment to say there documents on the c drive but i have redirected there my docs to a mapped network drive I also thought it strange that it had not picked this up and redirected to there redirected documents I have the AMD files (there on the 2010 CD) i have only found the option to change the save location of power point. the option is only under power point and nothing else :S
  13. Hello, I have a problem with office 2010 with our student account. when students click save or save as they get an error saying this task has been disabled buy an administrator. after looking into it a bit more i have found the default save location for all of the office applications is on C:\ where my students don't have access. so this needs to be changed to there my documents i have done some gogleing and found the .adm templates for office 2010 but i can only find the place to set the default save location for word, we need to set this for all the office applications. thanks for any advice.
  14. Hi guyes, Ok i know its not OS deployment but its close, After deploying an os to a computer i would like to just set its name join it to the domain and all the software for the correct room just deploy automatically. At the moment that's fine. after deploying to a computer i set the name and join the domain. move the computer to the correct OU and group policy kicks in where I have some MSI's to deploy but we have a lot of other software that would be handy to deploy but are not MSI's. So I then have to walk round the room setting up software. I could pre load the image but after a week there stale and there are new packages that have been bought ect what dose every one else do? is it possable to make an MSI for all the exe packages we have? is there a Microsoft software deployment solution? Thanks
  15. Why do they need to open Sync centre? if you have the users docs redirected windows 7 will automatically sync them our staff see the status of the sync center in the mobility center c:\windows\system 32\mblctr.exe /open
  16. Found the problem! staff did not have read permission on one of the sub folders after example \\server\share name\folder name\folder name\username\documents read read owner owner Thanks for the help!
  17. Hello HCC We have got some of the things you need working. No Office Welcome/config screen for users there is a group policy item in the extended ADM filed with office We have added registry keys to fool internet explorer to this its run the first configuration using group policy preferences Aero theme with standard wallpaper set - OK XP doesn't have aero but you get the idea We force our logo onto staff and students desktops useing group policy preferences to make a hidden folder on C: and move images from the server to the local drive Office apps pinned to taskbar We have hidden this for students and staff have a normal default profile and can build it themselves Computer icon on desktop Im sure there is a group policy setting for this Set choice of apps in default start menu list - since there is no classic menu again we have this blank for students and staff build there own. hope this helps
  18. Thanks SYNACK, sorry for the slow reply we have been playing with this all day We are only enabling encryption and synchronisation on the staff laptops group policy in the computer configuration. when logging in all the files and folders have always available off line ticked and a sync happens in the background. after leaving the laptop as suggested for 1 hour and a restart after 30 mins only half of the files are available in off-line mode the rest are there but greyed out with a grey cross overlay on the icon. i have also noticed there is no green synchronised icon overlaid on the icons of the files that have synchronised also after creating files in of line mode and then connecting to the network after a restart (as if I was relay coming back to work from home) the files I created off-line are never uploaded to the server If I use the sync centre all the documents are synchronised and available off-line, also there is a green icon overlay on all the files and folders that have synchronised. but we still have the same problem as above where documents created at home (in of line mode) are not uploaded to the server upon reconnection. we are also unable to set a schedule Last thing I promise! when selecting Off-line Files in View Sync Partnerships in sync centre and then selecting sync at the top the status just changes to Pending. and never gets round to syncing Thanks
  19. Hello, So windows 7 is all ready to go here for students infact we deployed our first 2 workstations yesterday WAHOO! But we have a problem with our staff account and its got me stumped! we have set via group policy that staff are able to setup folder sync. (this is so they can turn it on if they want to use it and leave it off if they don't) i have also set in group policy to sync every time a user logs on or off BUT! when we look at the laptop we can enable sync and it works but you have to do a manual sync before you log on and off. for some reason the laptop doesn't sync at all when you login or logout Any suggestions? Thanks!
  20. Hay everyone, wasn't sure where to post this ( im sure a mod will move this a min) I had been finding it hard to get my .xml answer files working and trying to figure out windows SIM without a guide was rely hard. I goggled a bit and found this complete guide of everything a want to do I rely hopes this helps other people as much at it helped me Articles in this series Windows Deployment Services, WAIK & Windows 7 – Part 1/4 (Installation and Configuration of the WDS Role) Windows Deployment Services, WAIK & Windows 7 – Part 2/4 (Creation & Configuration of WDSUnattend.xml) Windows Deployment Services, WAIK & Windows 7 – Part 3/4 (Creation & Configuration of ImageUnattend.xml) Windows Deployment Services, WAIK & Windows 7 – Part 4/4 (Injecting Drivers)
      • 34
      • Thanks
  21. I have tryed with domain admin from both domains and still no joy. i will see if i can find out that security settings i might need to apply to the share if it connects as group policy and not the user
  22. I did wonder myself if GP needed its own permission on the share so i set in the map drive policy to map the drive with a specific users credentials. Sadley i had the same problems. thinking about it now i did use the same users credentials as i was logging it to test i will try administrator and see if that makes any difference will post back results in a min
  23. Hello, me again, I have sent in staff group policy \user configuration\preferences\windows settings\drive maps. The following setting Creat, Location: \\serverip\sharename\ Lable: Sims Drive letter: S: on the client computer when applying the poloicy for a member of staff errors with network path not found. I have tried with the servers name instead of IP from the same client i can browse to the location and have read/write permissions. i can also manually map the network drive with the same settings one thing to note, the server im trying to map is attached to a different domain, there is a 2 way trust relationship between these domains so it shouldn't be a problem..... im not required to authenticate if i manually browse to the share as there are permissions on the share for a group the user is part of
  24. the error was "install on server 2008" that all. i used a virtual computer with a 30 day trial of server 2008 and everything worked fine. thanks for you help!
  25. I have downloaded this tool but it wont install on Server 2008R2 and i cant find a newer version
×
×
  • Create New...