Jump to content

quinla01

Member
  • Posts

    23
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by quinla01

  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
  16. Hello, can anyone tell me how to use group policy to place the My Documents and My Computer on all users desktops. The current configuration is server 2003 with XP clients. The users have roaming profiles, the current setup gives the users a desktop with only a recycle bin. They do not have the rights change the desktop them selves. Thanks in advance Andrew
  17. Hi guys, I'm after your advice here. I'm currently implementing a large XP Lockdown. I've completed all the desktop settings and I’m now looking at what features I can lockdown on IE 6. I'm using group policy in an Active Directory environment and all my clients are XP. So far the only policies i have applied are those that remove the tabs in the Tools--> Options menu. What other policies do you guys recommend? I’d like to prevent them from installing active X and other scripts that can cause problems although I don’t want to prevent them from browsing the internet freely since for many of them it’s necessary for part of their jobs. I’d also like to stop streaming media on Windows Media player since I have found many users listening to Radio which is hogging our limited bandwidth. Any other Evil lockdowns you guys can think of would be much appreciated. Thanks Andy.
  18. Hi guys. I've just setup a sus server on a 2003 server. i've approved a bunch of updates for windows server 2000. I've then go to a server 2000 sp4 machine and edited the local policy of the machine to download the autmatic updates from the sus server. I also changed the policy to download at a daily scheduled time. Now, when i go to start-->all programms --> windows update, it takes me to the windows website rather than look at the sus server. However the server did install about 30 updates in the space of about 10 minutes so i think it may have used the server. Is there any way to tell? Why is the windows update link still using the site? Any help would be great. thanks Andy
  19. Hello, I am using the microsoft loopback adapater with ICS on a windows 2003 box. I am using the loopback adapater to test a virtual environment. I was wondering if there is a way to disable the loopback adapater from assigning DHCP address automatically. Thanks Andy
  20. Hi, thanks for the reply. Unofortunatly the loopback adapter still assigns the virtual machines DHCP and picks up the DNS from the router. Any more suggestions?? Thanks
  21. Howdi all, any advice on this one would be great. My current environment is several workstations that connect to a router that also acts as a DNS server and a DHCP server. I would like to set up a test environment using virtual server 2005 (VS). My priority whilst running the virtual environment is that no other computers outside the virtual environment (ie real work computers) are affected. I would like to set up two virtual PC's running windows 2003. I would like to have one running as a DNS and DHCP server. The other is a standard 2003 server, nothing special. The problem i have is that when i first creat the Virtual servers they pick up the the settings from the router which assisns them an IP and configures DNS for them. So far i can think of two options, neither of which are any good. Option 1: turn off DHCP and DNS on the router, however as stated earlier i do not want it to affect real world computers which this option will do. Option 2: remove the two virtual pc's to a virtual network, this method completly separates the virtual pc's from the reals world pc's. Unfortunatley however, they can no longer see the internet which is essential to run the DNS Server. Humm, how you no what i mean. Like i say, any help or advice would be great. Thanks Andy
  22. Hi guys, Ok, I know that if netbios is disables the client is unable to browser lists of networks using my network places. What i want to know is: Will the client (with Netbios disabled) appear in the lists of other clients with netbios enabled? Thanks Andy
×
×
  • Create New...