Default installation path of Windows 2003 server: C:\WINDOWS or C:\WINNT - windows-server-2003

I have a couple of Windows 2003 server (32-bit) with the system files on C:\WINDOWS\SYSTEM32. At one of our client place, the Windows 2003 server (64-bit) system files are in C:\WINNT\SYSTEM32. What is the default installation folder for Windows 2003 server?
In case if NT based OS use C:\WINNT as default, then why Windows XP (which is NT based) and even the Windows 2003 server at my office installed at C:\WINDOWS by default?
Is there any guidelines regd. which OS/Version will use C:\WINDOWS and C:\WINNT respectively?

"What is the default installation folder for Windows 2003 server?"
The default folder name is WINDOWS, but the user can input whatever name they like. There is no default partition so the drive letter could be anything in the range C to Z.
"In case if NT based OS use C:\WINNT as default, then why Windows XP (which is NT based) and even the Windows 2003 server at my office installed at C:\WINDOWS by default?"
The drive letter had no default in NT either so it might be D:\WINNT or Z:\WINNT or whatever, depending on which drives had which partitions and which partition the person was installing NT into.
As for why the default folder name changed, you'd really have to ask Microsoft, but here's my guess. Windows 2000 was supposed to unify the old NT series and old Windows 1/2/3/95/98 series, so there was no longer a need to distinguish the NT series, and they just defaulted the name to WINDOWS. My guess is that this plan assumed ME wasn't going to happen.
Anyway, in NT too, the person could type a different folder name if they didn't want the default folder name.

Use %windir%, as in:
cd %windir%
And then you don't need to memorize anything :)

Related

(IIS8.5)Microsoft Excel cannot open or save any more documents

Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space. • To make more memory available, close workbooks or programs you no longer need. • To free disk space, delete files you no longer need from the disk you are saving to.
I am getting this error while opening an excel sheet in my application
Application is running fine on IIS5 and IIS7 but when I shifted it to Windows server 2012 R2 with IIS8.5 it didn't worked
I googled and found some solution but they also didn't worked.
Here is what I have tried
For both 32-bit and 64-bit versions of Windows, the folder “C:\Windows\System32\config
\systemprofile\desktop” must exist and you need Full Control permissions to the
“systemprofile” and “desktop” directories.
For 64-bit versions of Windows 7 or Server 2008 and higher, the “C:\Windows\SysWOW64
\config\systemprofile\desktop” folder must also exist and you need Full Control
permissions to the “systemprofile” and “desktop” directories.
For 64-bit versions of Windows Vista, the “C:\Windows\SysWOW \config\systemprofile
\desktop” folder must also exist and you need Full Control permissions to the
“systemprofile” and “desktop” directories.
For Windows 8.1, in addition to the above, the Windows Registry Key
[HKEY_Current_User\Softwware\Microsoft\Windows\CurrentVersion\Explorer\User Shell
Folders\Cache] must be set to C:\Windows\Temp
Finally found answer
On 64 bit system with 32 bit Office try this:
Start
Run
mmc -32
File
Add Remove Snap-in
Component Services
Add
OK
Console Root
Component Services
Computers
My Computer
DCOM Config
Microsoft Excel Application
after finding excel application give it appropriate security clearance and you are good to go

Pharo (SmallTalk) dont open Windows 8

I am having a problem with all the (portable, mountable, etc. ..) versions of Pharo (2.0).
I have a PC with Windows 8.1 (Desktop x64) and when trying to open Pharo I get the menu parameters to run it (see picture).
This is the portable version of Pharo who is in a Dropbox folder, and open the same exe from another PC (notebook) and runs well.
Pharo open right from the "sh" in Ubuntu, in this machine (desktop x64) and the notebook.
The problem persists if I download new / clean versions via Web of Pharo.
On the machine who I use Pharo (Notebook with Windows 7) is in the Dropbox folder (C:/Users/MyUser/Dropbox/Pharo). And it is the same directory as the desktop PC (Windows 8.1).
But I think I found what the problem is. When Pharo opened from the desktop (C:/Users/MyUser/Desktop/Pharo) did not walk, but when I ran from disk (C:/Pharo) worked well.
After I opened it from another disk folder (C:/AnyFolder/Pharo) and also worked.
But I went back to put it in user folder and didnt works (C:/Users/MyUser/Documents).
So the problem is the name of the folder "MyUser" (userfolder).
The userfolder in my PC has a tilde (ascento is Spanish) because it is a Spanish name.
I affirm that this is the problem because I created a folder with accent on the disk (C:/fólder/Pharo) and did not work.
And the problem has no solution but to change the name of the user folder. And is a little hard work.
Thank you.
"Solved" Problem...
Have a look at what's in the Pharo.ini file as this is what is pointing to the image.
[Global]
DeferUpdate=1
ShowConsole=0
DynamicConsole=1
ReduceCPUUsage=1
ReduceCPUInBackground=0
3ButtonMouse=0
1ButtonMouse=0
UseDirectSound=1
PriorityBoost=1
B3DXUsesOpenGL=0
CaseSensitiveFileMode=0
ImageFile=Contents\Resources\Pharo2.0-portable.image
Check the read/write status of the folder and files for the current user.
Are you running from a network drive? With a UNC path?
I just downloaded here on a Windows 8.1 x64 box and it works from a local folder.
Two possibilities to distinguish between are whether it is:
* some different machine
* running from the dropbox folder
Can you try copying it out of the dropbox folder to somewhere else on your C: drive?
Does the working machine have Pharo in a dropbox folder?
Please try the Pharo Launcher http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher

How to get Operating System Name in WiX Installer in non windows Operating Systems?

Recently I learned that we can execute a MSI file prepared for Windows operating system in Linux using Wine.
For our software we checked few pre-requisites like the Operating system should be Windows XP or higher using windows installer variable VersionNT.
But there is no such variable available where I can check if it is windows OR Linux. My requirement is if it is Linux I want to check some other set of per-requisites.
Is there a way I can get the operating system name in WiX?
I can't begin to say which properties get set in this reverse engineered environment. I'd suggest logging your install (typically /l*v but may be different ) and then see what properties it reports as being set and see if one of those meets your needs.

MSI self heal doesn't repair shortcut on Windows XP

I have a 32bit .NET app that uses the built-in MSI setup project in VS 2008.
It is deployed per-user using a GPO. This means it is installed on each computer the user logs on to. This way each user automatically gets the correct shortcut on their desktop.
All our workstations are Windows XP (32bit), but some of our users also log on to a terminal server (Windows Server 2008) which is 64bit. When they log on to the server and click on the shortcut, the msi installer launches (I think it's self-healing, changing the shortcut to Program files (x86) and they can use the application.
The problem is that when they log on to their workstation again and they click on the shortcut on their workstation, it immediately fails because the shortcut points to the Program files (x86) folder, wich doesn't exist on the XP machine.
I'd expect the MSI to self heal again to fix the shortcut. Can I force this to happen?
This is not supported by Windows Installer.
The automatic repair is performed only when Windows Installer detects a missing resource. Most likely the server machine cannot access some application files or registry entries, so it performs a repair which just happens to modifies the shortcut target. It's basically a coincidence.
Since the user account is roaming (the user can use it on multiple machines), the application should be installed in the user profile folder. Windows Installer provides AppDataFolder for this.
Using the user profile roaming folder will allow your users to access the application files correctly from any machine.

Setting up a sandbox dev environment for Sharepoint

I am planning to get Sharepoint (MOSS) setup on my home development workstation and one of the things I read about using virtualisation (I currently have Vista, need Windows Server) is that you can install VMs with different OS's (eg Vista, Server) or you can run one OS with the ability to do development on Sharepoint/MS CRM etc which is sandboxed (Can't effect the OS).
My pc specs: Intel Quad Core 2.4ghz, 4GB RAM, Vista 32-bit (so I can't see/use all 4gbs).
How is this usually setup?
Thanks
This article has everything you need. It covers essential post-installation tasks such as server configuration.
How to Create a MOSS 2007 VPC Image: The Whole 9 Yards
Just want to point out that there are more problems with 32-bit SharePoint than the fact that you can’t use all your memory. Read this blog post for more info. I guess you are talking about SharePoint 2007, but 2010 is around the corner and its 64-bit only (probably due to the problems described in that blog post). So I'd recommend you to do it properly and set up an x64 environment from the beginning.
Download a virtualization software. Virtual PC, Virtual Server, VMWare Server are popular and free
Install according to the instructions.
Create a virtual machine (it is usually a wizard)
Install a OS and configure manually, or you can download a use an existing virtual hard drive.
Microsoft Offers one you can use.
http://www.microsoft.com/downloads/details.aspx?FamilyID=67f93dcb-ada8-4db5-a47b-df17e14b2c74&DisplayLang=en
One option could be to copy an existing virtual image from the company network and run that image at home.
If you don't have any existing images at the company you can create one using the "physical to VM" option in VMware workstation / Virtual server and then clone an existing server.
Remember that you might need to create a library of images if you have to test code on an box with SP1, SP2, June Cumulative and so on.
this post on ServerFault is a nice guide to max the performance of the image.
I would just like to add the following to other great answers:
Use Windows 2008 Hyper-V as your host operating system. In my case it had much better performance than Vista on same machine
In case you plan to develop for SharePoint+CRM there is MS prepared virtual machine with both. Unfortunately it is available on to MBS partners. SharePoint only machine is publicly available. Both machines will expire after 30 days, but just apply your product key and you will prolong it's life for additional year.
I have installed Windows Server 2008 directly on my laptop, so no need for VMs. It's an x64 machine as well. I use SQL server 2008 as well. It's just easier than running VMs and believe me, you need the full 4 GB if you are running Vista. Just install the x64 version of Win2008 on your machine (Standard edition will do. Just use this Google query on how to set up Win 2008 just like Vista and make it the ultimate workstation!
Google Query

Resources