Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Documents and Settings Directory Disappeared

Posted on 2010-08-25
7
752 Views
Last Modified: 2012-06-27
I'm running Windows Server 2008 Datacenter Edition 64-bit as a VMware virtual machine.  I have a script that I run to read from a file share and load a database which are separate servers from this one.  The script started failing because Documents and Settings, which is where is the script is located, is gone.  I can not see this directory from Explorer or the command prompt.  From the command prompt it gives me a "File Not Found" output.  

Attached is a screen print of an error in the application log. Application log entry
0
Comment
Question by:LarsArvidson
7 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 33522947
I don't believe that is on W2K8...it's now called 'Program Data'.

~coolsport00
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 33522958
Specifically, I believe the folders are now:
"C:\Users" and "C:\ProgramData"

~coolsport00
0
 
LVL 14

Expert Comment

by:top_rung
ID: 33523003
coolsport00 is correct...

Documents and Settings doesn't/or isn't physically navigable in 2008.  It is more of a junction point (or a reference) to programdata directory.

So can you clarify your question?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 2

Expert Comment

by:zsaurabh
ID: 33523019
In Win2k8, Profiles are as Local Service so you will not see Documents and Setitings, you will get C:\Users or C:\Programdata
you have to change the script
0
 

Author Comment

by:LarsArvidson
ID: 33523593
My mistake.  The reason that I thought that there was a Documents and Settings was because I could CD to that directory.  Try it if you are running Windows 7 or 2008.  Use command completion.  

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\larsadmin.RSL>cd "\Documents and Settings"

C:\Documents and Settings>dir
 Volume in drive C is OS
 Volume Serial Number is 7444-13CE

 Directory of C:\Documents and Settings

File Not Found

C:\Documents and Settings>
0
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 500 total points
ID: 33524005
Documents and Settings on a Windows 2008 server is just a place holder or redirector for old programs that do not default to the new file system structure.
0
 
LVL 24

Expert Comment

by:B H
ID: 33524730

i figured i would post here because i received an email alert to do so:


coolsport00 has raised an objection: I object to the poster's accepted answer because...well...I gave the answer in the 1st 2 comments I made. So, I'm wondering why the poster accepted the answer he/she did...

coolsport, in your first two comments you said:

1. I don't believe that is on W2K8...it's now called 'Program Data'.
2. Specifically, I believe the folders are now:  "C:\Users" and "C:\ProgramData"

In the first case you're wrong, the folder "c:\documents and settings" has been replaced by "c:\users".  In the second case, you're getting closer but darius did provide the reason, albeit not the new location.

darius's answer is most correct, but i would also add the suggestion of using variables in your scripts, such as %userprofile% and %appdata% and the like. that way the script will work on any version of windows.

if it were up to me, i would have split points between http:#a33522958 and http:#a33524005


0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question