Return to AskMe Archive Main Page
Return to Main PowerUsers.info Main Page
**********************************************************************
PowerUsers.info - Paul Doherty Askme Archive of Questions and Answers
Category : Windows NT
QAId : 3443210
Asker : ecohen3978
Subject : Im sorry
Private : Yes
Question : Paul , I came to you for advice to help me with these questions that
I did not understand. As all I wanted for you to help me with was the
explainations for those questions, not just the answers. I hope you will
reconcider helping me. I always gave you good marks.
Thanks Ed
ecohen3978@aol.com
Need More Information : I get a lot of questions and I sometimes decline them
due to them not supplying enough information, because I'm too busy, or just
because I may not know thr answer. So please don't take offense if I decline a
question as it's only due to one of those three reasons.
Since I don't remember which question we're talking about if you believe it was
a question I would know the answer to please post it again. If I can answer it I
will (as always).
--
Paul Doherty
http://members.home.net/iqueue
Answer : Ah, I see the post with questions you're referring to... you hadn't
received a response because I hadn't read it yet! :-)
And after looking at that beast you may not get an answer... :-0
--
Paul Doherty
http://members.home.net/iqueue
Rating : 1
----------------------------------------------------------------------
QAId : 3470497
Asker : Anonymous
Subject : Copy files from NT to UNIX (Solaris 6)
Private : No
Question : Hi,
I have a NT 4 Workstation with SP4. After running certain tasks, it will
generate "data" files in "c:\data" directory.
These datas are required by another server running Solaris 6(Unix).
I know Unix cannot ftp tp NT since my w/s does not have IIS installed. But NT
can ftp to Unix.
My question is, how to create a batch file (*.bat) in NT to transfer all the
datas from the location above to the Unix server ?
Please help.
Thanks.
Answer : Download my free utility, FTPBatch, and you can easily set this up...
http://members.home.net/iqueue
--
Paul Doherty, CNA, CNE, MCP+I, MCSE, A.A., B.A.
http://members.home.net/iqueue
Home of PC DiskMaster and other Windows utilities
Rating : 3
----------------------------------------------------------------------
QAId : 3470504
Asker : Anonymous
Subject : Copy files from NT to UNIX (Solaris 6)
Private : No
Question : Hi,
I have a NT 4 Workstation with SP4. After running certain tasks, it will
generate "data" files in "c:\data" directory.
These datas are required by another server running Solaris 6(Unix).
I know Unix cannot ftp tp NT since my w/s does not have IIS installed. But NT
can ftp to Unix.
My question is, how to create a batch file (*.bat) in NT to transfer all the
datas from the location above to the Unix server ?
Please help.
Thanks.
Answer : Download my free utility, FTPBatch, and you can easily set this up...
http://members.home.net/iqueue
--
Paul Doherty, CNA, CNE, MCP+I, MCSE, A.A., B.A.
http://members.home.net/iqueue
Home of PC DiskMaster and other Windows utilities
----------------------------------------------------------------------
QAId : 3485345
Asker : carrie_ann_mann
Subject : Autorun - not a valid Windows NT program
Private : No
Question : I've burnt a CD Rom containing some IE web pages and I wanted to use
autorun. So I included a autorun.inf file with the lines
[autorun]
OPEN=INDEX.HTML
Now when I double click on the CD rom drive I get the message "Not a valid
Windows NT program"
Is there any other way I can get autorun working?
Answer : Example of setting up a CD for autorun with a web page being the
target:
http://www.xbuilder.net/docset/xbuilder/htmlhelp/general_creating_a_cd_rom.htm
It appears the syntax you need is a little different than the one that failed on
you:
[autorun]
OPEN=ShelExec \default.htm
Info on the autorun.inf, including all valid commands:
http://msdn.microsoft.com/library/psdk/shellcc/shell/Shell_basics/Autoplay_cmds.htm
Here's a utility to help in creating autorun.inf files:
http://bidtech.faithweb.com/programs/autodsin.htm
--
Paul Doherty
http://members.home.net/iqueue
Rating : 5
----------------------------------------------------------------------
QAId : 3538109
Asker : Anonymous
Subject : "AT" command to execute batch file every day
Private : No
Question : I like to run a batch (*.bat) file everyday at 12AM. How to put it in
"AT" command ?
Again I will be setting the AT command as administrator, but at other times
normal user will be running the machine. That should not be a problem to run the
batch job right(which requires admin priviledge)
Thanks.
Answer : AT 00:00 /every:M,T,W,Th,F,S,Su cmd.exe /c "D:\Directory\WHATEVER.BAT"
You will need the Scheduler service running and may need to change what account
it is run as (in the properties for the Scheduler service).
--
Paul Doherty
http://members.home.net/iqueue
FUQuestion : If I run this as admin user and later changed user to normal user,
would this job will still be able to run?? The batch process requires admin
access.
Rating : 5
Answer : Try it and see... set it for 5 mins from now and then login as another
user and see if it runs. If it's not something you can easily see has run put
this line at the beginning of the BAT file:
copy c:\winnt\whatever.txt c:\test.txt
Make sure "whatever.txt is a real text file). Now when the BAT file runs you
will see a new file in C:\ called "test.txt". If the time expires and you don't
see that file it didn't run. Alternately you can download my free utility DateIt
and run it as the first line in your BAT file (and any other BAT files you want
to keep track of) and it will create a file that has as it's name today's date -
that line at the beg of your BAT file would be like this:
dateit
Just copy dateit.exe to \WINNT\SYSTEM32 and you can use it in all your BAT
files.
http://members.home.net
--
Paul Doherty
http://members.home.net/iqueue
FUQuestion : Hey Paul,
Yes it worked...once I executed the "AT" command as an admin, it performs the
tasks irregardless of who is logged on. As a guest user I can't view any "AT"
tasks (permission denied).
Thanks for your help.
Answer : You're quite welcome!
--
Paul Doherty
http://members.home.net/iqueue
----------------------------------------------------------------------
QAId : 3571454
Asker : CADuzer
Subject : dual operating systems
Private : No
Question : I have heard from some people that if you want to run Windows NT 4.0
and Windows 98 together, it is better to install Windows 98 first. I have also
heard the opposite true. Which one is actually true? If it turns out that it is
recommended to install Windows 98 first, will it still work to install it
second?
- Scott Rosenbloom
Answer : you should install 98 first, if for no other reason than 98 will waste
the MBR (Master Boot Record) and force you to recover from your NT floppies. Do
it in this order:
1) Define the FAT16/32 partition(s) for 98 (leave free space for NT)
2) Install 98 there
3) Install NT - create a 1GB NTFS for the OS and leave the rest for an NTFS data
partition (create with Disk Administrator after install).
--
Paul Doherty
http://members.home.net/iqueue
----------------------------------------------------------------------
QAId : 4058645
Asker : ecohen3978
Subject : tcp/ip scopes
Private : No
Question : Can you have 50% of your scopes on one server and 50% on the other.
Are does it have to be 75%on one and 25% on the other.
Answer : I have never heard of this - to my knowledge you can have any
proportions you want, just make sure they do not overlap on addresses they
cover.
--
Paul Doherty
http://members.home.net/iqueue
----------------------------------------------------------------------
QAId : 4228556
Asker : contactdave
Subject : win nt4
Private : No
Question : I have windows NT4 on my computer. I have three partition C D E on C
it's the operating system D is used for swap file and on E I have the other
softwares and the data.
It was working fine but it does not let me go into d or e drive I can only go in
c drive although the programs on e drive are running ok. ( nothing has changed
in the disk administration properties)But if i have to do anything I can not
view these drive. i also tried to go through DOS prompt and try to go to these
drives it just gets stuck there. and if you go through windows explorer the
system just hangs there.
Pls Help.
thank you
Dave
Answer : Try running a chkdsk /f on each of D: and E: from a DOS prompt (without
changing to those disks first):
C:
chkdsk /f d:
chkdsk /f e:
If chkdsk can't solve the issue (perhaps due to the files being in use) it will
queue itself to check during the next boot before the GUI is loaded.
--
Paul Doherty
http://members.home.net/iqueue
Rating : 4
FUQuestion : thank you for your answer. You are the only person who could help
in a right manner at the right time. thank you again. I did what ever you told
me to do .
but only problem is it erased one really important file of the third party
software and it fixed another file which we were having problem as well.
Answer : (no answer requested)
You're welcome...
----------------------------------------------------------------------
QAId : 4231484
Asker : hikams
Subject : WindowsNT
Private : No
Question : What do u mean by Network Number assigned to clients while
configuring RAS Server to use IPX/SPX?
Answer : Every IPX network segment has a network number, and every client too
has a number.
http://networks.cwu.edu/std-cwu-netnumbers.html
--
Paul Doherty, CNA3/CNE_4/CNE_IW/CNE_5/MCP/MCSE/A.A.Sc./B.A.
http://members.home.net/iqueue
Home of PC DiskMaster and other Windows utilities
Rating : 4
----------------------------------------------------------------------
QAId : 4231500
Asker : hikams
Subject : WindowsNT
Private : No
Question : While expalaining the ISDN concept i came know about D-Channels which
is defined as passing Control and Signalling information.what exactly it
passes.?
Answer : There are two types of ISDN channels - control and data. The control
channels handle call setup ("ringing" the other line for answer, hanging up,
setting up transfer parameters, etc).
--
Paul Doherty, CNA3/CNE_4/CNE_IW/CNE_5/MCP/MCSE/A.A.Sc./B.A.
http://members.home.net/iqueue
Home of PC DiskMaster and other Windows utilities
Rating : 4
----------------------------------------------------------------------
QAId : 4371772
Asker : Anonymous
Subject : AMIGA 4000T motherboard
Private : No
Question : where i can find motherboard for an Amiga 4000T
Answer : I didn't see any A4000T motherboards for sale - you may have to call
some of these folks...
http://home.spro.net/ccc/
http://www.amigainnovations.com/
http://www.classiconline.org.uk/indexami.html
http://www.amigaisland.com/
A nice summary page of authorized Amiga dealers:
http://www.amiga.com/products/dealers.php
Something you may want to consider is the new AmigaOne project machines. This
may make more sense than buying a replacement motherboard:
http://www.amiga.com/products/one/
http://www.eyetech.co.uk/NEWS/AMIGA005.HTM
--
Paul Doherty
http://members.home.net/iqueue
----------------------------------------------------------------------
QAId : 4519073
Asker : cau_tuan
Subject : Windows NT boot disk
Private : No
Question : Who knows how I can make a Windows NT
4.0 boot disk?
I have a NTFS formated C: drive. I want to boot up on the A: drive, then
cd to the C: drive, so I can restore a file.
Answer : Open a DOS prompt inside NT with the NT CD in the drive (assuming D:
for this example):
D:
cd \i386
winnt /ox
--
Paul Doherty
http://members.home.net/iqueue
DOS/Windows Utilities
Rating : 4
Rating : 4
----------------------------------------------------------------------
QAId : 4675293
Asker : Anonymous
Subject : lost drive space
Private : Yes
Question : I have just installed windows NT onto my system as a dual boot. i
partitioned my drive as c:/2gb [fat16] and d:/10gb where NT was installed.
however when it came to installation the installer said that 10gb was too large
so i got it to futher partition my drive d:/ into a 2gb section as NTFS. now i
seem to have lost the rest if you see what i mean. I have a c:/2gb[fat16] and a
d:/2gb NTFS but the system (explorer or fdisk) cannot see the other 8gb which i
want to format as a seperate drive with NTFS. any suggestions?
Answer : Once you've booted into NT and logged in as an administrator try
running the Disk Administrator under the NT tools (Start/Programs/Administrative
Tools?). It should let you create a partition from the free space.
--
Paul Doherty
http://members.home.net/iqueue
Home of DOS/Windows Utilities
----------------------------------------------------------------------
QAId : 4905776
Asker : ladimer
Subject : Disabled Display
Private : Yes
Question : I don't know about NT from an administrator's viewpoint but at work
the whole display feature was disabled about three months ago because people
didn't test the new screen settings before applying them.
I know better, and I was wondering how I could adjust this myself at work. I'm
not some malicious or disgruntled employee, I just want to adjust the screen
area so I can be more efficient.
At the moment there's no standard and you just get stuck with whatever settings
the computer had when the feature was disabled.
Thank you,
Ladimer
Need More Information : Do you mean the video display on the monitor attached to
the NT server? If so what about it is wrong or "disabled"?
FUQuestion : I'm sorry for the wait, long story.
I actually meant the Display in the Control Panel or Desk.cpl
It seem that this is an impossible task unless I have a Sys Administrator do it.
but they are too busy doing more important stuff (At least I hope they're not
just twidling their thumbs). I have had them do it once for me on a Sunday when
it wasn't busy, they used PC Anywhere to log me out and themselves in and the
feature was of course not disabled for them so they changed it for me.
To think that all this really started because one person was sick of changing it
back to her setting every day (without thinking that the person who changed it
might feel the same way). That lady has now been fired.
If you think this is impossible as well don't stress about it, I know it's
pretty petty.
Answer : It sounds like they are using profiles to lock everyone but themselves
out of that function of the control panel. Not much you can do about it - at
least not without perhaps letting them know you've messed with their system and
jumping through hoops to do it.
--
Paul Doherty
http://members.home.net/iqueue
DOS/Windows Utilities
Rating : 5
----------------------------------------------------------------------
QAId : 5490624
Asker : swaseem2000
Subject : problem
Private : Yes
Question : i am going to open a internet cafe so, windows n.t is better or
windows 2000 is better for server
Answer : If the program you're using runs on NT 4 I'd stick with it for that
application. It consumes far less resources.
--
Paul Doherty
http://members.home.net/iqueue
Home of DOS/Windows Utilities
----------------------------------------------------------------------
QAId : 5748427
Asker : donna94
Subject : Running scheduled task on NT server 4.0
Private : No
Question : Hi,
I have a vbs file that I run daily on a windows 98 computer. I set this up using
the scheduled task wizard in the control panel. I want to move this file to an
NT server and eventually to a Windows 2000 server. Is there a way to schedule a
script to run daily in these 2 operating systems>
thanks
donna
Answer : Sure you can - in NT/2000 you will use the 'at' utility to schedule
jobs to run. Make sure the "scheduler" service is installed and enabled on your
machine (required for 'at' to work).
To add an item to run with at follow this example:
at 14:30 "d:\wherever\myprog.bat"
The above command would schedule a one-time run of 'myprog.bat' at the next
occurrence of 2:30PM (at uses miltary time, so it's 14:30). If you ran this
before 2:30PM it would run the same day, otherwise it would be scheduled for
"tomorrow" when viewed with 'at' alone at a prompt.
Example 2:
at 01:00 /every:1,5,10,15,20,25 "d:\wherever\myprog.bat"
This command would run 'myprog.bat' on the 1st, 5th, 10th, 15th, 20th and
25th of each month at 1:00 AM.
Example 3:
at 01:00 /every:M,W,F,Su "d:\wherever\myprog.bat"
This command would run 'myprog.bat' every Monday, Wednesday, Friday and Sunday
at 1:00 AM.
'at' commands issued with the "/every" parameter will be persistent and will
stay in the scheduler database (and therefore be run at the set intervals)
until they are deleted. To delete an event in the at scheduler issue the
following command (after using 'at' alone to determine the ID number):
at ID# /delete
so for a job with ID #45 it would be:
at 45 /delete
And to delete *all* jobs in the at schedule issue:
at /delete
--
Paul Doherty
http://members.home.net/iqueue
DOS/Windows Utilities
Rating : 5
----------------------------------------------------------------------
QAId : 5810234
Asker : petemcevoy
Subject : dhcp,storage
Private : No
Question : Hi,
could you tell me why when i look in the services control panel i see that the
dhcp client is disabled and yet my pc is set for dhcp and seems to be grabbing
an ip address,i'm on a small lan with small business server, also the main file
server on this lan has only 20 meg of space left, i believe there to a lot of
duplicate files stored on it, is there a way i can check this?
Thanks for your time
Pete
Answer : As for your first question I'm not sure why those items are not in
sync, but I've always controlled DHCP for addressing from within the Network
control panel, in the properties for the TCP/IP protocol. That service may do
something other than just get addresses.
As for the second question try this utility for finding duplicate files:
http://softbytelabs.com/files/CloneMaster.exe
--
Paul Doherty
http://members.home.net/iqueue
DOS/Windows Utilities
Rating : 5
----------------------------------------------------------------------
QAId : 6029772
Asker : pa.kinsella@...
Subject : NT4
Private : No
Question : Hi,
I'm trying to setup home directories for users on my NT4 server. Is it possible
to set it up so that when a user logs into a different machine (98 client)
he/she will only see his/her home directory in the drive mappings?
What do I have to do on the server and on the client in order to achieve this?
At present whichever mapping I do when logged into the 98 client seems to remain
permanent no matter who logs in.
The ideal will be that the mappings change to reflect the user with respect to
their home dir
thanks
Pat
Answer : Sure you can. Just make use of the variables that are created when they
login. then use those variables in the login BAT file you store at
\WINNT\SYSTEM32\REPL\IMPORT\SCRIPTS - assign that script name (say login.bat) to
each user you want to use it. Then edit that script to be something like this:
@echo off
net use %HOMEDRIVE% %HOMESHARE%
REM Now map other shares
net use S: \\server\publicshare
The user will use the home drive letter you chose for them in User Manager and
the path to their home directory will be mapped to that letter.
More info can be found here:
http://www.lfchosting.com/helmig/j_helmig/nt4lgscr.htm
--
Paul Doherty
http://members.home.net/iqueue
DOS/Windows Utilities
Rating : 5
FUQuestion : Hi,
"Sure you can. Just make use of the variables that are created when they login.
"
not sure what this means. How do i interrogate the client to discover what these
variables are?
thanks
Pat
Answer : Type:
set
in a DOS prompt to see all the variables defined. The ones like USERNAME, HOME*,
LOGONSERVER, etc are ones you can count on as existing on the client PCs.
--
Paul Doherty
http://members.home.net/iqueue
DOS/Windows Utilities
----------------------------------------------------------------------
QAId : 6456063
Asker : Hai_Hoang
Subject : SuSe Linux
Private : Yes
Question : Hey Paul,
I got SuSe Linux box... when the system bootup.. it would not launch the gui
login interface.. All I got it the prompt login.. once I login from the prompt..
I can type it "startx" then the gui interface load. How do I correct this
issue..
Thanks
Answer : In the future please do not ask technical questions as "private", since
it deprives other readers from benefitting from our interaction, and even
precludes me from finding it later for reference.
Now as to your question...
Quite easily done... what you're seeing is a default runlevel of 3 (multiuser
with network and no GUI). To make your system boot into the GUI you just need to
change the default runlevel to be 5 (multiuser with network and GUI). *Before*
doing that ensure you get the proper results when you issue 'startx' and that
your GUI is working fine. Once it does issue this command as root:
vi /etc/inittab
Then look near the top for a line like this:
id:3:initdefault:
This sets the system's default runlevel at boot. Change the 3 to a 5 and save
with <ESC> :wq <ENTER> and reboot with
shutdown now -r
----------------------------------------------------------------------
QAId : 6525924
Asker : dij
Subject : Winnt 4.0
Private : No
Question : Hi
i am trying to hack winnt 4.0 in the school, absolutly for educations purpose.
i would like to learn how.
I can upload any file there, i installed netbus pro2 there and saw the registry,
but I don't think i could edit it.
I tried to get .SAM file from winnt/system32/config by using netbus's file
manager ,but it didn't work.
Is there anyway i could get .SAM file as just normal user?
Thanks in adv
Answer : If the filesystem is FAT you can bring a DOS bootdisk and copy the file
that way. That is the only way to access it as a user - be outside the OS.
--
Paul Doherty
http://members.home.net/iqueue
DOS/Windows Utilities
Rating : 5
FUQuestion : Could you explain mreo, or give me a link where i can read about
this?
What DOS disk should i bring? startup i use for my windows?
Thank you
Answer : Get to a Windows 95/98/ME machine and make a bootdisk as follows:
OK - Make a boot floppy (on your or another Windows machine) as follows:
Start/Programs/MS-DOS Prompt
(put a blank floppy in the drive)
format a:
c:
cd \
sys a:
copy windows\himem.sys a:\
copy windows\smartdrv.exe a:\
copy windows\command\mscdex.exe a:\
copy windows\command\xcopy*.* a:\
copy windows\command\format.com a:\
copy windows\command\edit.com a:\
copy windows\command\sys.com a:\
Download the following file to A:\
http://members.home.com/iqueue/idecd.sys
Now create a config.sys as follows:
edit a:\config.sys
The config.sys needs the following in it:
device=\himem.sys
device=\idecd.sys /d:cdrom001
Save the config.sys
Now edit A:\AUTOEXEC.BAT and put the following in it:
@echo off
\mscdex.exe /d:cdrom001 /l:f
\smartdrv /n c+ f 4096 4096
Save the file and exit.
Now test the disk and ensure it boots and brings the CD-ROM drive up
successfully as letter F.
--
Paul Doherty
http://members.home.net/iqueue
FUQuestion : Thanks a lot... I'll try that in a sec.
Thanks for step-by-step explonation, but do you know what to do when I put this
disk into the WINNT drive, can you do that step-by-step on how to copy .sam
file?
Thanks a lot!
FUQuestion : Hi again,
You see I am running WinXP on this machine and I have this problem;
When i start ms-dos and paste what you said here what i get
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\d>c:
C:\Documents and Settings\d>cd \
C:\>sys a:
'sys' is not recognized as an internal or external command,
operable program or batch file.
C:\>copy windows\himem.sys a:\
The system cannot find the file specified.
C:\>copy windows\smartdrv.exe a:\
The system cannot find the file specified.
C:\>copy windows\command\mscdex.exe a:\
The system cannot find the file specified.
C:\>copy windows\command\xcopy*.* a:\
windows\command\xcopy*.*
The system cannot find the file specified.
0 file(s) copied.
C:\>copy windows\command\format.com a:\
The system cannot find the file specified.
C:\>copy windows\command\edit.com a:\
The system cannot find the file specified.
C:\>copy windows\command\sys.com a:\
The system cannot find the file specified.
C:\>
Thanks
FUQuestion : I also tried to find these files on my system, by using search, and
I couldn't.
Maybe i could get these files on the internet?
Thanks
Answer : I said Windows 95/98/ME, not XP. :-)
Surely you can find a 95/98/ME machine long enough to create a boot disk? Or you
can just go here:
http://www.bootdisk.com
You said the files you want are at:
winnt/system32/config
So once you're booted off the floppy disk have a blank floppy ready and copy it:
(may need to remove hidden attribute)
attrib -h \winnt\system32\config\*.sam
copy \winnt\system32\config\*.sam a:\
--
Paul Doherty
http://members.home.net/iqueue
DOS/Windows Utilities
FUQuestion : OK
i downloaded this file
(http://support.micronpc.com/Apps/disclaimer.asp?FilePAth=/Support/Bootdisks/nt401.exe&Include=)
It installed on my a drive successfully.
K.. so At winnt i just put disk in a drive and reboot... and wait.. right?
Sorry if I ask too much, just want all the details.
If it's like regular bootdisk i shouldn't have problems with it.
Thanks again for everything.
Answer : That disk should be fine... I would just use one of the 95/98 or DOS
6.2 ones:
http://support.micronpc.com/file_lib/boot.html
You don't need CD support or anything else. Just a DOS command.com and a blank
floppy. Then boot on the disk and perform the copy statements I showed above.
FUQuestion : test
FUQuestion : Hi
i am at this winnt 4.0 (service pack 5) machine.
i downloaded these two files (1st i treid was "Windows 98 SE
Windows 98
Windows 95 OSR2/2.1" and 2nd one
"MS DOS 6.22 w/ Windows 3.11 "
) and upladed them on disk.
1 by one... not both of them
then i kept disk in.. and restarted...
And it said
BOOT: Couldn't find NTLDR
Please insert another disk..
I tried both of them.. and they don't work
What's wrong?
Thanks
Answer : It sounds like you made the boot disks on an XP or NT machine. Make the
boot disks on a 95 or 98 machine per my instructions above.PowerUsers.info - Paul Doherty Askme Archive of Questions and Answers