Update 2003 R2 32bit to 2008 R2 64 bit with active diractory
i want t upgrade my 2003 ent server R2 32bit with ad to server 2008 ent R2 64 bit
i want t upgrade my 2003 ent server R2 32bit with ad to server 2008 ent R2 64 bit
Not possible. Make your 2008 R2 an additional domain controller, transfer FSMO roles and then demote the old 2003 server.
Mahdi Tehrani |
|
www.mahditehrani.ir
Please click on Propose As Answer or to mark this post as
and helpful for other people.
This posting is provided AS-IS with no warranties, and confers no rights.
How to query members of 'Local Administrators' group in all computers?
Similar Messages
-
SCOM 2007 server OS upgrade from 32 bit Win 2003 SP2 to Win 2008 R2 64 bit
Dear Experts,
We are planning to upgrade where in SCOM 2007 R2 presents on 32 bit Virtual Machine Win 2003 SP2 to Win 2008 R2 32 bit or 64 bit. Though OpsManager Database is already upgraded to SQL 2008 R2 from SQL 2005. So No pblm with DB upgradation.
So my point is If I go ahead to upgrade from Win 2003 (SCOM 2007 R2 resides) to Win 2008 R2 does it create any impacts on SCOM 2007 R2 environment ? Please let me know the procedure for this or any documentation is available to complete this.
Thanks in advanced!
Saravana RajaFirstly,
Please note that you can only upgrade an OS to the same architecture (i.e. from x86 to x86, and not to x64). See the following Support Article about supported upgrade paths for Windows Server 2003: https://support.microsoft.com/kb/951041?wa=wsignin1.0.
Therefore, if you plan to upgrade to a x64 architecture, you will need to perform a new installation, and not an in-place upgrade. If you are going that route, I'd suggest skipping Windows Server 2008 R2, and try to push to Windows Server 2012 if not Windows
Server 2012 R2; to more future-proof your environment.
Further, If you are going to perform a new OS installation (to move into x64 architecture), why not also utilize the "new installation" requirement in that scenario to also upgrade to System Center 2012 R2 Operations Manager?
The base scenario would be for you to perform an in-place upgrade of Windows Server 2003 x86 to Windows Server 2008 R2 x86. Except, there is no x86 version of Windows Server 2008 R2, only x64! Note: Windows Server 2008 (without the 'R2') has an x86 option.
--- If you found this post/reply helpful, please visit my personal blog for more helpful articles. --- AdinE MCSE, MCSA, MCITP, MCTS; (Specializing in System Center and Private Cloud) LinkedIn: http://ca.linkedin.com/in/adinermie Website: http://AdinErmie.Wordpress.com -
10g Express Edition on Windows 2008 Enterprise R2 x64 with Active Directory
I have successfully installed the 10g Express Edition on Windows 2008 Ent. r2 x64 with Microsoft Active Directory Domain Controller but i could not be able to run http://127.0.0.1:8080/apex
Although i have run the http://127.0.0.1:8080/apex on my another Windows 2008 R2 x64 ant WITHOUT Active Directory Domain Controller Role.
i think its related with AD Domain server role of my server, because i run that on same config and operation without Active Directory Domain Controller role.
Can anyone help about this issue?
thanks in advanceI have experienced the same problem - running 10g Express on a Win 2008 (32-bit). When not being a Domain controller, the install was fine. When installing after the server had been given the Domain Controller role (+the required DNS), it failed. NO FIREWALLS are involved on the server. Seems like Oracle Express has problems being installed in this kind of environment - independent of x32 or x64 bit OS.
Edited by: 811504 on Nov 17, 2010 11:44 PM -
Windows 2008 r2 64 bit with 64 bit CF 8 - ODBC drivers missing excel
We installed a 64 bit CF8 enterprise server on our 2008 r2 64 bit system and we can't seem to figure out the ODBC problems. Most of the solutions we find online seem to apply to 32 bit versions of CF (on 64 bit 2008) - not x64 on x64 2008.
We've already used the ODBC utility (here to C:\Windows\SysWOW64\odbcad32.exe) to create our ODBC ... since that utility displayed the drivers we needed. Once those were setup, we tried importing this registry branch
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC
into this one
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC
to try to get things to be recognized. No dice.
Is there a 64 bit version of the Excel driver? If not - Or is there a way to get the 32 bit version of the Excel driver to work? If there's a way for us to use the 32 bit version of these drivers, we would really want to know what it is :-) We have some text drivers we'd also like to use (*.txt, *.csv)
We can provide screenshots as necessary.
Thanks much.We installed a 64 bit CF8 enterprise server on our 2008 r2 64 bit system and we can't seem to figure out the ODBC problems. Most of the solutions we find online seem to apply to 32 bit versions of CF (on 64 bit 2008) - not x64 on x64 2008.
We've already used the ODBC utility (here to C:\Windows\SysWOW64\odbcad32.exe) to create our ODBC ... since that utility displayed the drivers we needed. Once those were setup, we tried importing this registry branch
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC
into this one
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC
to try to get things to be recognized. No dice.
Is there a 64 bit version of the Excel driver? If not - Or is there a way to get the 32 bit version of the Excel driver to work? If there's a way for us to use the 32 bit version of these drivers, we would really want to know what it is :-) We have some text drivers we'd also like to use (*.txt, *.csv)
We can provide screenshots as necessary.
Thanks much. -
Unable to install security updates via WSUS on Windows 2008 client servers
When I try install to install updates on Windows 2008 client servers I get the error : Code 80244019 Windows Update encountered an unknown error
After running the WSUS Client Diagnostic Tool I get the result : GetFileVersion(szEngineDir,&susVersion) failed with hr=0x80070002 The system cannot find the file specified.
On a Windows 2003 server the WSUS Client Diagnostic Tool shows no error message. So I guess the problem seems to be specificly related to Windows 2008 servers.
The client server has been integrated into a WSUS console version 3.2.7600.226 runnning on a Windows 2003 Enterprise Edition SP2.
Thanks in advance for the help in resolving this issue.When I try install to install updates on Windows 2008 client servers I get the error : Code 80244019 Windows Update encountered an unknown error
The 0x80244019 error is an HTTP 404 error and when encountered trying to "install updates", which really occurs when trying to
download the update files so that the updates can be installed, is almost always a function of the desired file having been manually deleted from the WSUS server. The file that should be there for the needed update, isn't, but it used to be.
If all of the clients are getting this error on all updates, then that's a function of the content store on the WSUS server being missing, in the wrong place, or configured with the wrong ACLs.
After running the WSUS Client Diagnostic Tool I get the result : GetFileVersion(szEngineDir,&susVersion) failed with hr=0x80070002
This result is inconclusive, and not really relevant. The CDT is 32-bit only and can't be used on 64-bit systems. Plus, we already know the client is talking to the WSUS server -- you've reported the error code -- so the Client Diagnostic Tool will
tell us nothing of use at this point (even if it did work on 64-bit systems).
On a Windows 2003 server the WSUS Client Diagnostic Tool shows no error message.
Cool. It works on a 32-bit system.
So I guess the problem seems to be specificly related to Windows 2008 servers.
No... BUT... allow me to make an example of this for just a moment, and forgive me for that.
This is a great example of arriving at the wrong conclusion, caused by not considering ALL of the differences, as well as the scope and capability of the diagnostics performed. The error is not because one is '2003' and the other '2008; the error is because
one is 'x86' and the other is (obviously) 'x64'. And, in either case, diagnosing the client was wasted effort because the client is already working. (It got a real HTTP error message from the WSUS server.)
Now, we need to get some real diagnostic information to find out why you're getting this error code. :-)
Please post the actual entries from the WindowsUpdate.log where this error code appears, plus a hundred lines prior, and let's get some context around the error code, and the exact update that's involved in this issue.
Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
http://www.solarwinds.com/gotmicrosoft
The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds. -
R12 Cloning from Windows 2003 64 bit to Windows 2008 R2 64 bit
Dear Gurus,
I have a 12.1.3 applications and 11.2.0.2 database running on Windows 2003 *64 bit*. Now I need to perform a migration from Windows 2003 to Windows 2008 R2 64 bit. Please confirm if we can directly perform a clone from 2003 64 bit to 2008 R2 64 bit using Rapid clone?
Thanks in advance!
-KhanWe are in Windows 2003 32bit on Applications and Windows 2003 64 bit for database. This architecture was certified as per Support which we had confirmed via SR.Correct.
BTW the reason for raising this thread is that the clone failed for db Tier at a very first go with the below error where it states unknown OS Windows 2008 R2.
E:\TEST\oracle\11.2.0\appsutil\clone\bin\..\jre\bin\java.exe -Xmx600M -cp E:\TES
T\oracle\11.2.0\appsutil\clone\jlib\java;E:\TEST\oracle\11.2.0\appsutil\clone\jl
ib\xmlparserv2.jar;E:\TEST\oracle\11.2.0\appsutil\clone\jlib\ojdbc5.jar oracle.a
pps.ad.context.CloneContext -e E:\TEST\oracle\11.2.0\appsutil\clone\bin\..\conte
xt\db\CTXORIG.xml -validate -pairsfile C:\Users\APDF38~1.ADM\AppData\Local\Temp\
2\adpairsfile_2800.lst -stage E:\TEST\oracle\11.2.0\appsutil\clone 2> C:\Users\
APDF38~1.ADM\AppData\Local\Temp\2\adcfgclone_2800.err && echo %ERRORLEVEL% > C:\
Users\APDF38~1.ADM\AppData\Local\Temp\2\adcfgclone_2800.res
RC-20011: Fatal: Failed to retrieve OS name. The following OS string returned fr
om System.getProperty("os.name") is unknown: Windows Server 2008 R2
Can't open Exception in thread "main" java.lang.ExceptionInInitializerError:
Invalid argumentPlease see these docs.
How to Overcome Windows 2008 Being Unrecognised by AutoConfig and rapid Clone? [ID 1270782.1]
Running adbldxml.pl On Windows 2008 R2 Dbtier Fails On Unknown: Windows Vista [ID 1263136.1]
Thanks,
Hussein -
Windows Server 2003 R2 32bit keeps unexpectedly rebooting - System Stop Failure
Good morning all,
I am currently having a very difficult time with my servers running Windows Server 2003 R2 32Bit SP2. I have had this server running over night last night and to come in this morning to find it has rebooted 4 times due to unexpected reboots. I have applied
the latest hotfix to this server but nothing has worked. This is a unknown server as its my companys branded. its got a 13 slot PCI backplane with a processor card running a i7 2600K with 4GB RAM. The processor card is called a ROBO-8780. I have got 5 HDD's
first 2 is RAID 1 which hold the OS and last 3 is RAID 5 which holds the data.
I am getting loads of different problems aswell on different servers where on a freshly build OS of Windows Server 2003 R2 32Bit SP2, its rebooting on the Windows splash screen, can sometimes get into safe mode but very rarely.
If you need any more information, please let me know, any help is appreciated!
ThanksHi,
Could you offer us the system log record information,Please do the following action then monitor again.
1. Run Windows Update and make sure you have the latest patches and service packs installed
2. Check so your server have the latest drivers installed from the manufacturer homepage. If not, please update your drivers, firmware and BIOS
3. Uninstall any Antivirus.
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Hope this is the place to seek help with Active Directory Certificate Services. We recently upgraded in place an issuing CA in our lab from 2003 to 2008 and the upgrade of the OS was successful but the CA service now will not start.
The error is:
Error 0xc8000222 (ESE: -546)
More info. We did stop the CA service prior to doing the upgrade.Answering my own question with the hopes to help someone else.
The problem has something to do with the logs for the certificate database. There is some sort of a format conflict after upgrading to 2008.
To get around this error, and get the Certificate Authority service to start, remove all the logs from the C:\Windows\system32\CertLog directory that should be where your .edb database file lives, leave the database file there
This worked for us on three of four of our CA servers, the other one had a database that went down in a dirty state, so we had to use ESEUTIL utility to fix the database.
NOTE: there is no ESEUTIL utility on the CA servers, so we had to copy our database to an Exchange server in our test lab, then run ESEUTIL /MH to see what the Status is, it may say Dirty or Clean, then we ran ESEUTIL / P (P for Repair, go figure I know
right) anyway that fixed the database, so we copied it back over to the CA and started the service
hope this helps some of you out, we have a case opened with Microsoft Technical Support on this issue and will update this thread with their feedback as well once they get back to us (it has been a week already) -
Why can you not introduce a 2003 server into a 2008 domain?
Hello,
So we are going to be upgrading our domain very shortly from 2003 to 2008 R2. I know that we are not able to have a 2003 server in the 2008 forest, but the question is why? I'm trying to find some information on Google but can't actually find the reason.
I have some ideas as to why, but I wanted some solid info, if possible.
Thank you!In that case it depends on current functional level. If you're at 2008 or greater then you would not be able to bring in a 2003 DC.
http://technet.microsoft.com/en-us/library/cc787385(v=ws.10).aspx
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Last night I downloaded the latest Word update. Today the first Word document crashed and I lost 45 minutes of work in spite of having saved the document numerous times. Why is Word crashing the day after a safety update? I have Office 2008 for Mac
One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
Reboot, test again.
If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
Check the System Preferences>Other Row, for 3rd party Pref Panes.
Also look in these if they exist, some are invisible...
/private/var/run/StartupItems
/Library/StartupItems
/System/Library/StartupItems
/System/Library/LaunchDaemons
/Library/LaunchDaemons
Open Console in Applications>Utilities, check the system log for the date/time of the last problem & next startup for clues. -
HI,
I have installed Cumulative Update 12 for SQL Server 2008 R2 SP2 on my SharePoint instances. This was to resolve a known issue faced with the instance. CU12 helped resolve the issue. My company is rather strict regarding security hotfixes. But I am
not sure if this particular hotfix [Security Hotfix (KB2977319)] is required if the instance has CU12 applied.
Tested this on a Lab server, the installation did run fine, the summary log also stated that the KB is applied. But the Build Number did not change. Hence the doubt.
Overall summary:
Final result: Passed
Exit code (Decimal): 0
Exit message: Passed
Start time: 2014-09-06 10:31:21
End time: 2014-09-06 10:55:49
Requested action: Patch
Instance SPNTSQLTRN overall summary:
Final result: Passed
Exit code (Decimal): 0
Exit message: Passed
Start time: 2014-09-06 10:48:08
End time: 2014-09-06 10:55:45
Requested action: Patch
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL2008
Type: RTM
Version: 10
SPLevel: 2
KBArticle: KB2977319
KBArticleHyperlink: http://support.microsoft.com/?kbid=2977319
PatchType: QFE
AssociatedHotfixBuild: 0
Platform: x64
PatchLevel: 10.52.4321.0
ProductVersion: 10.52.4000.0
GDRReservedRange: 10.50.4001.0:10.50.4199.0;10.50.4200.0:10.50.4250.0
PackageName: SQLServer2008-KB2977319-x64.exe
Installation location: e:\ac2af22d88ee645b5b32b5c178\x64\setup\
Please inform if I need to apply the hotfix on CU12. Thanks in advance.
John SYes you must install Security update mentioned in KB 2977319 it is important for SQL Server to be patches with this security update. Without this it could allow an attacker to compromise your system and gain control over it.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Articles -
The boot camp manager keeps quitting after re-starts with an error message, why? I've installed the latest updates for XP 32bit
Alveto wrote:
The boot camp manager keeps quitting after re-starts with an error message, why? I've installed the latest updates for XP 32bit
Are we supposed to guess what the error message is? -
LOG: please help !
Process: Microsoft Entourage [1898]
Path: /Applications/Microsoft Office 2008/Microsoft Entourage.app/Contents/MacOS/Microsoft Entourage
Identifier: com.microsoft.Entourage
Version: ???
Build Info: Unknown-130206~0
Code Type: X86 (Native)
Parent Process: launchd [143]
Responsible: Microsoft Entourage [1898]
User ID: 501
Date/Time: 2014-05-25 22:28:03.723 -0300
OS Version: Mac OS X 10.9.3 (13D65)
Report Version: 11
Anonymous UUID: CA622B44-00FC-6DE0-2E93-06BC2CA3B3D7
Sleep/Wake UUID: 2FAACDD1-EDFA-46D8-BCB8-21C3E7174E52
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @executable_path/../Frameworks/EntourageLegacy.framework/Versions/12/EntourageL egacy
Referenced from: /Applications/Microsoft Office 2008/Microsoft Entourage.app/Contents/MacOS/Microsoft Entourage
Reason: image not found
Binary Images:
0x8fe90000 - 0x8fec2417 dyld (239.4) <FF5ED937-CC28-3FEF-BCAF-750B1CDBAE36> /usr/lib/dyld
0x905bf000 - 0x907c1fff com.apple.CoreFoundation (6.9 - 855.16) <6283B27F-3C46-365F-932C-1A7102D8A3CF> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9085b000 - 0x908c4fff com.apple.SystemConfiguration (1.13.1 - 1.13.1) <3AD9C90B-40A9-312B-B479-3AB178A96EA1> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x909d2000 - 0x909d2fff com.apple.CoreServices (59 - 59) <06747539-5035-3307-8645-9BC4E7F89023> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x91e70000 - 0x9219bffe com.apple.Foundation (6.9 - 1056.13) <C33A8984-7E97-36BE-B842-EE4FE35F53EA> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9268b000 - 0x92907fe7 com.apple.QuickTime (7.7.3 - 2826.19) <AEF12245-C9D5-3B50-8AB6-45DC794E693E> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x92e0d000 - 0x92e0dfff com.apple.Carbon (154 - 157) <C49AD4A1-8DE3-357D-AEF3-D6CD39EA91EF> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x93ae7000 - 0x93d56ff6 com.apple.security (7.0 - 55471.14.4) <4C9E60A9-6861-3AFF-BEB8-637771FEC78B> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x9b623000 - 0x9b623fff com.apple.ApplicationServices (48 - 48) <7967F6FA-2984-3CC3-AD9A-7B9AEC562A2A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
Model: MacBookPro7,1, BootROM MBP71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 4 GB, SMC 1.62f7
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x802C, 0x384A53463235363634485A2D314731443120
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x802C, 0x384A53463235363634485A2D314731443120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.4f1 13674, 3 services, 15 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: ST9250315ASG, 250,06 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: Built-in iSight
USB Device: Internal Memory Card Reader
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: IR Receiver
USB Device: Apple Internal Keyboard / Trackpad
Thunderbolt Bus:Identifier: com.microsoft.Entourage
Version: ???
Build Info: Unknown-130206~0
Dyld Error Message:
Library not loaded: @executable_path/../Frameworks/EntourageLegacy.framework/Versions/12/EntourageL egacy
Referenced from: /Applications/Microsoft Office 2008/Microsoft Entourage.app/Contents/MacOS/Microsoft Entourage
Reason: image not found
Follow the path to see if you file is actually missing:
Applications > Microsoft Office 2008 > Office > EntourageLegacy.framework> Versions>12
(Control-Click (Right-click) to view contents
Download and run the Mavericks combo updater.
OS X Mavericks 10.9.3 (Update (Combo)
http://support.apple.com/kb/DL1746
Run Repair Permissions
To use Repair Permissions:
1. Open Disk Utility in your Applications/Utility folder.
2. Click on the First Aid tab and select Repair Permissions
3. Click on the icon for your boot volume.
4. Click the repair permissions button.
Check to see if Entourage opens. If not you'll need to re-install.
A simple remove and re-install should work. Be sure to update to v 12.3.6
Office for Mac 2011: Remove Office
http://www.officeformachelp.com/2012/12/office-for-mac-2011-remove-office/
Original DVDs of Office 2008 come with the installed version 12.0.0. Newer shipping DVDs install 12.1.0 (SP1) or 12.2.0 (SP2)
After installing verify version installed. Manually download or select "Check for updates" under Help in the Menubar in any Office application to update fully. If you do not update fully after reinstalling Office 2008, your identity might fail to open.
Manual download:
Updaters must be applied in order.
12.1.0 SP1
http://www.microsoft.com/en-us/download/confirmation.aspx?id=7799
12.2.0 SP2 requires 12.1.0 or higher be installed
http://www.microsoft.com/en-us/download/confirmation.aspx?id=17575
12.3.6 Requires 12.2.0 or higher be installed.
http://www.microsoft.com/en-us/download/details.aspx?id=29723 -
Hi
Anyone knows whether Windows 2008 R2 domain controllers with Windows 2003 forest functional level will still be Supported after Windows 2003 support ends in July 2015 ?
ThanksWhen Windows Server 2003 support ends, you should not have a Windows Server 2003 Domain Controller running if you would like to be supported by Microsoft. This means that there will be no reason to have a DFL or FFL that is lower than Windows Server 2008.
So, if you are keeping Windows Server 2003 FFL to keep DCs running Windows Server 2003 then this is not supported.
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
What's the fastest way to copy 151GB, 375000 files from win 2003 server to win 2008 server
Non techie here.
I have a project where I need to get 151GB of data spread over 375000+ files moved from a win 2003 FAP to a 2008 server. Copy, xCopy, Robocopy all take in excess of 50hours to move it to an external HDD. Has to be external move for security reasons.
I have 40 hours max to get it off and onto the new server.
Cheers
IanI copied over 12TB in 24 hours using the method below. A lot of this depends on your infrastructure. The scripts I used are unmodified for your case. I suggest you give them a look and understand the process and change it to fit your needs.
There are 2 parts. The first is a Main script that schedules PowerShell jobs that actually do the work. The main script will read a file called JobCount every loop to see how many jobs it can run at one time, the reason I did this was to change the number
of jobs depending on Day (production) times and Night times. Also, the Main loop reads a nomig file that tells the script, don't move these folders because they were our test cases, you can even do test cases during the migration since you can modify the file
while the script is running. The example was use to move thousands of home folders. Using Robocopy if you tell a single command to do everything, it will take hours to start, just looking around. If you do one root folder at a time, it will run much faster
which is the reason I created this. If you have a small number root folders, you may want to point it at folders where you do have a lot of subs, remember you can have more than one main process running in different runspaces.
Main Script
VVVVVVVVVV
$homeOld = (Get-ChildItem -Path \\server\share | select name)
$JobRun = 10
$i = 0
$Count = $homeOld.Count
foreach ($homeDir in $homeOld) {
$i = $i + 1
$Sdir = $homeDir.Name
Write-Progress -Activity "Migrating Homes" -Status "Processing $i of $Count" -PercentComplete ($i/$homeOld.Count*100) -CurrentOperation "Next to Process $Sdir"
$not = gc \\serverl\share\script\nomig.txt -ErrorAction "Stop"
$JobRun = gc \\server\share\script\jobcount.txt -ErrorAction "Stop"
if ($not -notcontains ($homeDir.Name).ToLower()) {
While ((Get-Job -State "Running").Count -gt ($JobRun-1)) {
Start-Sleep -Seconds 3
if ((Get-Job -State "Completed").Count -gt 0) {
$Comp = Get-Job -State "Completed"
foreach ($Job in $Comp) {
$outfile = $Job.name + ".txt"
Receive-Job -Job $Job | Out-File -FilePath "\\server\share\verify\$outfile"
Remove-Job -Job $Job}
Start-Job -Name $Sdir -ArgumentList "\\server\share\$Sdir", "\\newserver\share\$Sdir", "/COPYALL", "/MIR", "/W:1", "/R:1", "/MT:5" -FilePath \\server\share\script\robothread.ps1 > $null
else {
Write-Host $HomeDir.Name " Excluded" -ForegroundColor Green
=====
Thread Script - where Robocopy does the work.
VVVVVVVVV
& robocopy $args[0] $args[1] $args[2] $args[3] $args[4] $args[5] $args[6]
============
This comes with no warranty, it is just an idea I used to do a very fast copy with permissions and all attributes, where no other method was useable.
Thanks,
Allan
Allan
Maybe you are looking for
-
Handling Sequence of Services in Oracle Service Bus 11g
Hi there, I am very new to Oracle Service Bus, I want to achieve the following sequence of operations in OSB, please help me or guide me how to achieve it in sequence manner. 1) Transfer .txt file from STFP server to local shared folder. 2) Calling E
-
Menu bar lags in appearing after I boot up my cpu (brand new macbook pro retina display 13"
I just bought a new cpu and i noticed that after i boot it up after shut down i will not see the top menu bar load until i force click the top of the screen where is should be. What can cause this issue?
-
In Snow Leopard, the magic trackpad was a thing of beauty. tap to click, swipe with three fingers to navigate, two finger tap for contextual menu. Horizontal scrolling just an evil threat, easily opted out of. Now that I've upgraded, well, three fin
-
FLASH SECURITY FLAW / FLASH 10.1 BETA
Re: Regarding the Flash security flaw, on the advice of an expert I installed ver 10.1 beta but now I can't stream audio. The players all say i need flash to play. But since I installed 10.1, don't I already HAVE Flash?
-
App for OS X Snow Leopard ?.... Have a ? before I DL
it seems like a good app ad has 4 out of 5 stars by both users and editors. Anyoe hear of Onyx. it's for maitenance ad optimazation, It says this and i'm certaily not a pro atthis stuff. The publisher writes this OnyX is a multifunction utility