Jump to content

quinla01

Member
  • Posts

    23
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

About quinla01

quinla01's Achievements

0

Reputation

  1. Tried it however it tells me that the directory already exists. Is the main code meant to be placed somewere within your code?
  2. Hi guys, after some advice on Site planning here. I'm an administrator in an organization that has a main office containing around 300 computers in a 2003 environment. We also have offices in 40 other physical locations that are connected to the main office by 2MB or 10MB dedicated leased lines, each location consists of no more than 20 clients (no domain controllers or servers). The current infrastucture consistst of 4 domain controllers in the main office. There are 2 sites conifgured (say site1 and site2) each site has two domain controllers. The main purpose for the site configuration is security ( wont get into the detials unless required). I was wondering if it is possible to configure each of the 40 remote offices as seperate sites even though they do not have a domain controller to help the administration of SMS and also to help me better manage my ip ranges in active driector sites and services. How would i configure active directory sites and services? Would i give each new site instructions on which domain controllers to connect to? Any advice would be great. Thanks Andy
  3. Hi guys, I'm not a scripter however someone kindly wrote the below script for me a while back. It allows me to enter a username (via input box) and moves the related home directory from the user Home Directroy Folder to a subfolder named "disabled folders". I'm now in the situation were i have a text file of 900 users. I was hoping somone could help me ammend the script to use the text file as username input. ================================== Dim strUserName, objFSO strUserName = "" strUserName = InputBox("Enter User Name", _ "Migrate User Profile", strUserName) Set objFSO = CreateObject("Scripting.FileSystemObject") IF objFSO.FolderExists("\\sspct-fs01\users$\"&strUserName) THEN IF Not objFSO.FolderExists("\\sspct-fs01\users$\disabledusers\Mig."& strUserName) Then objFSO.MoveFolder "\\sspct-fs01\users$\"& strUserName , "\\sspct-fs01\users$\disabledusers\Mig."& strUserName 'WScript.Echo "The profile has been renamed: Mig."&strUserName & " and moved to the location \\sspct-fs01\users$\disabledusers" ELSE WScript.Echo "The folder del."& strUserName & _ " Already exist in the within the folder \\sspct-fs01\profiles$\MigratedProfiles.Manually delete the older profile and try again" End If ELSE WScript.Echo "The profile folder " &strUserName & " does not exit" End If ================================= Thanks Guys Andy
  4. Given it a try but it doesn't work, tell me the target is incorrect. I've heard of several people having problems piping dsmove, has anyone had any luck doing this? Thanks
  5. Ahh, i c. I'll give it another go in the morning, Thanks guys. Andy
  6. So are you telling me it is not possible to pipe the results of a dsquery command into dsmove to move multiple accounts? I have 800 account to move. Thanks Andy
  7. Hello, I'm trying to query my active directory for disabled accounts and then move them into an OU named "disabled ou". I've tried the following: dsquery user -disabled | dsmove -newparent "ou=disabled group,dc=etc,dc=etc,dc=etc" however i received the following message. dsmove failed:`CN=blahblah,OU=Disabled group,DC=etc,DC=etc,DC=etc,'is an unknown parameter. type dsmove /? for help. I cant seem to figure it out. Andy help would be great. Thanks Andy
  8. Any advice on this one would be great. I need to start thinking about consolidating two organisations. Organisation “A” currently uses a public address range. Organization “B” uses a private 192.168 address range. Both networks are at 2003 functional level. We have a dedicated line between the two organizations. The overall aim is to decommission organisation “B” domain and get all resources over to organization “A” domain. I’ve heard there could be problems with this since one of the networks is on a private address. I’ve heard something about replication between the two domains wouldn’t work since one is natted. Thanks guys.
  9. I've got several scopes running on a 2003 server. In 1 of the scopes, i have about 30 lease records that have no client name listed in the record. What's more strange is that when i delete these records they are recreated within about an hour. A few further notes: 1) I can ping the addresses 2) The lease expiration time is always within an hour of checking the scope (eg. if i logon to dhcp server at 11am the lease expiration of these records will be 11.45) 3) I have recently migrated the dhcp server from an NT box. The scope settings were originally configured to provide clients with an "unlimited" lease. Thanks for any help Andy
  10. K, here’s a tricky one, For some reason, the previous member of staff set up the home directory’s for users in strange format: \\filestore101\users$\SiteName\UsersInitials Eg. \\filestore101\users$\Site1\AQ1 In some cases there's even a site sub directory EG. \\filestore101\users$\site1\HR\Aq1 Now this is causing a bit of a problem since i plan on migrating the data to a new file server. Now ideally, what I'd like to do is flatten the structuer (i.e. no more subdirectories in the users$ share). This would be simple enough if the users home directory was named after their username since i could simply flatten the strucure and run a batch file to rename the homedirectory path to \\filestoreNew\users$\%username% however the user's folders are named in a completely random manner eg \AQ1 or \AQ01 So i've got a few options, non of which are ideal when you consider i have 800 users. option 1) Recreate new users folders using the %username% command, then copy the contents manually from the old users folder to the new folder. option 2) flatten the structure and keep the old folder names and then rename the path to the users home directory I was wondering if anyone has a scipt or know's a programs that will rename a user home directory based on their username or if anyone has any other solutions to my problem. Thanks Andy
  11. K, this is gettng wierd. I deleted the users roaming profile, made sure the local profile had been removed by group policy and then logged the user back on. It recreated the roaming profile on the server, however it somhow managed to pull the icons deleted previously through to the new roaming profile. Before you ask the icons are not in the all users profile or the default users profile. My heads messed with this one, could it have something to do with poicies, cached files, hidden folders etc??? Thanks guys Andy
  12. This one’s driving me crazy guys. Clients = XP SP2 Servers= MS Server 2000 & 2003 Active Directory environment All users have roaming profiles. Through Active Directory and Group Policy the users have their desktops redirected to a remote server location. The problem I have is that when users delete a file (icon) from their desktop, it appears to have been delete however when they log of and their profile is written back to the server, the deleted file is recreated in the profiles and therefore reappears once the user logs back on. Through group policy, I have enabled “delete cached copy of users profiles” and I though this may have something to do with the problem so I set the policy to “not configured”. This however did not solve the problem so I have enabled the policy again. Any help would be great, I’m sure its something simple that I’m missing, Thanks in advance Andy
  13. I'd have thought there would be some kind of group policy that simply restricts internet exporer from download over a certain speed. On my machine at home I use netlimiter to monitor and resrict the incoming and outgoing traffic. Andyway, thanks for you advise. Andy
  14. Hi guys, any ideas on this one: several hundred users access the internet via a single 2Mb connection. This usually isn't a problem however when a user downloads a large file it kills the internet connection available to the rest of the users, the situation can get rediculous if two or three users are downloading files. I was hoping there may be a download limit in group policy or maybe some third party application available. Thanks Andy
  15. Hi guys, I have a couple of hundred computers running xp in a 2000 environment. Most of the computers were configured by contractors and the local administrators passwords have been left blank. What i'd like to do (preferably through group policy) is to change the local administrators passwords by mass. I was thinking maybe introduce a procedure by which the local administrators passwords are changed on a weekly basis. Does anyone know a way to do this? Thanks Andy
×
×
  • Create New...