How to generate Operating system user list from windows server

Hi,
is it possible to extract the following report from windows server, if yes how to do it,
1) Operating system User list from the server along with following details User Name, User Permission, Last Login date, User Status, 
2) is it possible to include staff id, and staff name while creating any Operating system user

Hi FBMUIIa,
Would you please let us know current situation of this issue? Please refer to Mr X’s suggestion and check if
can help you.
Please also refer to following article and check if this script can help you.
List Local
User Accounts Using WMI
In addition, regarding your current requirement, it seems that scripts will help you to achieve the target better.
I suggest that you would post the question in
Official Scripting Guys Forum or
PowerShell Forum. I believe we will get a better assistance there.
Hope this helps.
Best regards,
Justin Gu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Similar Messages

  • How to add operation system user in atable

    oracle 10g and Oracle Enterprise Linux 5.4
    i wouil like to add operation system user name in a oracle table so that i can monitor data in the particular table

    Your question is unclear.
    Check also v$session dynamic performance view may be you can get information from this view which you can pull into your custom table.
    And your query is about finding who is connected then,
    To know about the list of users that is now connected and the time when they connect to database issue the following query.
    SQL> SELECT s.username, s.program, s.logon_time
    FROM v$session s, v$process p, sys.v_$sess_io si
    WHERE s.paddr = p.addr(+)
    AND si.sid(+) = s.sid
    AND s.type = 'USER';
    USERNAME PROGRAM LOGON_TIM
    SAMI sqlplus@testerp (TNS V1-V3) 26-NOV-10
    oracle@testerp (J000) 26-NOV-10
    To know only the current session user name you can issue the following query,
    SQL> SELECT USERNAME from v$session where audsid = sys_context('userenv','sessionid');
    USERNAME
    SAMI
    To know about on which schema you are connecting issue following query.
    SQL> SELECT sys_context('USERENV', 'CURRENT_SCHEMA') FROM dual;
    SYS_CONTEXT('USERENV','CURRENT_SCHEMA')
    SAMI
    To know about the connected user user for the current session issue,
    SQL> SELECT sys_context('USERENV', 'SESSION_USER') FROM dual;
    SYS_CONTEXT('USERENV','SESSION_USER')
    SAMI
    If you use SQL*plus then simply issue,
    SQL> SHOW USER;
    USER is "SAMI"

  • How to install operating system on T61 from recovery folder.

    Hi,
    I bought T61 lenovo laptop on October 2007. It's almost more than one year. I didn't upgrade my warranty due to some reasons.
    Now my system infected with virus. I would like to install operating system (i.e windows XP).
    When I bought this, I didn't receive any operating system Recovery CD. I came to know that...... they provide recovery folder in the system itself. with that recovery we can install operating system.
    Could you pls let me know the path for recovery folder and let me know the installation procedure step by step.
    Thanks in advance
    Raghu

    Restart the computer, When you see the IBM/Lenovo splash screen press the blue Thinkvantage button. From there you can select recover my computer or restore to factory condition (depends on software version). Follow steps to restore.When completed make a set of recovery discs. If possible do this before restoring. The discs will be necessary if something goes wrong.
    To make the discs click Start/Thinkvantage/Create recovery set. (the names vary with XP or Vista)
    T60 2623-D7U, 3 GB Ram. Dual boot XP and Linux Mint.
    T400 2765-T7U Windows 7
    Registered Linux User #160145
    FYI: I am not employed by Lenovo

  • How to get Operating System Space Info from Oracle database using SQL

    Our oracle databases are installed on Unix operating system. Currently our DBA wrote a view to get space info of table spaces and He is requesting me to add Operating system level(file system) drive space info to the same report.
    Can you please let me know the easiest way to get this information to sql table so that it can be used for reporting purposes?

    You should be able to create a shell script with the OS commands to generate the information for the mount points that you want to access in Oracle, then read it in as an external table using the preprocessor feature of external tables:
    http://download.oracle.com/otndocs/products/database/enterprise_edition/utilities/pdf/xtables_preproc11g_1009.pdf

  • Transferring network user files from Windows Server 2003 to Mac OSX 10.5.8

    I'm wondering if any network admins out there have a suggested method of transferring network user files from a Windows Server 2003 to an XServe running 10.5.8?
    When we did the file transfer, clicking and dragging, there were a myriad permissions issues that subsequently arose. Surely there is a way to strip permissions off files PRIOR to the transfer?? Maybe not, but I'm wondering how you folks have done it.
    We have had nothing but persistent permissions issues since the transfer (i.e. folks who should have access to files, being denied access, including the local server admin!!). This also translates to synch errors for network mobile accounts.
    Thanks,
    John Orban
    System Administrator
    The Country School

    http://www.laurentnomine.com/2009/09/invalid-file-handle-when-copying-files-from -os-x-leopard-10-5-to-vista7/

  • How to get logged in user name from windows service c#

    i use the below code to get logged in user name.
    private string GetLoggedInUser()
    string userName = "";
    if (System.Security.Principal.WindowsIdentity.GetCurrent() != null)
    userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
    return userName;
    just do not understand why it is not giving a logged in user name rather it is return data in this format
    NT AUTHORITY\SYSTEM but i want to get user name.
    i try to run my service as Local Service and local system account but in every case i am getting this string
    NT AUTHORITY\SYSTEM instead of logged in user name.
    so please guide me what to change in code. thanks

    System is the account the service is running under.
    There can be none or many interactive users be logged in. What if none or multiple are logged in? Which one are you referring to then?
    Armin

  • How do I create multiple live USBs of Operating systems to boot from on one flashdrive?

    How do I create multiple live USBs of Operating systems to boot from on one flashdrive?
    I am attempting to create multiple live USBs within one flashdrive so that i can boot various operating systems without having to buy multiple USb sticks. I am using a Mac OS X Snow Leopard 10.6.8 Operating System currently. I am using the Terminal provided by the OS.
    I would like to try Debian, Kali, Precise Puppy, and Sabayon- with one space left empty for whatever Linux OS I would like to try next. I have partitioned an 8GB flashdrive into the following sections:
    name of intended OS,     space allocated for it:
    1)Debian ........................1.32 GB
    2)Kali..............................2.61GB
    3)Precise Puppy..............163.7MB
    4)Sabayon.......................1.77GB
    5)TBD..............................2.14GB
    I have figured out how to change the .iso files of the operating systems into .img files with the following commands:
    hdiutil convert -format UDRW /path/to/input.iso -o /path/to/output.img
    a .img.dmg file is created, this is corrected in the next line of code *please note: I am a a very beginner at programming, and would greatly appreciate any help. Thank you!
    mv /path/to/output/file.img{.dmg,}
    This is where I started to get confused:
    I entered diskutil list to find the location of the partitions on my flashdrive, and this is the relevant section:
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     FDisk_partition_scheme                        *8.0 GB     disk1
       1:                 DOS_FAT_32 DEBIAN               1.3 GB     disk1s1
       2:                 DOS_FAT_32 KALI                    2.6 GB     disk1s2
       3:                 DOS_FAT_32 PRECISE            163.7 MB   disk1s3
       4:                 DOS_FAT_32 SABAYON           1.8 GB     disk1s5
       5:                 DOS_FAT_32 TBD                     2.1 GB     disk1s6
    This is the code I attempted to use and the subsequent result:
    charles-burtons-mac-mini:~ charlesburton$ sudo dd if=/Users/charlesburton/Desktop/debian-live-7.2-i386-gnome-desktop.img of=/dev/disk1s1 bs=1m
    dd: /dev/disk1s1: Resource busy
    *at this point I went to the Disk Utility GUi and unmounted only the DEBIAN partition, now back to the terminal*
    charles-burtons-mac-mini:~ charlesburton$ sudo dd if=/Users/charlesburton/Desktop/debian-live-7.2-i386-gnome-desktop.img of=/dev/disk1s1 bs=1m
    dd: /dev/disk1s1: end of device
    1259+0 records in
    1258+1 records out
    1320005632 bytes transferred in 1011.966891 secs (1304396 bytes/sec)
    Please may someone help explain why I had a return value of +1 in my records in and how I can make it work properly.

    I would like to know the answer to this as well.  I tried renaming the 3D version by adding 3D after it, but it still not a separate movie in iTunes.
    It's putting them in the same folder.

  • How to call Operating System commands / external programs from within APEX

    Hi,
    Can someone please suggest how to call Operating Systems commands / external programs from within APEX?
    E.g. say I need to run a SQL script on a particular database. SQL script, database name, userid & password everything is available in a table in Oracle. I want to build a utility in APEX where by when I click a button APEX should run the following
    c:\oracle\bin\sqlplusw.exe userud/password@database @script_name.sql
    Any pointers will be greatly appreciated.
    Thanks & Regards,

    Hi Guys,
    I have reviewed the option of using scheduler and javascript and they do satisfy my requirements PARTIALLY. Any calls to operating system commands through these features will be made on the server where APEX is installed.
    However, here what I am looking at is to call operating systems programs on client machine. For example in my APEX application I have constructed the following strings of commands that needs to be run to execute a change request.
    sqlplusw.exe user/password@database @script1.sql
    sqlplusw.exe user/password@database @script2.sql
    sqlplusw.exe user/password@database @script3.sql
    sqlplusw.exe user/password@database @script4.sql
    What I want is to have a button/link on the APEX screen along with these lines so that when I click that link/button this entire line of command gets executed in the same way it would get executed if I copy and paste this command in the command window of windows.
    Believe me, if I am able to achieve what I intend to do, it is going to save a lot of our DBAs time and effort.
    Any help will be greatly appreciated.
    Thanks & Regards,

  • How do I transfer all my Firefox saved passwords to my new hard drive and operating system? Going from xp to windows 7.

    How do I transfer all my Firefox saved passwords to my new hard drive and operating system? Going from xp to windows 7. I have the old hard drive hooked up as drive f. Can I copy and paste from old drive directory to new drive directory?

    You need to copy 2 files, key3.db and signons.sqlite, from the old [[profiles|profile folder]] to the profile folder on the new computer.

  • How to execute Operating System commands from Stored procedure.

    Any help on how to execute Operating System commands from stored procedures will be appreciated.
    Nanditha.

    Search the forums for 'External Procedure' and you will find example code that has been posted before.

  • Extract user list from NT 4.0 Domain

    Hi All,
    I am in the process of upgrading the NT4 domain to Active Directory.
    Can someone please provide a a way to generate a topology diagram for Windows NT infrastructure. 
    I know this is a very old technology, however i am now handicapped since none of the tools, like (hyena, AD Manager, DS Query, etc) are working. 
    Is there any method to run a topology diagramming similar to Active Directory Topology Diagramming in NT4.0 domain.
    Also i want a way to extract the active user list from NT Domain as well.
    OS version is windows NT 4.0 SP6
    Regards, Triyambak

    Hi Paul, Thank you for reverting it back. I think i do have one of the member server 2003 joined into the NT4 domain. I will surely give it a try. Does it need to be a DC, if yes, how can a DC be promoted in an NT4 environment.
    In my current scenario there are around 2000 servers joined into the NT domain  and I need to upgrade the NT to active directory. There are few things as per the design so far.
    >The members are all static IP addressing
    > there is no DNS in NT so they use a dns suffixes to a different domain (2008 functional level)
    > NT 4 is used only as authentication source.
    > Not sure if there are any NT Domain service accounts configured in the member servers.
    Complex isnt it..

  • How do I run a user account from an external HD?

    How do I run a user account from an external HD? I will be away from my desktop iMac and want to use our MacBook Pro overseas for two months with my iMac user account copied to an external drive.

    1. WARNING: This procedure is for advanced users only. Some third-party software may not work as expected, or may not work at all, if the home folder is moved.
    2. Back up all data.
    3. Copy your home folder to the desired location, which must be on a volume of type "Mac OS Extended (Journaled)" with file ownership enabled, as shown in the Finder Info dialog. Encryption is optional. The volume must be on a local storage device, not on the network, and it must be mounted automatically at startup — before any user logs in. A disk image will not work.
    The name of your home folder is your short user name. Do not rename it. Do not copy the "Users" folder.
    5. Select
     ▹ System Preferences ▹ Users & Groups
    Click the lock icon and authenticate. Right-click or control-click your name in the account list, and select Advanced options from the popup menu. In the sheet that opens, change the location of the home directory. Log out and log back in.
    6. Test. If you have problems, reverse the above steps. If you got this far, you should have no trouble doing that. If everything works as you expect, delete the original home folder.

  • How to generate a report in pdf from a stored proc

    Hi, i need guidance on how to generate a report in pdf from an oracle stored proc.
    The environment is oracle 10gas + 10gdb.
    On a specific event, a PL/SQL stored procedure is called to do some processing and at the end of the processing to generate report which has to be sent to the printer (and optionally previewed by the user).
    Can anyone assist me with this?

    Hi ,
    One 'simple' way is by using the DBMS_SCHEDULER db package and the procedure CREATE_JOB(....) using as job_type the value 'EXECUTABLE'...
    Read for further info in 'PL/SQL Packages and Types Reference'.
    If you have access to OEM ... you can configure this there using wizard.....
    Other way is to use the External Procedure call capabiblity of Oracle DB Server...:
    http://www.oracle.com/pls/db102/ranked?word=external+procedure+call&remark=federated_search
    My greetings,
    Sim

  • HT203175 My Ipod does not sinc with all of my Itunes library, only the first few albums. I recently changed my operating system to XP from Vista, which was a pain, and due to my fault had to reinstate most of my albums and all of the playlists.

    Ipod does not sinc with all of my Itunes library, only the first few albums. I recently changed my operating system to XP from Vista, which was a pain, and due to my fault had to reinstate most of my albums and all of the playlists. How do I get my Ipod to sinc fully when I access Itunes?

    Recover media from iPod
    See this post from forum regular Zevoneer for options on moving your iPod data back to your computer.
    tt2

  • File Permissions on Oracle Directories for other Operating System Users

    Hi,
    I am trying to export the table data to flat file using a pl/sql function using UTL_FILE package and directories created using 'CREATE DIRECTORY' command. The function is called from a stored procedure which in-turn is called from a Java program using JDBC and the Java process runs as different operating system user. The problem for me is the file exported is being written as 'ORACLE' user with 'OINSTALL' group and '-rw-r--r--' linux file permissions. When I try to read this exported file from the java program it throws me a file access error.
    I would like to know if we can specify any additional parameters either in
    1) Database parameter file
    2) UTIL_FILE.FOPEN function
    3) CREATE DIRECTORY command
    so that the files written to the DIRECTORY have a read write access.

    Since you attempting to read the file from Java, you are constrained by the OS.
    Write a stored proc to read the file, since PL/SQL does have the correct permissions to read/write to files.
    P;

Maybe you are looking for

  • Switching to FIOS, want the new high-capacity DVR. How can I guarantee getting one?

    After 12 years I have to say goodbye to Dish because my old oaks are getting too tall and too wide and I don't have a clean line of sight...so I'm switching to FiOS.  I've gotten used to the best DVR in the industry, and I understand that there are n

  • BAPI_ACC_DOCUMENT_POSToverwriting BSEG-KUNNR

    I am calling BAPI_ACC_DOCUMENT_POST from an Excel application.  In the resulting FI/GL document in R3, the first 10 characters of the line item text, BSEG-SGTXT is being populated in the customer number, BSEG-KUNNR.   Has anyone else had a similar ex

  • IP over Thunderbolt on Mavericks

    From the recent press release on Mavericks: A new self-configuring IP over Thunderbolt software feature in OS X Mavericks provides a fast link between Thunderbolt-enabled Macs. I can't find any further description of this in their website or a KB art

  • Dynamic Table not working.

    I have an issue with Dynamic Table. I am working on Offline Interactive Form. From transaction SFP I designed my form with dynamic row functionality. In preview screen I am able to add or remove rows but when  I generate the pdf file using the functi

  • REACh Implementation using SAP Best Practices for Chemicals

    Hello, We are working on implementation of SAP REACh Compliance in to Best Practices for Chemicals. Currently we are extending the Best Practices scenario for "SVT" to  cover REACh Compliance. Do we have a preconfigured scenario available with list o